Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
This module contains the Coq identifiers of types, constructors and functions defined in the Base library that accompanies the compiler.
Synopsis
- imports :: Sentence
- baseLibName :: ModuleIdent
- generatedLibName :: ModuleIdent
- free :: Qualid
- shape :: Qualid
- pos :: Qualid
- idShape :: Qualid
- idPos :: Qualid
- freePureCon :: Qualid
- freeImpureCon :: Qualid
- freeBind :: Qualid
- freeArgs :: [(Qualid, Term)]
- shapeIdent :: Ident
- posIdent :: Ident
- forFree :: Qualid
- partial :: Qualid
- partialArg :: Qualid
- partialUndefined :: Qualid
- partialError :: Qualid
- traceable :: Qualid
- traceableArg :: Qualid
- trace :: Qualid
- nonDet :: Qualid
- nonDetArg :: Qualid
- qualifiedSmartConstructorModule :: Ident
- strategy :: Qualid
- strategyArg :: Qualid
- strategyBinder :: Binder
- shareableArgs :: Qualid
- shareableArgsBinder :: Qualid -> Binder
- shareArgs :: Qualid
- normalform :: Qualid
- normalformBinder :: Qualid -> Binder
- nf' :: Qualid
- nf :: Qualid
- nType :: Qualid
- implicitArg :: Term
- share :: Qualid
- shareWith :: Qualid
- selectExplicitArgs :: Effect -> [Term]
- selectImplicitArgs :: Effect -> [Term]
- selectTypedImplicitArgs :: Effect -> Int -> [Term]
- selectBinders :: Effect -> [Binder]
- selectTypedBinders :: Effect -> [Qualid] -> [Binder]
- integerScope :: Ident
- stringScope :: Ident
- proveInd :: Qualid
- reservedIdents :: [Qualid]
Base Library Import
baseLibName :: ModuleIdent Source #
The name of the Base Coq library.
generatedLibName :: ModuleIdent Source #
The name of the Coq library where generated Coq files are placed.
Free Monad
freePureCon :: Qualid Source #
The Coq identifier for the pure
constructor of the Free
monad.
freeImpureCon :: Qualid Source #
The Coq identifier for the impure
constructor of the Free
monad.
freeArgs :: [(Qualid, Term)] Source #
The names and types of the parameters that must be passed to the Free
monad. These parameters are added automatically to every defined type and
function.
shapeIdent :: Ident Source #
Like shape
but not wrapped in a Bare
constructor.
Partiality
partialArg :: Qualid Source #
The Coq identifier for the argument of the Partial
type class.
partialUndefined :: Qualid Source #
The identifier for the error term undefined
.
partialError :: Qualid Source #
The identifier for the error term error
.
Tracing
traceableArg :: Qualid Source #
The Coq identifier for the argument of the Traceable
type class.
Non-Determinism
Modules
qualifiedSmartConstructorModule :: Ident Source #
The name of the local module, where qualified smart constructor notations are defined.
Sharing
strategyArg :: Qualid Source #
The Coq identifier for the argument of the Strategy
type class.
strategyBinder :: Binder Source #
shareableArgs :: Qualid Source #
The Coq identifier for the ShareableArgs
type class.
shareableArgsBinder :: Qualid -> Binder Source #
The Coq binder for the ShareableArgs
type class with the type variable
with the given name.
normalform :: Qualid Source #
The Coq identifier for the Normalform
type class.
normalformBinder :: Qualid -> Binder Source #
The Coq binder for the Normalform
type class with the source and target
type variable with the given names.
implicitArg :: Term Source #
The Coq identifier for an implicit argument.
Effect Selection
selectExplicitArgs :: Effect -> [Term] Source #
Selects the correct explicit function arguments for the given effect.
selectImplicitArgs :: Effect -> [Term] Source #
Selects the correct implicit function arguments for the given effect.
selectTypedImplicitArgs :: Effect -> Int -> [Term] Source #
Like selectImplicitArgs
but the arguments have to be inserted after
the type arguments the specified number of times.
selectBinders :: Effect -> [Binder] Source #
Selects the correct binder for the given effect.
selectTypedBinders :: Effect -> [Qualid] -> [Binder] Source #
Like selectBinders
but the binders are dependent on the type variables
with the given names.
Literal Scopes
integerScope :: Ident Source #
The scope of integer literals.
stringScope :: Ident Source #
The scope of string literals used in error
terms.
Tactics
Reserved Identifiers
reservedIdents :: [Qualid] Source #
All Coq identifiers that are reserved for the Base library.
This does only include identifiers without corresponding Haskell name.