| Safe Haskell | Safe-Infered |
|---|
Penny.Lincoln.HasText
- 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
Instances
| HasTextList Account | |
| HasTextList Commodity | |
| HasTextList Memo | |
| HasTextList Tags | |
| HasText a => HasTextList [a] | |
| HasText a => HasTextList (NonEmpty a) |
class HasTextNonEmpty a whereSource
Methods
textNonEmpty :: a -> TextNonEmptySource