axel-0.0.5: The Axel programming language.

Safe HaskellNone
LanguageHaskell2010

Axel.Parse.AST

Contents

Synopsis

Documentation

data Expression Source #

Instances
Eq Expression Source # 
Instance details

Defined in Axel.Parse.AST

Show Expression Source # 
Instance details

Defined in Axel.Parse.AST

ToExpressionList Expression Source #

Because we do not have a way to statically ensure an SExpression is passed (and not another one of Expression's constructors instead), we will error at compile-time if a macro attempts to splice-unquote inappropriately.

Instance details

Defined in Axel.Parse.AST

Recursive Expression Source # 
Instance details

Defined in Axel.Parse

ToExpressionList [Expression] Source # 
Instance details

Defined in Axel.Parse.AST

class ToExpressionList a where Source #

This allows splice-unquoting of both `[Expression]`s and SExpressions, without requiring special syntax for each.

Minimal complete definition

toExpressionList

Instances
ToExpressionList Expression Source #

Because we do not have a way to statically ensure an SExpression is passed (and not another one of Expression's constructors instead), we will error at compile-time if a macro attempts to splice-unquote inappropriately.

Instance details

Defined in Axel.Parse.AST

ToExpressionList [Expression] Source # 
Instance details

Defined in Axel.Parse.AST