rename 'prettyTerm' to 'prettyIO'

it meant pretty*Terminal*, but,
This commit is contained in:
rhiannon morris 2023-03-15 15:42:28 +01:00
parent 86d21caf24
commit c9b9f66693
2 changed files with 7 additions and 7 deletions

View file

@ -216,14 +216,14 @@ termHL Syntax = color BrightCyan
termHL Tag = color BrightRed
export %inline
prettyTerm : PrettyOpts -> PrettyHL a => a -> IO Unit
prettyTerm opts x =
prettyIO : PrettyOpts -> PrettyHL a => a -> IO Unit
prettyIO opts x =
let reann = if opts.color then map termHL else unAnnotate in
Terminal.putDoc $ reann $ pretty0 opts.unicode x
export %inline
prettyTermDef : PrettyHL a => a -> IO Unit
prettyTermDef = prettyTerm defPrettyOpts
prettyIODef : PrettyHL a => a -> IO Unit
prettyIODef = prettyIO defPrettyOpts
infixr 6 <%%>, <%>