add runPrettyWith, etc
This commit is contained in:
parent
60079d9eb9
commit
100063ab91
2 changed files with 17 additions and 10 deletions
|
@ -271,9 +271,4 @@ prettyTerm : IsQty q => PrettyHL q => (unicode : Bool) ->
|
|||
(dnames : NContext d) -> (tnames : NContext n) ->
|
||||
Term q d n -> Doc HL
|
||||
prettyTerm unicode dnames tnames term =
|
||||
let env = MakePrettyEnv {
|
||||
dnames = toSnocList' dnames,
|
||||
tnames = toSnocList' tnames,
|
||||
unicode, prec = Outer
|
||||
} in
|
||||
runReader env $ prettyM term
|
||||
pretty0With unicode (toSnocList' dnames) (toSnocList' tnames) term
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue