Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. fore :: forall x (xs :: [Type]) . Many (x ': xs) -> Many (Init (x ': xs))

    data-diverse Data.Diverse.Many

    Return all the elements of a Many except the back one, which guaranteed to be non-empty. Analogous to init

  2. forMany :: forall c r (xs :: [Type]) . Collect c r xs => c r xs -> Many xs -> Collector c xs r

    data-diverse Data.Diverse.Many.Internal

    Folds any Many, even with indistinct types. Given distinct handlers for the fields in Many, create AFoldable of the results of running the handlers over the fields in Many.

    let x = (5 :: Int) ./ False ./ 'X' ./ Just 'O' ./ (6 :: Int) ./ Just 'A' ./ nil
    y = show @Int ./ show @Char ./ show @(Maybe Char) ./ show @Bool ./ nil
    afoldr (:) [] (forMany (cases y) x) `shouldBe`
    ["5", "False", "'X'", "Just 'O'", "6", "Just 'A'"]
    

  3. forManyN :: forall c r (n :: Nat) (xs :: [Type]) . CollectN c r n xs => c r n xs -> Many xs -> CollectorN c n xs r

    data-diverse Data.Diverse.Many.Internal

    Folds any Many, even with indistinct types. Given index handlers for the fields in Many, create AFoldable of the results of running the handlers over the fields in Many.

    let x = (5 :: Int) ./ False ./ 'X' ./ Just 'O' ./ (6 :: Int) ./ Just 'A' ./ nil
    y = show @Int ./ show @Bool ./ show @Char ./ show @(Maybe Char) ./ show @Int ./ show @(Maybe Char) ./ nil
    afoldr (:) [] (forManyN (casesN y) x) `shouldBe`
    ["5", "False", "'X'", "Just 'O'", "6", "Just 'A'"]
    

  4. fore :: forall x (xs :: [Type]) . Many (x ': xs) -> Many (Init (x ': xs))

    data-diverse Data.Diverse.Many.Internal

    Return all the elements of a Many except the back one, which guaranteed to be non-empty. Analogous to init

  5. formatControl :: Control' Text -> [Text]

    debian Debian.Control

    No documentation available.

  6. formatField :: Field' Text -> Text

    debian Debian.Control

    No documentation available.

  7. formatParagraph :: Paragraph' Text -> Text

    debian Debian.Control

    No documentation available.

  8. formatTimeRFC822 :: FormatTime t => t -> String

    debian Debian.Time

    No documentation available.

  9. forbrugsforeningen :: Fake Text

    fakedata Faker.Finance

    No documentation available.

  10. formats :: Fake Text

    fakedata Faker.PhoneNumber

    No documentation available.

Page 137 of many | Previous | Next