[[Int]] -> [Int] -base
depth-first search yielding number of nodes
Flexible type extension
Flexible type extension
Make a generic builder; start from a type-specific ase; resort to no build (i.e., mzero) otherwise
Replaces all instances of a value in a list by another value.
A combination of parList and map, encapsulating a common pattern:
> parMap strat f = withStrategy (parList strat) . map f
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))
Show more results