| Copyright | (C) 2014-2016 Ryan Scott |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Ryan Scott |
| Stability | Provisional |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell2010 |
TextShow.Data.Semigroup
Contents
Description
Monomorphic TextShow functions for data types in the Data.Semigroup module.
Since: 3
- liftShowbMinPrec :: (Int -> a -> Builder) -> Int -> Min a -> Builder
- liftShowbMaxPrec :: (Int -> a -> Builder) -> Int -> Max a -> Builder
- liftShowbFirstPrec :: (Int -> a -> Builder) -> Int -> First a -> Builder
- liftShowbLastPrec :: (Int -> a -> Builder) -> Int -> Last a -> Builder
- liftShowbWrappedMonoidPrec :: (Int -> m -> Builder) -> Int -> WrappedMonoid m -> Builder
- liftShowbOptionPrec :: (Int -> a -> Builder) -> Int -> Option a -> Builder
- liftShowbArgPrec2 :: (Int -> a -> Builder) -> (Int -> b -> Builder) -> Int -> Arg a b -> Builder
Documentation
liftShowbWrappedMonoidPrec :: (Int -> m -> Builder) -> Int -> WrappedMonoid m -> Builder Source #
Convert a WrappedMonoid to a Builder with the given show function
and precedence.
Since: 3
liftShowbArgPrec2 :: (Int -> a -> Builder) -> (Int -> b -> Builder) -> Int -> Arg a b -> Builder Source #
Orphan instances
| TextShow2 Arg Source # | |
| TextShow1 Min Source # | |
| TextShow1 Max Source # | |
| TextShow1 First Source # | |
| TextShow1 Last Source # | |
| TextShow1 WrappedMonoid Source # | |
| TextShow1 Option Source # | |
| TextShow a0 => TextShow1 (Arg a0) Source # | |
| TextShow a0 => TextShow (Min a0) Source # | |
| TextShow a0 => TextShow (Max a0) Source # | |
| TextShow a0 => TextShow (First a0) Source # | |
| TextShow a0 => TextShow (Last a0) Source # | |
| TextShow m0 => TextShow (WrappedMonoid m0) Source # | |
| TextShow a0 => TextShow (Option a0) Source # | |
| (TextShow a0, TextShow b0) => TextShow (Arg a0 b0) Source # | |