Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
adjustMax :: (a -> a) -> NEMap k a -> NEMap k anonempty-containers Data.Map.NonEmpty O(log n). A version of updateMax that disallows deletion, allowing us to guarantee that the result is also non-empty.
adjustMaxWithKey :: (k -> a -> a) -> NEMap k a -> NEMap k anonempty-containers Data.Map.NonEmpty O(log n). A version of updateMaxWithKey that disallows deletion, allowing us to guarantee that the result is also non-empty.
adjustMin :: (a -> a) -> NEMap k a -> NEMap k anonempty-containers Data.Map.NonEmpty O(1). A version of updateMin that disallows deletion, allowing us to guarantee that the result is also non-empty.
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.