| Copyright | (C) 2014-2015 Ryan Scott |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Ryan Scott |
| Stability | Provisional |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell2010 |
TextShow.Data.Semigroup
Description
Monomorphic TextShow functions for Semigroup data types.
Since: 2
- showbMinPrecWith :: (Int -> a -> Builder) -> Int -> Min a -> Builder
- showbMaxPrecWith :: (Int -> a -> Builder) -> Int -> Max a -> Builder
- showbFirstPrecWith :: (Int -> a -> Builder) -> Int -> First a -> Builder
- showbLastPrecWith :: (Int -> a -> Builder) -> Int -> Last a -> Builder
- showbWrappedMonoidPrecWith :: (Int -> m -> Builder) -> Int -> WrappedMonoid m -> Builder
- showbOptionPrecWith :: (Int -> a -> Builder) -> Int -> Option a -> Builder
- showbArgPrecWith2 :: (Int -> a -> Builder) -> (Int -> b -> Builder) -> Int -> Arg a b -> Builder
Documentation
showbWrappedMonoidPrecWith :: (Int -> m -> Builder) -> Int -> WrappedMonoid m -> Builder Source
Convert a WrappedMonoid to a Builder with the given show function
and precedence.
Since: 2