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.

  1. (-.::::.) :: (i -> j) -> (a -> b -> c -> d -> e -> f -> g -> h -> j -> k) -> a -> b -> c -> d -> e -> f -> g -> h -> i -> k

    composition-extra Data.Function.Contravariant.Syntax

    No documentation available.

  2. (&:) :: (b -> b -> c) -> (a -> b) -> a -> a -> c

    composition-prelude Control.Composition

    Pronounced 'appose'. Synonym for on

  3. (=:) :: Projectable d s t => Projection d s t -> Stream t -> Stream d

    copilot-language Copilot.Language.Operators.Array

    Modify the value of a sub-element of a type in a stream of elements of that type.

  4. (=:) :: Projectable d s t => Projection d s t -> Stream t -> Stream d

    copilot-language Copilot.Language.Operators.Projection

    Modify the value of a sub-element of a type in a stream of elements of that type.

  5. (=:) :: Projectable d s t => Projection d s t -> Stream t -> Stream d

    copilot-language Copilot.Language.Operators.Struct

    Modify the value of a sub-element of a type in a stream of elements of that type.

  6. (%:) :: MonadState r m => T r a -> (a -> a) -> m ()

    data-accessor-mtl Data.Accessor.Monad.MTL.State

    Infix variant of modify.

  7. (|:) :: Formula -> Formula -> Formula

    djinn-lib Djinn.LJTFormula

    No documentation available.

  8. (.:) :: OnObject o a => Text -> Parser a -> o a

    json-stream Data.JsonStream.Parser

    Synonym for objectWithKey. The .: operators can be chained.

    >>> let json = "{\"key1\": {\"nested-key\": 3}}"
    
    >>> parseByteString ("key1" .: "nested-key" .: integer) json :: [Int]
    > [3]
    
    It works both as a standalone parser and as a part of objectOf parser
    >>> let test = "[{\"name\": \"test1\", \"value\": 1}, {\"name\": \"test2\", \"value\": null}, {\"name\": \"test3\"}]"
    
    >>> let person = objectOf $ (,) <$> "name" .: string <*> "value" .: integer .| (-1)
    
    >>> let people = arrayOf person
    
    >>> parseByteString people test :: [(T.Text, Int)]
    [("test1",1),("test2",-1),("test3",-1)]
    

  9. (.:?) :: OnObject o a => Text -> Parser a -> o (Maybe a)

    json-stream Data.JsonStream.Parser

    Returns Nothing if value is null or does not exist or match. Otherwise returns Just value.

    key .:? val = optional (key .: val)
    
    It could be similarly used in the objectOf parser

  10. ($::) :: (a -> b) -> ((a -> b) -> c -> d) -> c -> d

    pointless-fun Data.Function.Pointless

    Lift a function for multicomposition. This is like the :: of a type signature.

Page 105 of many | Previous | Next