Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Haxible.Normalize
Description
This module is the core of Haxible.
Synopsis
- normalizePlaybook :: [Play] -> [Definition]
- data Definition = Definition {}
- data Expr = Expr {}
- data Term
- data CallModule = CallModule {}
- data CallDefinition = CallDefinition {}
- data Origin
- data Requirement = Requirement {}
Documentation
normalizePlaybook :: [Play] -> [Definition] Source #
Transform a list of Play
into a list of Definition
.
data Definition Source #
A definition is like a function, to represent a play, a role, or a list of tasks.
Constructors
Definition | |
Instances
Show Definition Source # | |
Defined in Haxible.Normalize Methods showsPrec :: Int -> Definition -> ShowS # show :: Definition -> String # showList :: [Definition] -> ShowS # | |
Eq Definition Source # | |
Defined in Haxible.Normalize |
An expression is a single instruction.
Constructors
Expr | |
A term is the expression value.
data CallModule Source #
Instances
Show CallModule Source # | |
Defined in Haxible.Normalize Methods showsPrec :: Int -> CallModule -> ShowS # show :: CallModule -> String # showList :: [CallModule] -> ShowS # | |
Eq CallModule Source # | |
Defined in Haxible.Normalize |
data CallDefinition Source #
Instances
Show CallDefinition Source # | |
Defined in Haxible.Normalize Methods showsPrec :: Int -> CallDefinition -> ShowS # show :: CallDefinition -> String # showList :: [CallDefinition] -> ShowS # | |
Eq CallDefinition Source # | |
Defined in Haxible.Normalize Methods (==) :: CallDefinition -> CallDefinition -> Bool # (/=) :: CallDefinition -> CallDefinition -> Bool # |
data Requirement Source #
The requirements indicates what binders are used by an expression.
Constructors
Requirement | |
Instances
Show Requirement Source # | |
Defined in Haxible.Normalize Methods showsPrec :: Int -> Requirement -> ShowS # show :: Requirement -> String # showList :: [Requirement] -> ShowS # | |
Eq Requirement Source # | |
Defined in Haxible.Normalize |