djinn-lib-0.0.1.2: Generate Haskell code from a type. Library extracted from djinn package.

Safe HaskellSafe
LanguageHaskell98

Djinn.HTypes

Documentation

data HKind #

Constructors

KStar 
KArrow HKind HKind 
KVar Int 

Instances

Eq HKind # 

Methods

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

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

Show HKind # 

Methods

showsPrec :: Int -> HKind -> ShowS #

show :: HKind -> String #

showList :: [HKind] -> ShowS #

data HClause #

Constructors

HClause HSymbol [HPat] HExpr 

Instances

data HPat #

Instances

Eq HPat # 

Methods

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

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

Show HPat # 

Methods

showsPrec :: Int -> HPat -> ShowS #

show :: HPat -> String #

showList :: [HPat] -> ShowS #

data HExpr #

Instances

Eq HExpr # 

Methods

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

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

Show HExpr # 

Methods

showsPrec :: Int -> HExpr -> ShowS #

show :: HExpr -> String #

showList :: [HExpr] -> ShowS #