phino-0.0.0: Command-Line Manipulator of 𝜑-Calculus Expressions
Safe HaskellSafe-Inferred
LanguageHaskell2010

AST

Documentation

data Slot Source #

Constructors

Slot Text Int 

Instances

Instances details
Show Slot Source # 
Instance details

Defined in AST

Methods

showsPrec :: Int -> Slot -> ShowS #

show :: Slot -> String #

showList :: [Slot] -> ShowS #

Eq Slot Source # 
Instance details

Defined in AST

Methods

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

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

Ord Slot Source # 
Instance details

Defined in AST

Methods

compare :: Slot -> Slot -> Ordering #

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

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

(>) :: Slot -> Slot -> Bool #

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

max :: Slot -> Slot -> Slot #

min :: Slot -> Slot -> Slot #

Metas Slot Source # 
Instance details

Defined in Metas

Methods

metas :: Slot -> [Text] Source #

bare :: [Text] -> Slot -> Slot Source #

data Expression Source #

Bundled Patterns

pattern ExFormation :: [Binding] -> Expression 
pattern ExApplication :: Expression -> Argument -> Expression 
pattern ExDispatch :: Expression -> Attribute -> Expression 

Instances

Instances details
Show Expression Source # 
Instance details

Defined in AST

Eq Expression Source # 
Instance details

Defined in AST

Ord Expression Source # 
Instance details

Defined in AST

Metas Expression Source # 
Instance details

Defined in Metas

Slots Expression Source # 
Instance details

Defined in Slots

Methods

slots :: Expression -> [Slot] Source #

FromJSON Expression Source # 
Instance details

Defined in Yaml

ToCST Expression EXPRESSION Source # 
Instance details

Defined in CST

ToCST [Expression] APP_ARG Source # 
Instance details

Defined in CST

Methods

toCST :: [Expression] -> (Int, EOL) -> APP_ARG Source #

ToCST [Expression] APP_ARGS Source # 
Instance details

Defined in CST

Methods

toCST :: [Expression] -> (Int, EOL) -> APP_ARGS Source #

data Argument Source #

Instances

Instances details
Generic Argument Source # 
Instance details

Defined in AST

Associated Types

type Rep Argument :: Type -> Type #

Methods

from :: Argument -> Rep Argument x #

to :: Rep Argument x -> Argument #

Show Argument Source # 
Instance details

Defined in AST

Eq Argument Source # 
Instance details

Defined in AST

Ord Argument Source # 
Instance details

Defined in AST

Metas Argument Source # 
Instance details

Defined in Metas

Slots Argument Source # 
Instance details

Defined in Slots

Methods

slots :: Argument -> [Slot] Source #

ToCST Argument PAIR Source # 
Instance details

Defined in CST

Methods

toCST :: Argument -> (Int, EOL) -> PAIR Source #

ToCST [Argument] BINDING Source # 
Instance details

Defined in CST

Methods

toCST :: [Argument] -> (Int, EOL) -> BINDING Source #

ToCST [Argument] BINDINGS Source # 
Instance details

Defined in CST

Methods

toCST :: [Argument] -> (Int, EOL) -> BINDINGS Source #

type Rep Argument Source # 
Instance details

Defined in AST

data Alpha Source #

Constructors

Alpha Int 
AlMeta Text 
AlAny Slot 

Instances

Instances details
Generic Alpha Source # 
Instance details

Defined in AST

Associated Types

type Rep Alpha :: Type -> Type #

Methods

from :: Alpha -> Rep Alpha x #

to :: Rep Alpha x -> Alpha #

Show Alpha Source # 
Instance details

Defined in AST

Methods

showsPrec :: Int -> Alpha -> ShowS #

show :: Alpha -> String #

showList :: [Alpha] -> ShowS #

Eq Alpha Source # 
Instance details

Defined in AST

Methods

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

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

Ord Alpha Source # 
Instance details

Defined in AST

Methods

compare :: Alpha -> Alpha -> Ordering #

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

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

(>) :: Alpha -> Alpha -> Bool #

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

max :: Alpha -> Alpha -> Alpha #

min :: Alpha -> Alpha -> Alpha #

Metas Alpha Source # 
Instance details

Defined in Metas

Methods

metas :: Alpha -> [Text] Source #

bare :: [Text] -> Alpha -> Alpha Source #

Slots Alpha Source # 
Instance details

Defined in Slots

Methods

slots :: Alpha -> [Slot] Source #

FromJSON Alpha Source # 
Instance details

Defined in Yaml

ToCST Alpha ALPHA Source # 
Instance details

Defined in CST

Methods

toCST :: Alpha -> (Int, EOL) -> ALPHA Source #

type Rep Alpha Source # 
Instance details

Defined in AST

data Binding Source #

Instances

Instances details
Generic Binding Source # 
Instance details

Defined in AST

Associated Types

type Rep Binding :: Type -> Type #

Methods

from :: Binding -> Rep Binding x #

to :: Rep Binding x -> Binding #

Show Binding Source # 
Instance details

Defined in AST

Eq Binding Source # 
Instance details

Defined in AST

Methods

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

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

Ord Binding Source # 
Instance details

Defined in AST

Metas Binding Source # 
Instance details

Defined in Metas

Methods

metas :: Binding -> [Text] Source #

bare :: [Text] -> Binding -> Binding Source #

Slots Binding Source # 
Instance details

Defined in Slots

Methods

slots :: Binding -> [Slot] Source #

FromJSON Binding Source # 
Instance details

Defined in Yaml

ToCST Binding APP_BINDING Source # 
Instance details

Defined in CST

Methods

toCST :: Binding -> (Int, EOL) -> APP_BINDING Source #

ToCST Binding PAIR Source # 
Instance details

Defined in CST

Methods

toCST :: Binding -> (Int, EOL) -> PAIR Source #

ToCST [Binding] BINDING Source # 
Instance details

Defined in CST

Methods

toCST :: [Binding] -> (Int, EOL) -> BINDING Source #

ToCST [Binding] BINDINGS Source # 
Instance details

Defined in CST

Methods

toCST :: [Binding] -> (Int, EOL) -> BINDINGS Source #

type Rep Binding Source # 
Instance details

Defined in AST

data Bytes Source #

Instances

Instances details
Generic Bytes Source # 
Instance details

Defined in AST

Associated Types

type Rep Bytes :: Type -> Type #

Methods

from :: Bytes -> Rep Bytes x #

to :: Rep Bytes x -> Bytes #

Show Bytes Source # 
Instance details

Defined in AST

Methods

showsPrec :: Int -> Bytes -> ShowS #

show :: Bytes -> String #

showList :: [Bytes] -> ShowS #

Eq Bytes Source # 
Instance details

Defined in AST

Methods

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

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

Ord Bytes Source # 
Instance details

Defined in AST

Methods

compare :: Bytes -> Bytes -> Ordering #

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

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

(>) :: Bytes -> Bytes -> Bool #

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

max :: Bytes -> Bytes -> Bytes #

min :: Bytes -> Bytes -> Bytes #

Metas Bytes Source # 
Instance details

Defined in Metas

Methods

metas :: Bytes -> [Text] Source #

bare :: [Text] -> Bytes -> Bytes Source #

Slots Bytes Source # 
Instance details

Defined in Slots

Methods

slots :: Bytes -> [Slot] Source #

FromJSON Bytes Source # 
Instance details

Defined in Yaml

ToCST Bytes BYTES Source # 
Instance details

Defined in CST

Methods

toCST :: Bytes -> (Int, EOL) -> BYTES Source #

type Rep Bytes Source # 
Instance details

Defined in AST

data Attribute Source #

Instances

Instances details
Generic Attribute Source # 
Instance details

Defined in AST

Associated Types

type Rep Attribute :: Type -> Type #

Show Attribute Source # 
Instance details

Defined in AST

Eq Attribute Source # 
Instance details

Defined in AST

Ord Attribute Source # 
Instance details

Defined in AST

Metas Attribute Source # 
Instance details

Defined in Metas

Slots Attribute Source # 
Instance details

Defined in Slots

Methods

slots :: Attribute -> [Slot] Source #

FromJSON Attribute Source # 
Instance details

Defined in Yaml

ToCST Attribute ATTRIBUTE Source # 
Instance details

Defined in CST

Methods

toCST :: Attribute -> (Int, EOL) -> ATTRIBUTE Source #

type Rep Attribute Source # 
Instance details

Defined in AST

data Function Source #

Instances

Instances details
Generic Function Source # 
Instance details

Defined in AST

Associated Types

type Rep Function :: Type -> Type #

Methods

from :: Function -> Rep Function x #

to :: Rep Function x -> Function #

Show Function Source # 
Instance details

Defined in AST

Eq Function Source # 
Instance details

Defined in AST

Ord Function Source # 
Instance details

Defined in AST

Metas Function Source # 
Instance details

Defined in Metas

Slots Function Source # 
Instance details

Defined in Slots

Methods

slots :: Function -> [Slot] Source #

type Rep Function Source # 
Instance details

Defined in AST