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.
adjust :: (a -> a) -> Key a -> Vault -> Vaultvault Data.Vault.Lazy Adjust the value for a given key if it's present in the vault.
adjust :: (a -> a) -> Key s a -> Vault s -> Vault svault Data.Vault.ST.Lazy Adjust the value for a given key if it's present in the vault.
adjust :: (a -> a) -> Key s a -> Vault s -> Vault svault Data.Vault.ST.Strict Adjust the value for a given key if it's present in the vault.
adjust :: (a -> a) -> Key a -> Vault -> Vaultvault Data.Vault.Strict Adjust the value for a given key if it's present in the vault.
module Diagrams.Parametric.
Adjust Tools for adjusting the length of parametric objects such as segments and trails.
-
diagrams-lib Diagrams.Parametric.Adjust What method should be used for adjusting a segment, trail, or path?
-
diagrams-lib Diagrams.Parametric.Adjust How should a segment, trail, or path be adjusted?
-
diagrams-lib Diagrams.Parametric.Adjust Which side of a segment, trail, or path should be adjusted?
adjust :: (N t ~ n, Sectionable t, HasArcLength t, Fractional n) => t -> AdjustOpts n -> tdiagrams-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.
_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