Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
Convert some value to a nice form.
In particular:
- Nested Arrays are converted to nested lists, so that they are easier to work with on the ghci console.
- Lists of characters are wrapped into the
Str
data type, so that they can be pretty printed differently by follow-on processing.
As ghci automatically pretty prints lists, using nice
is more
fun than trying to show
the raw Repa array representations.
Nicer Char | |
Nicer Double | |
Nicer Float | |
Nicer Int | |
Nicer Word8 | |
Nicer Word16 | |
Nicer Word32 | |
Nicer Word64 | |
Nicer () | |
Nicer [Char] | |
Nicer [Double] | |
Nicer [Float] | |
Nicer [Int] | |
Nicer [a] => Nicer [[a]] | |
Nicer [Word8] | |
Nicer [Word16] | |
Nicer [Word32] | |
Nicer [Word64] | |
(Nicer a, Nicer b) => Nicer [(a, b)] | |
Nicer a => Nicer [Maybe a] | |
(Bulk l a, Nicer [a]) => Nicer [Array l a] | |
Nicer a => Nicer (Maybe a) | |
(Nicer a, Nicer b) => Nicer (a, b) | |
(Bulk l a, Nicer [a]) => Nicer (Array l a) |
Wrapper to indicate a list of characters should be printed as a string, including double quotes.