Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
protolude Protolude The subsequences function returns the list of all subsequences of the argument.
Laziness
subsequences does not look ahead unless it must:>>> take 1 (subsequences undefined) [[]] >>> take 2 (subsequences ('a' : undefined)) ["","a"]Examples
>>> subsequences "abc" ["","a","b","ab","c","ac","bc","abc"]
This function is productive on infinite inputs:>>> take 8 $ subsequences ['a'..] ["","a","b","ab","c","ac","bc","abc"]
-
protolude Protolude.Base The value of seq a b is bottom if a is bottom, and otherwise equal to b. In other words, it evaluates the first argument a to weak head normal form (WHNF). seq is usually introduced to improve performance by avoiding unneeded laziness. A note on evaluation order: the expression seq a b does not guarantee that a will be evaluated before b. The only guarantee given by seq is that the both a and b will be evaluated before seq returns a value. In particular, this means that b may be evaluated before a. If you need to guarantee a specific order of evaluation, you must use the function pseq from the "parallel" package.
diffMapNoEq :: Ord k => Map k v -> Map k v -> Map k (Maybe v)reflex Data.Map.Misc Produce a Map k (Maybe v) by comparing two Map k vs, old and new respectively. Just represents an association present in new and Nothing represents an association only present in old but no longer present in new. Similar to diffMap but doesn't require Eq on the values, thus can't tell if a value has changed or not.
-
reflex Reflex.Adjustable.Class Traverse a DMap of Adjustable actions, running each of them. The provided Event of patches to the DMap can add, remove, or update values.
-
reflex Reflex.Adjustable.Class Traverses a DMap of Adjustable actions, running each of them. The provided Event of patches to the DMap can add, remove, update, move, or swap values.
-
reflex Reflex.EventWriter.Base Like runWithReplaceEventWriterTWith, but for sequenceDMapWithAdjust.
data
RequesterData (f :: Type -> Type)reflex Reflex.Requester.Base No documentation available.
-
reflex Reflex.Requester.Base No documentation available.
newtype
RequesterT t (request :: Type -> Type) (response :: Type -> Type) (m :: Type -> Type) areflex Reflex.Requester.Base A basic implementation of Requester.
-
reflex Reflex.Requester.Base No documentation available.