sifflet-lib-2.0.0.0: Library of modules shared by sifflet and its tests and its exporters.

Safe HaskellSafe-Infered

Language.Sifflet.ExprTree

Synopsis

Documentation

type ExprTree = Tree ExprNodeSource

EXPRESSION TREES For pure Sifflet, so not defined for extended expressions.

exprNodeIoletCounter :: Env -> [ArgSpec] -> IoletCounter ExprNodeSource

Counts the number of inlets and outlets for an ExprNode

treeToExpr :: ExprTree -> SuccFail ExprSource

Convert an expression tree (back) to an expression It will not give back the *same* expression in the case of an EList.