Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
-: ) :: forall (m :: Type -> Type) a . Monad m => Text -> StitchT m a -> StitchT m astitch Stitch.Combinators "pref" -: assignments prefixes all the keys of assignments with pref-. This can be useful for putting a bunch of grouped "font" or "border" properties together – for example, the following two actions function the same:
"font" -: do "size" .= "1.5rem" "family" .= "Helvetica" "weight" .= "bold"
"font-size" .= "1.5rem" "font-family" .= "Helvetica" "font-weight" .= "bold"
(
.: ) :: forall t a (m :: Type -> Type) . IsStream t => a -> t m a -> t m astreamly Streamly.Internal.Data.Stream.IsStream Operator equivalent of cons.
> toList $ 1 .: 2 .: 3 .: nil [1,2,3]
(
.: ) :: forall t a (m :: Type -> Type) . IsStream t => a -> t m a -> t m astreamly Streamly.Internal.Data.Stream.IsStream Operator equivalent of cons.
> toList $ 1 .: 2 .: 3 .: nil [1,2,3]
(
|: ) :: (IsStream t, MonadAsync m) => m a -> t m a -> t m astreamly Streamly.Internal.Data.Stream.IsStream Operator equivalent of consM. We can read it as "parallel colon" to remember that | comes before :.
> toList $ getLine |: getLine |: nil hello world ["hello","world"]
let delay = threadDelay 1000000 >> print 1 drain $ fromSerial $ delay |: delay |: delay |: nil drain $ fromParallel $ delay |: delay |: delay |: nil
Concurrent (do not use fromParallel to construct infinite streams)(
|: ) :: (IsStream t, MonadAsync m) => m a -> t m a -> t m astreamly Streamly.Internal.Data.Stream.IsStream Operator equivalent of consM. We can read it as "parallel colon" to remember that | comes before :.
> toList $ getLine |: getLine |: nil hello world ["hello","world"]
let delay = threadDelay 1000000 >> print 1 drain $ fromSerial $ delay |: delay |: delay |: nil drain $ fromParallel $ delay |: delay |: delay |: nil
Concurrent (do not use fromParallel to construct infinite streams)(
.: ) :: forall t a (m :: Type -> Type) . IsStream t => a -> t m a -> t m astreamly Streamly.Prelude Operator equivalent of cons.
> toList $ 1 .: 2 .: 3 .: nil [1,2,3]
(
|: ) :: (IsStream t, MonadAsync m) => m a -> t m a -> t m astreamly Streamly.Prelude Operator equivalent of consM. We can read it as "parallel colon" to remember that | comes before :.
> toList $ getLine |: getLine |: nil hello world ["hello","world"]
let delay = threadDelay 1000000 >> print 1 drain $ fromSerial $ delay |: delay |: delay |: nil drain $ fromParallel $ delay |: delay |: delay |: nil
Concurrent (do not use fromParallel to construct infinite streams)(
.: ) :: (Index a, FromToml Value b) => a -> Text -> Parser btoml-reader-parse TOML.Parse No documentation available.
(
.:? ) :: (Index a, FromToml Value b) => a -> Text -> Parser (Maybe b)toml-reader-parse TOML.Parse No documentation available.
(
=: ) :: forall (a :: TValue) . Key -> Value a -> TDSLtomland Toml.Type.Edsl Adds key-value pair to the TDSL.