Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Show with bytestring Builder
.
It's good for both performance and monad transformers.
Synopsis
- endlBSB :: Builder
- putBSB :: MonadIO m => Builder -> m ()
- putLnBSB :: MonadIO m => Builder -> m ()
- wsBSB :: Builder
- class ShowBSB a where
- showLnBSB :: ShowBSB a => a -> Builder
- printBSB :: (ShowBSB a, MonadIO m) => a -> m ()
- concatBSB :: (Vector v a, ShowBSB a) => v a -> Builder
- intersperseBSB :: (Vector v a, ShowBSB a) => Builder -> v a -> Builder
- intersperseWithBSB :: Vector v a => (a -> Builder) -> Builder -> v a -> Builder
- unwordsBSB :: (ShowBSB a, Vector v a) => v a -> Builder
- unlinesBSB :: (ShowBSB a, Vector v a) => v a -> Builder
- yn :: Bool -> String
- ynBSB :: Bool -> Builder
- printYn :: MonadIO m => Bool -> m ()
- printList :: (ShowBSB a, Unbox a, MonadIO m) => [a] -> m ()
- putList :: (ShowBSB a, Unbox a, MonadIO m) => [a] -> m ()
- printVec :: (ShowBSB a, Vector v a, MonadIO m) => v a -> m ()
- putVec :: (ShowBSB a, Vector v a, MonadIO m) => v a -> m ()
Documentation
Show as a bytestring builder.
Nothing
Instances
ShowBSB Builder # | |
Defined in ToyLib.ShowBSB | |
ShowBSB ByteString # | |
Defined in ToyLib.ShowBSB showBSB :: ByteString -> Builder # | |
ShowBSB String # | |
Defined in ToyLib.ShowBSB | |
ShowBSB Integer # | |
Defined in ToyLib.ShowBSB | |
ShowBSB Char # | |
Defined in ToyLib.ShowBSB | |
ShowBSB Double # | |
Defined in ToyLib.ShowBSB | |
ShowBSB Float # | |
Defined in ToyLib.ShowBSB | |
ShowBSB Int # | |
Defined in ToyLib.ShowBSB | |
ShowBSB (ModInt p) # | |
Defined in Data.ModInt | |
(ShowBSB a, ShowBSB b) => ShowBSB (a, b) # | |
Defined in ToyLib.ShowBSB | |
(ShowBSB a, ShowBSB b, ShowBSB c) => ShowBSB (a, b, c) # | |
Defined in ToyLib.ShowBSB | |
(ShowBSB a, ShowBSB b, ShowBSB c, ShowBSB d) => ShowBSB (a, b, c, d) # | |
Defined in ToyLib.ShowBSB |
unwordsBSB :: (ShowBSB a, Vector v a) => v a -> Builder #
unlinesBSB :: (ShowBSB a, Vector v a) => v a -> Builder #