Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
histogram-fill Data.Histogram Bin with index 0
-
histogram-fill Data.Histogram.Generic Bin with index 0
pattern
First :: FS TermF a -> FS TermF arzk Language.Rzk.Free.Syntax No documentation available.
First :: a -> Term' a -> Term' arzk Language.Rzk.Syntax.Abs No documentation available.
-
yesod-page-cursor Yesod.Page No documentation available.
-
folds Data.Fold.Internal No documentation available.
-
verset Verset Beware that Data.Semigroup.First is different from Data.Monoid.First. The former simply returns the first value, so Data.Semigroup.First Nothing <> x = Data.Semigroup.First Nothing. The latter returns the first non-Nothing, thus Data.Monoid.First Nothing <> x = x.
Examples
>>> First 0 <> First 10 First 0
>>> sconcat $ First 1 :| [ First n | n <- [2 ..] ] First 1
-
verset Verset No documentation available.
first :: Arrow a => a b c -> a (b, d) (c, d)base Control.Arrow Send the first component of the input through the argument arrow, and copy the rest unchanged to the output.
first :: Bifunctor p => (a -> b) -> p a c -> p b cbase Data.Bifunctor Map covariantly over the first argument.
first f ≡ bimap f id
Examples
>>> first toUpper ('j', 3) ('J',3)
>>> first toUpper (Left 'j') Left 'J'