djinn-lib-0.0.1.4: Generate Haskell code from a type. Library extracted from djinn package.
Safe HaskellSafe-Inferred
LanguageHaskell98

Djinn.HTypes

Documentation

data HKind Source #

Constructors

KStar 
KArrow HKind HKind 
KVar Int 

Instances

Instances details
Show HKind Source # 
Instance details

Defined in Djinn.HTypes

Methods

showsPrec :: Int -> HKind -> ShowS

show :: HKind -> String

showList :: [HKind] -> ShowS

Eq HKind Source # 
Instance details

Defined in Djinn.HTypes

Methods

(==) :: HKind -> HKind -> Bool

(/=) :: HKind -> HKind -> Bool

data HType Source #

Instances

Instances details
Read HType Source # 
Instance details

Defined in Djinn.HTypes

Methods

readsPrec :: Int -> ReadS HType

readList :: ReadS [HType]

readPrec :: ReadPrec HType

readListPrec :: ReadPrec [HType]

Show HType Source # 
Instance details

Defined in Djinn.HTypes

Methods

showsPrec :: Int -> HType -> ShowS

show :: HType -> String

showList :: [HType] -> ShowS

Eq HType Source # 
Instance details

Defined in Djinn.HTypes

Methods

(==) :: HType -> HType -> Bool

(/=) :: HType -> HType -> Bool

type HSymbol = String Source #

pHSymbol :: Bool -> ReadP HSymbol Source #

pHType :: ReadP HType Source #

pHKind :: ReadP HKind Source #

isHTUnion :: HType -> Bool Source #

data HClause Source #

Constructors

HClause HSymbol [HPat] HExpr 

Instances

Instances details
Show HClause Source # 
Instance details

Defined in Djinn.HTypes

Methods

showsPrec :: Int -> HClause -> ShowS

show :: HClause -> String

showList :: [HClause] -> ShowS

Eq HClause Source # 
Instance details

Defined in Djinn.HTypes

Methods

(==) :: HClause -> HClause -> Bool

(/=) :: HClause -> HClause -> Bool

data HPat Source #

Instances

Instances details
Show HPat Source # 
Instance details

Defined in Djinn.HTypes

Methods

showsPrec :: Int -> HPat -> ShowS

show :: HPat -> String

showList :: [HPat] -> ShowS

Eq HPat Source # 
Instance details

Defined in Djinn.HTypes

Methods

(==) :: HPat -> HPat -> Bool

(/=) :: HPat -> HPat -> Bool

data HExpr Source #

Instances

Instances details
Show HExpr Source # 
Instance details

Defined in Djinn.HTypes

Methods

showsPrec :: Int -> HExpr -> ShowS

show :: HExpr -> String

showList :: [HExpr] -> ShowS

Eq HExpr Source # 
Instance details

Defined in Djinn.HTypes

Methods

(==) :: HExpr -> HExpr -> Bool

(/=) :: HExpr -> HExpr -> Bool

hPrClause :: HClause -> String Source #

hPrExpr :: HExpr -> String Source #