unison-parser-typechecker-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Syntax.NamePrinter

Synopsis

Documentation

prettyNamedReference :: Int -> Name -> Reference -> Pretty SyntaxText Source #

Pretty-print a reference as a name and the given number of characters of its hash.

prettyNamedReferent :: Int -> Name -> Referent -> Pretty SyntaxText Source #

Pretty-print a referent as a name and the given number of characters of its hash.

prettyReference :: Int -> Reference -> Pretty SyntaxText Source #

Pretty-print a reference as the given number of characters of its hash.

prettyReferent :: Int -> Referent -> Pretty SyntaxText Source #

Pretty-print a referent as the given number of characters of its hash.