Safe Haskell | Safe-Infered |
---|
- class HasText a where
- data Delimited a = Delimited Text [a]
- class HasTextList a where
- class HasTextNonEmpty a where
- textNonEmpty :: a -> TextNonEmpty
- class HasTextNonEmptyList a where
- textNonEmptyList :: a -> NonEmpty TextNonEmpty
Documentation
Applying text
to a Delimited type will give you a single Text
with the delimiter interspersed between the values of the list.
class HasTextList a whereSource
HasTextList Account | |
HasTextList Commodity | |
HasTextList Memo | |
HasTextList Tags | |
HasText a => HasTextList [a] | |
HasText a => HasTextList (NonEmpty a) |
class HasTextNonEmpty a whereSource
textNonEmpty :: a -> TextNonEmptySource