Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. 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.

  2. 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.

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

    vault Internal.Data.Vault.ST.IORef

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

  4. module Diagrams.Parametric.Adjust

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

  5. data AdjustMethod n

    diagrams-lib Diagrams.Parametric.Adjust

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

  6. data AdjustOpts n

    diagrams-lib Diagrams.Parametric.Adjust

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

  7. data AdjustSide

    diagrams-lib Diagrams.Parametric.Adjust

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

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

  9. _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
    

  10. sizeAdjustment :: (Additive v, Foldable v, OrderedField n) => SizeSpec v n -> BoundingBox v n -> (v n, Transformation v n)

    diagrams-lib Diagrams.Size

    Get the adjustment to fit a BoundingBox in the given SizeSpec. The vector is the new size and the transformation to position the lower corner at the origin and scale to the size spec.

Page 33 of many | Previous | Next