Fixed the conflict between the new AST documentation and the addition of the Rain ForEach constructor in the AST
This commit is contained in:
parent
d574ec8e3d
commit
151134e70a
11
AST.hs
11
AST.hs
|
@ -259,8 +259,15 @@ data OutputItem =
|
|||
| OutExpression Meta Expression
|
||||
deriving (Show, Eq, Typeable, Data)
|
||||
|
||||
-- | The Name names the replicator index, the first expression is the base and the second expression is the FOR
|
||||
data Replicator = For Meta Name Expression Expression
|
||||
-- | A replicator.
|
||||
data Replicator =
|
||||
-- | The 'Name' names the replicator index, the first expression is the base and
|
||||
-- the second expression is the count.
|
||||
-- (In the future this will have additional constructors for stepped replicators.)
|
||||
For Meta Name Expression Expression
|
||||
-- | Rain addition.
|
||||
-- The 'Name' names the loop variable and the expression is the list to iterate over
|
||||
| ForEach Meta Name Expression
|
||||
deriving (Show, Eq, Typeable, Data)
|
||||
|
||||
-- | A choice in an @IF@ process.
|
||||
|
|
Loading…
Reference in New Issue
Block a user