mirror of
https://github.com/github/semantic.git
synced 2024-12-25 16:02:43 +03:00
Define unP pointfully.
This commit is contained in:
parent
b9f286bad4
commit
da8de1b907
@ -106,7 +106,7 @@ prettify' root style = unP 0 . gfold var let' seq' lam app unit bool if' string
|
||||
k (S n) = K ("S" <> unP 0 n)
|
||||
|
||||
p max b = P $ \ actual -> encloseIf (actual > max) (symbol "(") (symbol ")") b
|
||||
unP n = ($ n) . getP
|
||||
unP n f = getP f n
|
||||
|
||||
konst = P . const
|
||||
lambda = case style of
|
||||
|
Loading…
Reference in New Issue
Block a user