curry-base-1.0.0: Functions for manipulating Curry programs

Copyright(c) 2016 - 2017 Finn Teegen
LicenseBSD-3-clause
Maintainerbjp@informatik.uni-kiel.de
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Curry.FlatCurry.Annotated.Type

Description

TODO

Documentation

data AProg a Source #

Constructors

AProg String [String] [TypeDecl] [AFuncDecl a] [OpDecl] 

Instances

Eq a => Eq (AProg a) Source # 

Methods

(==) :: AProg a -> AProg a -> Bool #

(/=) :: AProg a -> AProg a -> Bool #

Read a => Read (AProg a) Source # 
Show a => Show (AProg a) Source # 

Methods

showsPrec :: Int -> AProg a -> ShowS #

show :: AProg a -> String #

showList :: [AProg a] -> ShowS #

data ARule a Source #

Constructors

ARule a [(VarIndex, a)] (AExpr a) 
AExternal a String 

Instances

Eq a => Eq (ARule a) Source # 

Methods

(==) :: ARule a -> ARule a -> Bool #

(/=) :: ARule a -> ARule a -> Bool #

Read a => Read (ARule a) Source # 
Show a => Show (ARule a) Source # 

Methods

showsPrec :: Int -> ARule a -> ShowS #

show :: ARule a -> String #

showList :: [ARule a] -> ShowS #

data AExpr a Source #

Constructors

AVar a VarIndex 
ALit a Literal 
AComb a CombType (QName, a) [AExpr a] 
ALet a [((VarIndex, a), AExpr a)] (AExpr a) 
AFree a [(VarIndex, a)] (AExpr a) 
AOr a (AExpr a) (AExpr a) 
ACase a CaseType (AExpr a) [ABranchExpr a] 
ATyped a (AExpr a) TypeExpr 

Instances

Eq a => Eq (AExpr a) Source # 

Methods

(==) :: AExpr a -> AExpr a -> Bool #

(/=) :: AExpr a -> AExpr a -> Bool #

Read a => Read (AExpr a) Source # 
Show a => Show (AExpr a) Source # 

Methods

showsPrec :: Int -> AExpr a -> ShowS #

show :: AExpr a -> String #

showList :: [AExpr a] -> ShowS #

Typeable a => Typeable (AExpr a) Source # 

Methods

typeOf :: AExpr a -> TypeExpr Source #

data APattern a Source #

Constructors

APattern a (QName, a) [(VarIndex, a)] 
ALPattern a Literal 

Instances