Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. (.) :: forall (a :: κ) (b :: κ) (c :: κ) . (Category k, Object k a, Object k b, Object k c) => k b c -> k a b -> k a c

    constrained-categories Control.Category.Constrained

    No documentation available.

  2. (.) :: forall (a :: κ) (b :: κ) (c :: κ) . (Category k, Object k a, Object k b, Object k c) => k b c -> k a b -> k a c

    constrained-categories Control.Category.Constrained.Prelude

    No documentation available.

  3. (.) :: (b -> c) -> (a -> b) -> a -> c

    copilot-language Copilot.Language.Prelude

    Right to left function composition.

    (f . g) x = f (g x)
    
    f . id = f = id . f
    

    Examples

    >>> map ((*2) . length) [[], [0, 1, 2], [0]]
    [0,6,2]
    
    >>> foldr (.) id [(+1), (*3), (^3)] 2
    25
    
    >>> let (...) = (.).(.) in ((*2)...(+)) 5 10
    30
    

  4. (.) :: forall (b :: k) (c :: k) (a :: k) . Category cat => cat b c -> cat a b -> cat a c

    free-categories Control.Category.Free

    morphism composition

  5. (.) :: forall (b :: k) (c :: k) (a :: k) . Category cat => cat b c -> cat a b -> cat a c

    quaalude Essentials

    morphism composition

  6. (.) :: forall (b :: k) (c :: k) (a :: k) . Category cat => cat b c -> cat a b -> cat a c

    verset Verset

    morphism composition

  7. (.&&.) :: (Testable prop1, Testable prop2) => prop1 -> prop2 -> Property

    QuickCheck Test.QuickCheck

    Conjunction: p1 .&&. p2 passes if both p1 and p2 pass.

  8. (.&.) :: (Testable prop1, Testable prop2) => prop1 -> prop2 -> Property

    QuickCheck Test.QuickCheck

    Nondeterministic choice: p1 .&. p2 picks randomly one of p1 and p2 to test. If you test the property 100 times it makes 100 random choices.

  9. (.||.) :: (Testable prop1, Testable prop2) => prop1 -> prop2 -> Property

    QuickCheck Test.QuickCheck

    Disjunction: p1 .||. p2 passes unless p1 and p2 simultaneously fail.

  10. (.!=) :: Parser (Maybe a) -> a -> Parser a

    aeson Data.Aeson

    Helper for use in combination with .:? to provide default values for optional JSON object fields. This combinator is most useful if the key and value can be absent from an object without affecting its validity and we know a default value to assign in that case. If the key and value are mandatory, use .: instead. Example usage:

    v1 <- o .:? "opt_field_with_dfl" .!= "default_val"
    v2 <- o .:  "mandatory_field"
    v3 <- o .:? "opt_field2"
    

Page 4 of many | Previous | Next