Safe Haskell | None |
---|---|
Language | Haskell98 |
Data.Repa.Nice.Present
Documentation
class Presentable a where Source #
Convert some value to a form presentable to the user.
Like show
but we allow the nesting structure to be preserved
so it can be displayed in tabular format.
Minimal complete definition
Instances
Presentable Char Source # | |
Presentable Double Source # | |
Presentable Float Source # | |
Presentable Int Source # | |
Presentable Word8 Source # | |
Presentable Word16 Source # | |
Presentable Word32 Source # | |
Presentable Word64 Source # | |
Presentable () Source # | |
Presentable Date32 Source # | |
Presentable Tok Source # | |
Presentable Str Source # | |
Presentable a => Presentable [a] Source # | |
(Presentable a, Presentable b) => Presentable (a, b) Source # | |
(Presentable a, Presentable b) => Presentable ((:*:) a b) Source # | |
(Presentable a, Presentable b, Presentable c) => Presentable (a, b, c) Source # | |
(Presentable a, Presentable b, Presentable c, Presentable d) => Presentable (a, b, c, d) Source # | |
(Presentable a, Presentable b, Presentable c, Presentable d, Presentable e) => Presentable (a, b, c, d, e) Source # | |
A value, wrapped up nicely.
Wrapper to indicate a list of characters should be printed as a string, including double quotes.
Wrapper to indicate a list of characters should be printed as a string, without double quotes.