free-compiler-0.3.0.0: A Haskell to Coq compiler.

Safe HaskellNone
LanguageHaskell2010

FreeC.Backend.Agda.Base

Contents

Description

This module contains the Agda identifiers of types, constructors and functions defined in the Base library that accompanies the compiler.

Synopsis

Library Imports

baseLibName :: Name Source #

The name of the Agda Base library.

generatedLibName :: Name Source #

The name of the Agda library where generated Agda files are placed.

imports :: [Declaration] Source #

Import declaration for the Free and partial modules from the Base Agda base library.

Free Monad

free :: Name Source #

Identifier for the Free monad.

pure :: Name Source #

Identifier for the pure constructor of the Free monad.

shape :: Name Source #

Reserved name for the Shape type variable.

position :: Name Source #

Reserved name for the Pos type variable.

partial :: Name Source #

Reserved name for the Partial type class.

Sized Types

size :: Name Source #

The name of Agda's Size data type.

Size

up :: Name Source #

The Name of the Agda function for larger Size.

Reserved Identifiers

reservedIdents :: [Name] Source #

All Agda identifiers that are reserved for the Base library.

This does only include identifiers without corresponding Haskell name.