Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. _allowUpdates :: LensRules -> Bool

    lens Control.Lens.Internal.FieldTH

    Allow LensTraversal (otherwise GetterFold)

  2. ilocally :: MonadReader s m => AnIndexedSetter i s s a b -> (i -> a -> b) -> m r -> m r

    lens Control.Lens.Setter

    This is a generalization of locally that allows one to make indexed local changes to a Reader environment associated with the target of a Setter, Lens, or Traversal.

    locally l f ≡ ilocally l f . const
    ilocally l f ≡ locally l f . Indexed
    
    ilocally :: MonadReader s m => IndexedLens s s a b      -> (i -> a -> b) -> m r -> m r
    ilocally :: MonadReader s m => IndexedTraversal s s a b -> (i -> a -> b) -> m r -> m r
    ilocally :: MonadReader s m => IndexedSetter s s a b    -> (i -> a -> b) -> m r -> m r
    

  3. locally :: MonadReader s m => ASetter s s a b -> (a -> b) -> m r -> m r

    lens Control.Lens.Setter

    Modify the value of the Reader environment associated with the target of a Setter, Lens, or Traversal.

    locally l id a ≡ a
    locally l f . locally l g ≡ locally l (f . g)
    
    >>> (1,1) & locally _1 (+1) (uncurry (+))
    3
    
    >>> "," & locally ($) ("Hello" <>) (<> " world!")
    "Hello, world!"
    
    locally :: MonadReader s m => Iso s s a b       -> (a -> b) -> m r -> m r
    locally :: MonadReader s m => Lens s s a b      -> (a -> b) -> m r -> m r
    locally :: MonadReader s m => Traversal s s a b -> (a -> b) -> m r -> m r
    locally :: MonadReader s m => Setter s s a b    -> (a -> b) -> m r -> m r
    

  4. _AllPhases :: Prism' Phases ()

    lens Language.Haskell.TH.Lens

    No documentation available.

  5. _CCall :: Prism' Callconv ()

    lens Language.Haskell.TH.Lens

    No documentation available.

  6. _ForallC :: Prism' Con ([TyVarBndrSpec], Cxt, Con)

    lens Language.Haskell.TH.Lens

    No documentation available.

  7. _ForallT :: Prism' Type ([TyVarBndrSpec], Cxt, Type)

    lens Language.Haskell.TH.Lens

    No documentation available.

  8. _ForallVisT :: Prism' Type ([TyVarBndrUnit], Type)

    lens Language.Haskell.TH.Lens

    No documentation available.

  9. _RationalL :: Prism' Lit Rational

    lens Language.Haskell.TH.Lens

    No documentation available.

  10. _StdCall :: Prism' Callconv ()

    lens Language.Haskell.TH.Lens

    No documentation available.

Page 214 of many | Previous | Next