Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. adjust :: (a -> a) -> Key a -> Vault -> Vault

    vault Data.Vault.Lazy

    Adjust the value for a given key if it's present in the vault.

  2. adjust :: (a -> a) -> Key s a -> Vault s -> Vault s

    vault Data.Vault.ST.Lazy

    Adjust the value for a given key if it's present in the vault.

  3. adjust :: (a -> a) -> Key s a -> Vault s -> Vault s

    vault Data.Vault.ST.Strict

    Adjust the value for a given key if it's present in the vault.

  4. adjust :: (a -> a) -> Key a -> Vault -> Vault

    vault Data.Vault.Strict

    Adjust the value for a given key if it's present in the vault.

  5. module Diagrams.Parametric.Adjust

    Tools for adjusting the length of parametric objects such as segments and trails.

  6. data AdjustMethod n

    diagrams-lib Diagrams.Parametric.Adjust

    What method should be used for adjusting a segment, trail, or path?

  7. data AdjustOpts n

    diagrams-lib Diagrams.Parametric.Adjust

    How should a segment, trail, or path be adjusted?

  8. data AdjustSide

    diagrams-lib Diagrams.Parametric.Adjust

    Which side of a segment, trail, or path should be adjusted?

  9. adjust :: (N t ~ n, Sectionable t, HasArcLength t, Fractional n) => t -> AdjustOpts n -> t

    diagrams-lib Diagrams.Parametric.Adjust

    Adjust the length of a parametric object such as a segment or trail. The second parameter is an option record which controls how the adjustment should be performed; see AdjustOpts.

  10. _Just :: forall a b p f . (Choice p, Applicative f) => p a (f b) -> p (Maybe a) (f (Maybe b))

    diagrams-lib Diagrams.Prelude

    This Prism provides a Traversal for tweaking the target of the value of Just in a Maybe.

    >>> over _Just (+1) (Just 2)
    Just 3
    
    Unlike traverse this is a Prism, and so you can use it to inject as well:
    >>> _Just # 5
    Just 5
    
    >>> 5^.re _Just
    Just 5
    
    Interestingly,
    m ^? _Just ≡ m
    
    >>> Just x ^? _Just
    Just x
    
    >>> Nothing ^? _Just
    Nothing
    

Page 42 of many | Previous | Next