Download Manual
Transcript
constructors :: CurryProg → [CConsDecl] Returns all constructors of given curry program. types :: CurryProg → [CTypeDecl] Returns the type declarations of a given curry program. publicFuncNames :: CurryProg → [(String,String)] Returns the names of all visible functions in given curry program. publicConsNames :: CurryProg → [(String,String)] Returns the names of all visible constructors in given curry program. publicTypeNames :: CurryProg → [(String,String)] Returns the names of all visible types in given curry program. typeName :: CTypeDecl → (String,String) Returns the name of a given type declaration typeVis :: CTypeDecl → CVisibility Returns the visibility of a given type declaration typeCons :: CTypeDecl → [CConsDecl] Returns the constructors of a given type declaration. consName :: CConsDecl → (String,String) Returns the name of a given constructor declaration. consVis :: CConsDecl → CVisibility Returns the visibility of a given constructor declaration. isBaseType :: CTypeExpr → Bool Returns true if the type expression is a base type. isPolyType :: CTypeExpr → Bool Returns true if the type expression contains type variables. isFunctionalType :: CTypeExpr → Bool Returns true if the type expression is a functional type. isIOType :: CTypeExpr → Bool Returns true if the type expression is (IO t). 247