Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
%<| ) :: Double -> Buffer % 1 -> Buffertext-builder-linear Data.Text.Builder.Linear.Buffer Prepend the decimal representation of a Double. Matches show in displaying in standard or scientific notation (see examples in (|>%)).
(
%+ ) :: Format r a -> Format r' r -> Format r' aformatting Formatting Concatenate two formatters with a space in between.
>>> :set -XOverloadedStrings >>> format (int %+ "+" %+ int %+ "=" %+ int) 2 3 5 "2 + 3 = 5"
(
%. ) :: Format r (Builder -> r') -> Format r' a -> Format r aformatting Formatting Function compose two formatters. Will feed the result of one formatter into another.
(
%+ ) :: Format r a -> Format r' r -> Format r' aformatting Formatting.Internal Concatenate two formatters with a space in between.
>>> :set -XOverloadedStrings >>> format (int %+ "+" %+ int %+ "=" %+ int) 2 3 5 "2 + 3 = 5"
(
%. ) :: Format r (Builder -> r') -> Format r' a -> Format r aformatting Formatting.Internal Function compose two formatters. Will feed the result of one formatter into another.
(
%. ) :: forall (c :: Symbol) r . (WeightBuilder a, c ~ First a) => W c -> Prec a r -> (a, Int, r)generic-random Generic.Random.Internal.Generic No documentation available.
(
%= ) :: MonadState s m => ASetter s s a b -> (a -> b) -> m ()microlens-mtl Lens.Micro.Mtl Modify state by applying a function to a part of the state. An example:
>>> execState (do _1 %= (+1); _2 %= reverse) (1,"hello") (2,"olleh")
Implementation:l %= f = modify (l %~ f)
If you also want to get the value before/after the modification, use (<<%=)/(<%=). There are a few specialised versions of (%=) which mimic C operators:(
%~ ) :: Setter s t a b -> (a -> b) -> s -> tlens-family Lens.Family2 Modify all referenced fields.
(
%!= ) :: MonadState s m => Setter s s a b -> (a -> b) -> m ()lens-family Lens.Family2.State.Lazy Strictly modify a field of the state.
(
%%= ) :: MonadState s m => LensLike (Writer c) s s a b -> (a -> (c, b)) -> m clens-family Lens.Family2.State.Lazy (%%=) :: MonadState s m => Lens s s a b -> (a -> (c, b)) -> m c
Modify a field of the state while returning another value.(%%=) :: (MonadState s m, Monoid c) => Traversal s s a b -> (a -> (c, b)) -> m c
Modify each field of the state and return the mconcat of the other values.