hwhile-0.1.1.0: An implementation of Neil D. Jones' While language

Safe HaskellSafe
LanguageHaskell2010

PureSyntax

Documentation

newtype Name Source #

Constructors

Name (FilePath, String) 

Instances

Eq Name Source # 

Methods

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

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

Ord Name Source # 

Methods

compare :: Name -> Name -> Ordering #

(<) :: Name -> Name -> Bool #

(<=) :: Name -> Name -> Bool #

(>) :: Name -> Name -> Bool #

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

max :: Name -> Name -> Name #

min :: Name -> Name -> Name #

Show Name Source # 

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

data ETree Source #

Constructors

ECons ETree ETree 
ENil 

Instances

Eq ETree Source # 

Methods

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

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

Ord ETree Source # 

Methods

compare :: ETree -> ETree -> Ordering #

(<) :: ETree -> ETree -> Bool #

(<=) :: ETree -> ETree -> Bool #

(>) :: ETree -> ETree -> Bool #

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

max :: ETree -> ETree -> ETree #

min :: ETree -> ETree -> ETree #

Show ETree Source # 

Methods

showsPrec :: Int -> ETree -> ShowS #

show :: ETree -> String #

showList :: [ETree] -> ShowS #