Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
foldMapWithKeyU :: Monoid m => (k -> a -> m) -> MaxPQueue k a -> mpqueue Data.PQueue.Prio.Max An unordered monoidal fold over the elements of the queue, in no particular order.
foldMapWithKeyU :: Monoid m => (k -> a -> m) -> MinPQueue k a -> mpqueue Data.PQueue.Prio.Min An unordered monoidal fold over the elements of the queue, in no particular order.
module Text.Trifecta.Util.
IntervalMap Interval maps implemented using the FingerTree type, following section 4.8 of
- Ralf Hinze and Ross Paterson, "Finger trees: a simple general-purpose data structure", Journal of Functional Programming 16:2 (2006) pp 197-217. http://www.soi.city.ac.uk/~ross/papers/FingerTree.html
-
trifecta Text.Trifecta.Util.IntervalMap Map of closed intervals, possibly with duplicates. The Foldable and Traversable instances process the intervals in lexicographical order.
IntervalMap :: FingerTree (IntInterval v) (Node v a) -> IntervalMap v atrifecta Text.Trifecta.Util.IntervalMap No documentation available.
runIntervalMap :: IntervalMap v a -> FingerTree (IntInterval v) (Node v a)trifecta Text.Trifecta.Util.IntervalMap No documentation available.
ffmap :: Functor (Flip t c) => (a -> b) -> t a c -> t b ctype-flip Data.Type.Flip No documentation available.
foldMap :: (Recursive (->) t (XNor a), Monoid m) => (a -> m) -> t -> myaya Yaya.Experimental.Foldable No documentation available.
dmap :: DFunctor d => (forall x . () => f x -> g x) -> d f -> d gyaya Yaya.Functor No documentation available.
-
yaya Yaya.Functor This isn’t a Functor instance because of the position of the a, but you can use it like: > newtype List a = List (Mu (XNor a)) > instance Functor List where > fmap f (List mu) = List (firstMap f mu)