curry-frontend-0.2.5: Compile the functional logic language Curry to several intermediate formatsSource codeContentsIndex
Base
Documentation
toQualType :: ModuleIdent -> [Ident] -> TypeExpr -> TypeSource
toQualTypes :: ModuleIdent -> [Ident] -> [TypeExpr] -> [Type]Source
toType :: [Ident] -> TypeExpr -> TypeSource
toTypes :: [Ident] -> [TypeExpr] -> [Type]Source
toType' :: Map Ident Int -> TypeExpr -> TypeSource
fromQualType :: ModuleIdent -> Type -> TypeExprSource
fromType :: Type -> TypeExprSource
type ModuleEnv = Map ModuleIdent [IDecl]Source
lookupModule :: ModuleIdent -> ModuleEnv -> Maybe [IDecl]Source
data TypeInfo Source
Constructors
DataType QualIdent Int [Maybe (Data [Type])]
RenamingType QualIdent Int (Data Type)
AliasType QualIdent Int Type
show/hide Instances
data Data a Source
Constructors
Data Ident Int a
show/hide Instances
Show a => Show (Data a)
tcArity :: TypeInfo -> IntSource
type TCEnv = TopEnv TypeInfoSource
bindTypeInfo :: (QualIdent -> Int -> a -> TypeInfo) -> ModuleIdent -> Ident -> [Ident] -> a -> TCEnv -> TCEnvSource
lookupTC :: Ident -> TCEnv -> [TypeInfo]Source
qualLookupTC :: QualIdent -> TCEnv -> [TypeInfo]Source
lookupTupleTC :: Ident -> [TypeInfo]Source
tupleTCs :: [TypeInfo]Source
tupleData :: [Data [Type]]Source
data ValueInfo Source
Constructors
DataConstructor QualIdent ExistTypeScheme
NewtypeConstructor QualIdent ExistTypeScheme
Value QualIdent TypeScheme
Label QualIdent QualIdent TypeScheme
show/hide Instances
type ValueEnv = TopEnv ValueInfoSource
bindGlobalInfo :: (QualIdent -> a -> ValueInfo) -> ModuleIdent -> Ident -> a -> ValueEnv -> ValueEnvSource
bindFun :: ModuleIdent -> Ident -> TypeScheme -> ValueEnv -> ValueEnvSource
rebindFun :: ModuleIdent -> Ident -> TypeScheme -> ValueEnv -> ValueEnvSource
bindLabel :: Ident -> QualIdent -> TypeScheme -> ValueEnv -> ValueEnvSource
lookupValue :: Ident -> ValueEnv -> [ValueInfo]Source
qualLookupValue :: QualIdent -> ValueEnv -> [ValueInfo]Source
qualLookupCons :: QualIdent -> ValueEnv -> [ValueInfo]Source
lookupTuple :: Ident -> [ValueInfo]Source
tupleDCs :: [ValueInfo]Source
type ArityEnv = TopEnv ArityInfoSource
data ArityInfo Source
Constructors
ArityInfo QualIdent Int
show/hide Instances
bindArity :: ModuleIdent -> Ident -> Int -> ArityEnv -> ArityEnvSource
lookupArity :: Ident -> ArityEnv -> [ArityInfo]Source
qualLookupArity :: QualIdent -> ArityEnv -> [ArityInfo]Source
qualLookupConsArity :: QualIdent -> ArityEnv -> [ArityInfo]Source
lookupTupleArity :: Ident -> [ArityInfo]Source
type ImportEnv = Map ModuleIdent ModuleIdentSource
bindAlias :: Decl -> ImportEnv -> ImportEnvSource
lookupAlias :: ModuleIdent -> ImportEnv -> Maybe ModuleIdentSource
sureLookupAlias :: ModuleIdent -> ImportEnv -> ModuleIdentSource
data OpPrec Source
Constructors
OpPrec Infix Integer
show/hide Instances
defaultP :: OpPrecSource
data PrecInfo Source
Constructors
PrecInfo QualIdent OpPrec
show/hide Instances
type PEnv = TopEnv PrecInfoSource
bindP :: ModuleIdent -> Ident -> OpPrec -> PEnv -> PEnvSource
lookupP :: Ident -> PEnv -> [PrecInfo]Source
qualLookupP :: QualIdent -> PEnv -> [PrecInfo]Source
type EvalEnv = Map Ident EvalAnnotationSource
initPEnv :: PEnvSource
initTCEnv :: TCEnvSource
initDCEnv :: ValueEnvSource
initAEnv :: ArityEnvSource
initIEnv :: ImportEnvSource
predefTypes :: [(Type, [Data [Type]])]Source
errorAt :: Position -> String -> aSource
errorAt' :: (Position, String) -> aSource
internalError :: String -> aSource
nameSupply :: [Ident]Source
findDouble :: Eq a => [a] -> Maybe aSource
Produced by Haddock version 2.4.2