Hoogle Search

Within LTS Haskell 24.20 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. (.:) :: Assoc -> BDict -> BDict

    bencoding Data.BEncode

    Cons a key/value pair.

  2. (.=!) :: BEncode a => BKey -> a -> Assoc

    bencoding Data.BEncode

    Make required key value pair.

  3. (.=?) :: BEncode a => BKey -> Maybe a -> Assoc

    bencoding Data.BEncode

    Like the (.=!) operator but if the value is not present then the key do not appear in resulting bencode dictionary.

  4. (.:) :: FromJSON a => Object -> Key -> Parser a

    classy-prelude-yesod ClassyPrelude.Yesod

    Retrieve the value associated with the given key of an Object. The result is empty if the key is not present or the value cannot be converted to the desired type. This accessor is appropriate if the key and value must be present in an object for it to be valid. If the key and value are optional, use .:? instead.

  5. (.=) :: (KeyValue e kv, ToJSON v) => Key -> v -> kv

    classy-prelude-yesod ClassyPrelude.Yesod

    No documentation available.

  6. (.|) :: forall (m :: Type -> Type) a b c r . Monad m => ConduitT a b m () -> ConduitT b c m r -> ConduitT a c m r

    classy-prelude-yesod ClassyPrelude.Yesod

    Combine two Conduits together into a new Conduit (aka fuse). Output from the upstream (left) conduit will be fed into the downstream (right) conduit. Processing will terminate when downstream (right) returns. Leftover data returned from the right Conduit will be discarded. Equivalent to fuse and =$=, however the latter is deprecated and will be removed in a future version. Note that, while this operator looks like categorical composition (from Control.Category), there are a few reasons it's different:

    • The position of the type parameters to ConduitT do not match. We would need to change ConduitT i o m r to ConduitT r m i o, which would preclude a Monad or MonadTrans instance.
    • The result value from upstream and downstream are allowed to differ between upstream and downstream. In other words, we would need the type signature here to look like ConduitT a b m r -> ConduitT b c m r -> ConduitT a c m r.
    • Due to leftovers, we do not have a left identity in Conduit. This can be achieved with the underlying Pipe datatype, but this is not generally recommended. See https://stackoverflow.com/a/15263700.

  7. (.$) :: Monad m => m (m a) -> m a

    composition-prelude Control.Composition

    Infix version of join As an example, one could use this to rewrite

    between (char '"') (char '"')
    
    to
    between .$ (char '"')
    
    Or
    fromEither :: Either a a -> a
    fromEither = either id id
    
    to
    fromEither :: Either a a -> a
    fromEither = either .$ id
    

  8. (.*) :: (c -> d) -> (a -> b -> c) -> a -> b -> d

    composition-prelude Control.Composition

    No documentation available.

  9. (.**) :: (d -> e) -> (a -> b -> c -> d) -> a -> b -> c -> e

    composition-prelude Control.Composition

    No documentation available.

  10. (.***) :: (e -> f) -> (a -> b -> c -> d -> e) -> a -> b -> c -> d -> f

    composition-prelude Control.Composition

    No documentation available.

Page 79 of many | Previous | Next