Safe Haskell | None |
---|
- type LText = Text
- type SText = Text
- class ToText a where
- toText :: a -> SText
- toLazyText :: a -> LText
- class FromText a where
- explodeLinks :: SText -> [Either URI SText]
- bigUp :: Integral a => a -> SText
- relativeTimes :: UTCTime -> UTCTime -> Bool -> SText
- ellipsize :: Int -> SText -> SText
- ordSuffix :: Integral n => n -> SText
Documentation
A class for converting to Text.
A class for converting from Text.
explodeLinks :: SText -> [Either URI SText]Source
Explode a text into its constituent links.