(a -> b) -> [a] -> [b] -base
A combination of parList and map, encapsulating a common pattern:
> parMap strat f = withStrategy (parList strat) . map f
Sequential function application. The argument is evaluated using the given strategy before it is given to the function.
Parallel function application. The argument is evaluated using the given strategy, in parallel with the function application.
the deep analogue of $!. In the expression f $!! x, x is fully evaluated before the function f is applied to it.
Apply a transformation everywhere in bottom-up manner
Apply a transformation everywhere in top-down manner
Extend a generic query by a type-specific case
Type extension of queries for type constructors
Type extension of queries for type constructors
Put something inside an HTML element.
Sequential function composition. The result of the second function is evaluated using the given strategy, and then given to the first function.
Parallel function composition. The result of the second function is evaluated using the given strategy, in parallel with the application of the first function.
Sequential inverse function composition, for those who read their programs from left to right. The result of the first function is evaluated using the given strategy, and then given to the second function.
Parallel inverse function composition, for those who read their programs from left to right. The result of the first function is evaluated using the given strategy, in parallel with the application of the second function.
Make a generic query; start from a type-specific case; return a constant otherwise
Extend a generic transformation by a type-specific case
censor f m is an action that executes the action m and applies the function f to its output, leaving the return value unchanged.
* f m = pass (liftM (\x ->
> (x,f))
Make a generic transformation; start from a type-specific case; preserve the term otherwise
Show more results