show-0.3.1: 'Show' instances for Lambdabot

Portabilityportable
Stabilityexperimental
Maintainertwanvl@gmail.com

SimpleReflect

Description

Simple reflection of Haskell expressions containing variables.

Synopsis

Documentation

var :: String -> ExprSource

A variable

fun :: FromExpr a => String -> aSource

expr :: Expr -> ExprSource

Force something to be an expression

reduce :: Expr -> ExprSource

Reduce (evaluate) an expression once for example 1 + 2 + 3 + 4 ==> 3 + 3 + 4

f :: FromExpr a => aSource

g :: FromExpr a => aSource

h :: FromExpr a => aSource