Hoogle Search
Within LTS Haskell 24.58 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
.~ ) :: ASetter s t a b -> b -> s -> tdiagrams-lib Diagrams.Prelude Replace the target of a Lens or all of the targets of a Setter or Traversal with a constant value. This is an infix version of set, provided for consistency with (.=).
f <$ a ≡ mapped .~ f $ a
>>> (a,b,c,d) & _4 .~ e (a,b,c,e)
>>> (42,"world") & _1 .~ "hello" ("hello","world")>>> (a,b) & both .~ c (c,c)
(.~) :: Setter s t a b -> b -> s -> t (.~) :: Iso s t a b -> b -> s -> t (.~) :: Lens s t a b -> b -> s -> t (.~) :: Traversal s t a b -> b -> s -> t
(
.= ) :: MonadState s m => ASetter s s a b -> b -> m ()Cabal-syntax Distribution.Compat.Lens No documentation available.
(
.~ ) :: ASetter s t a b -> b -> s -> tCabal-syntax Distribution.Compat.Lens No documentation available.
(
.&&&. ) :: Selector s a -> Selector s b -> Selector s (a, b)hxt Data.Function.Selector No documentation available.
(
.&&&. ) :: Selector s a -> Selector s b -> Selector s (a, b)hxt Text.XML.HXT.Arrow.XmlState.TypeDefs No documentation available.
(
.= ) :: MonadState s m => ASetter s s a b -> b -> m ()microlens-mtl Lens.Micro.Mtl Modify state by “assigning” a value to a part of the state. This is merely (.~) which works in MonadState:
l .= x = modify (l .~ x)
If you also want to know the value that was replaced by (.=), use (<<.=).(
.~ ) :: Lens' s a -> a -> s -> srelude Relude.Extra.Lens The operator form of set.
data ((b :: a)
.<> (c :: a)) (d :: a)first-class-families Fcf.Class.Monoid Type-level semigroup composition (<>). This is the fcf-encoding of (<>). To define a new semigroup, add type instances to (<>).
(
.= ) :: ToAttribute a => Text -> a -> Maybe (Text, Attribute)hs-opentelemetry-api OpenTelemetry.Resource Utility function to convert a required resource attribute into the format needed for mkResource.
(
.=? ) :: ToAttribute a => Text -> Maybe a -> Maybe (Text, Attribute)hs-opentelemetry-api OpenTelemetry.Resource Utility function to convert an optional resource attribute into the format needed for mkResource.