Safe Haskell | None |
---|---|
Language | Haskell2010 |
Client monad for interacting with a human through UI.
- module Prelude.Compat
- module Control.Monad.Compat
- module Data.List.Compat
- module Data.Maybe
- module Data.Monoid.Compat
- module Control.Exception.Assert.Sugar
- data Text :: *
- (<+>) :: Text -> Text -> Text
- tshow :: Show a => a -> Text
- divUp :: Integral a => a -> a -> a
- (<$$>) :: (Functor f, Functor g) => (a -> b) -> f (g a) -> f (g b)
- partitionM :: Applicative m => (a -> m Bool) -> [a] -> m ([a], [a])
- (***) :: Arrow a => forall b c b' c'. a b c -> a b' c' -> a (b, b') (c, c')
- (&&&) :: Arrow a => forall b c c'. a b c -> a b c' -> a b (c, c')
- first :: Arrow a => forall b c d. a b c -> a (b, d) (c, d)
- second :: Arrow a => forall b c d. a b c -> a (d, b) (d, c)
Documentation
module Prelude.Compat
module Control.Monad.Compat
module Data.List.Compat
module Data.Maybe
module Data.Monoid.Compat
A space efficient, packed, unboxed Unicode text type.
(<+>) :: Text -> Text -> Text infixr 6 #
Separated by space unless one of them is empty (in which case just the non-empty one).
partitionM :: Applicative m => (a -> m Bool) -> [a] -> m ([a], [a]) Source #
(***) :: Arrow a => forall b c b' c'. a b c -> a b' c' -> a (b, b') (c, c') infixr 3 #
Split the input between the two argument arrows and combine their output. Note that this is in general not a functor.
The default definition may be overridden with a more efficient version if desired.
(&&&) :: Arrow a => forall b c c'. a b c -> a b c' -> a b (c, c') infixr 3 #
Fanout: send the input to both argument arrows and combine their output.
The default definition may be overridden with a more efficient version if desired.