Hoogle Search

Within LTS Haskell 24.57 (ghc-9.10.3)

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

  1. (.~) :: ASetter s t a b -> b -> s -> t

    diagrams-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
    

  2. (.=) :: MonadState s m => ASetter s s a b -> b -> m ()

    Cabal-syntax Distribution.Compat.Lens

    No documentation available.

  3. (.~) :: ASetter s t a b -> b -> s -> t

    Cabal-syntax Distribution.Compat.Lens

    No documentation available.

  4. (.&&&.) :: Selector s a -> Selector s b -> Selector s (a, b)

    hxt Data.Function.Selector

    No documentation available.

  5. (.&&&.) :: Selector s a -> Selector s b -> Selector s (a, b)

    hxt Text.XML.HXT.Arrow.XmlState.TypeDefs

    No documentation available.

  6. (.=) :: 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 (<<.=).

  7. (.~) :: Lens' s a -> a -> s -> s

    relude Relude.Extra.Lens

    The operator form of set.

  8. 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 (<>).

  9. (.=) :: 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.

  10. (.=?) :: 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.

Page 18 of many | Previous | Next