Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
litsAtTopLevel :: Expr -> Bool Source
Recursively checks to see if all EText
constructors only occur inside the
first EAbs
constructor via EConc
- if some are in EApp
, for instance,
then you can't successfully render
the expression.
prParenExp :: Expr -> Doc Source