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.
adjustMinWithKey :: (k -> a -> a) -> NEMap k a -> NEMap k anonempty-containers Data.Map.NonEmpty O(1). A version of adjustMaxWithKey that disallows deletion, allowing us to guarantee that the result is also non-empty. Note that it also is able to have better asymptotics than updateMinWithKey in general.
adjustWithKey :: Ord k => (k -> a -> a) -> k -> NEMap k a -> NEMap k anonempty-containers Data.Map.NonEmpty O(log n). Adjust a value at a specific key. When the key is not a member of the map, the original map is returned.
let f key x = (show key) ++ ":new " ++ x adjustWithKey f 5 (fromList ((5,"a") :| [(3,"b")])) == fromList ((3, "b") :| [(5, "5:new a")]) adjustWithKey f 7 (fromList ((5,"a") :| [(3,"b")])) == fromList ((3, "b") :| [(5, "a")])
adjust :: (a -> a) -> Int -> NESeq a -> NESeq anonempty-containers Data.Sequence.NonEmpty Update the element at the specified position. If the position is out of range, the original sequence is returned. adjust can lead to poor performance and even memory leaks, because it does not force the new value before installing it in the sequence. adjust' should usually be preferred.
adjust' :: (a -> a) -> Int -> NESeq a -> NESeq anonempty-containers Data.Sequence.NonEmpty Update the element at the specified position. If the position is out of range, the original sequence is returned. The new value is forced before it is installed in the sequence.
adjust' f i xs = case xs !? i of Nothing -> xs Just x -> let !x' = f x in update i x' xs
-
svg-builder Graphics.Svg.Attributes No documentation available.
-
svg-builder Graphics.Svg.Attributes No documentation available.
adjustPassband :: C a => Passband -> (a -> Parameter a) -> a -> Parameter asynthesizer-core Synthesizer.Plain.Filter.Recursive.SecondOrder Given a function which computes the filter parameters of a lowpass filter for a given frequency, turn that into a function which generates highpass parameters, if requested filter type is Highpass.
whenJust :: Monad m => Maybe a -> (a -> m ()) -> m ()Chart Graphics.Rendering.Chart.Utils Specialization to ()
_fHdrChecksumAdjust :: FontHeader -> !Word32FontyFruity Graphics.Text.TrueType.Internal To compute: set it to 0, sum the entire font as ULONG, then store 0xB1B0AFBA - sum.
class
SqlJustable a b | b -> abeam-core Database.Beam.Query Type class for things that can be nullable. This includes 'QExpr (Maybe a)', 'tbl (Nullable QExpr)', and 'PrimaryKey tbl (Nullable QExpr)'