sifflet-lib-1.0: Library of modules shared by sifflet and its tests and its exporters.Source codeContentsIndex
Sifflet.Examples
Synopsis
exampleFunctions :: [Function]
exampleFunctionNames :: [String]
exampleEnv :: Env
foo :: Function
eFoo :: Expr -> Expr -> Expr
eMax :: Expr -> Expr -> Expr
eFact :: Expr -> Expr
getExampleFunction :: String -> Function
Documentation
exampleFunctions :: [Function]Source
exampleFunctionNames :: [String]Source
exampleEnv :: EnvSource
foo :: FunctionSource
foo a b = 2 * a + b
eFoo :: Expr -> Expr -> ExprSource
An expression representing a call to foo
eMax :: Expr -> Expr -> ExprSource
An expression representing a call to max
eFact :: Expr -> ExprSource
An expression representing a call to fact
getExampleFunction :: String -> FunctionSource
This function will be in error if the function name is not found in exampleEnv.
Produced by Haddock version 2.6.1