printDouble : Nat -> Double -> String Prints a floating point number with at most the given number
of digits after the dot.
Totality: total
Visibility: exportdfltOpts : LayoutOpts- Totality: total
Visibility: public export valToDoc : Value -> Doc opts Pretty print a generic value. Our intention is that the result is
equivalent to the 'Show' instance for the original value, except possibly
easier to understand by a human.
Totality: total
Visibility: exportvalToStr : Value -> String Pretty print a generic value. Our intention is that the result is
equivalent to the 'Show' instance for the original value, except possibly
easier to understand by a human.
Totality: total
Visibility: exportreify : Show a => a -> Maybe Value- Totality: total
Visibility: export ppDoc : Show a => a -> Doc opts Try to show a value, prettily. If we do not understand the value, then we
just use its standard 'Show' instance.
Totality: total
Visibility: exportppShow : Show a => a -> String Convert a generic value into a pretty 'String', if possible.
Totality: total
Visibility: exportppDocList : (Foldable f, Show a) => f a -> Doc opts Pretty print something that may be converted to a list as a list.
Each entry is on a separate line, which means that we don't do clever
pretty printing, and so this works well for large strucutures.
Totality: total
Visibility: exportppShowList : (Foldable f, Show a) => f a -> String Pretty print something that may be converted to a list as a list.
Each entry is on a separate line, which means that we don't do clever
pretty printing, and so this works well for large strucutures.
Totality: total
Visibility: exportpPrint : Show a => a -> IO () Pretty print a generic value to stdout.
Totality: total
Visibility: exportpPrintList : (Foldable f, Show a) => f a -> IO () Pretty print something that may be converted to a list as a list.
Each entry is on a separate line, which means that we don't do clever
pretty printing, and so this works well for large strucutures.
Totality: total
Visibility: exportdumpDoc : PrettyVal a => a -> Doc opts Render a value in the `PrettyVal` interface to a `Doc`.
The benefit of this function is that `PrettyVal` instances may
be derived automatically using generics.
Totality: total
Visibility: exportdumpStr : PrettyVal a => a -> String Render a value in the `PrettyVal` interface to a `String`.
The benefit of this function is that `PrettyVal` instances may
be derived automatically using generics.
Totality: total
Visibility: exportdumpIO : PrettyVal a => a -> IO () Render a value using the `PrettyVal` interface
and show it to standard out.
Totality: total
Visibility: exportrecord PreProc : Type -> Type This type is used to allow pre-processing of values before showing them.
Totality: total
Visibility: public export
Constructor: MkPreProc : (Value -> Value) -> a -> PreProc a
Projections:
.preProc : PreProc a -> Value -> Value .val : PreProc a -> a
Hint: PrettyVal a => PrettyVal (PreProc a)
.preProc : PreProc a -> Value -> Value- Totality: total
Visibility: public export preProc : PreProc a -> Value -> Value- Totality: total
Visibility: public export .val : PreProc a -> a- Totality: total
Visibility: public export val : PreProc a -> a- Totality: total
Visibility: public export ppHide : (VName -> Bool) -> a -> PreProc a Hide the given constructors when showing a value.
Totality: total
Visibility: exportppHideNested : (VName -> Bool) -> a -> PreProc a Hide the given constructors when showing a value.
In addition, hide values if all of their children were hidden.
Totality: total
Visibility: export