Hint.Util
- niceLambda :: [String] -> Exp_ -> Exp_
- niceDotApp :: Exp_ -> Exp_ -> Exp_
- simplifyExp :: Exp_ -> Exp_
Documentation
niceLambda :: [String] -> Exp_ -> Exp_
Generate a lambda, but prettier (if possible). Generally no lambda is good, but removing just some arguments isn't so useful.
niceDotApp :: Exp_ -> Exp_ -> Exp_
simplifyExp :: Exp_ -> Exp_
Convert expressions which have redundant junk in them away. Mainly so that later stages can match on fewer alternatives.