Maintainer | CS 131, Programming Languages (Melissa O'Neill, Chris Stone, Ben Wiedermann) |
---|---|
Safe Haskell | Safe |
You do not need to edit this file, nor do you need to even read it, if you don't want. But you might find it interesting anyway.
Documentation
Expressions
Literal values
printParens :: Bool -> Doc -> Doc #
a way to optionally add parentheses around an expression
printExprPrec :: Int -> Expr -> Doc #
print an expression (given an operator precedence of the enclosing context)
printValuePrec :: Int -> Value -> Doc #
print a value