Indicates that it may be beneficial to evaluate the first argument in parallel with the second. Returns the value of the second argument.
a `par` b is exactly equivalent semantically to b.
par is generally used when the value of a is likely to be required later, but not immediately. Also it is a good idea to ensure that a is not a trivial computation, otherwise the cost of spawning it in parallel overshadows the benefits obtained by running it in parallel.
Note that actual parallelism is only supported by certain implementations (GHC with the -threaded option, and GPH, for now). On other implementations, par a b = b.
A paragraph formatting utility. Provided with input text that is arbitrarily split amongst several strings, this utility will reformat the text into paragraphs which do not exceed the specified width. Paragraphs are delimited by blank lines in the input.
This package provides a library for parallel programming.
This package provides combinators for sequencing IO actions onto a thread pool. The thread pool is guaranteed to contain no more unblocked threads than a user-specified upper limit, thus minimizing contention.
Furthermore, the parallel combinators can be used reentrantly - your parallel actions can spawn more parallel actions - without violating this property of the thread pool.
The package is inspired by the thread http://thread.gmane.org/gmane.comp.lang.haskell.cafe/56499/focus=56521. Thanks to Neil Mitchell and Bulat Ziganshin for some of the code this package is based on.
This Haskell library provides an implementation of parallel search based on the search tree provided by the package tree-monad.
This library provides an implementation of parameterized types using type-level computations to implement the type parameters and emulate dependent types. Right now only fixed-sized vectors are provided. A tutorial on how to use them can be found at http://www.ict.kth.se/forsyde/files/tutorial/tutorial.html#FSVec
Like evalBuffer but evaluates the list elements in parallel when pushing them into the buffer.
Wrap document in (...)
Lexeme parser parens p parses p enclosed in parenthesis, returning the value of p.
Contains the current window\'s parent. If the current window is a top-level window, Nothing is returned.
Evaluate each element of a list in parallel according to given strategy. Equivalent to parTraversable at the list type.
Divides a list into chunks, and applies the strategy evalList strat to each chunk in parallel.
It is expected that this function will be replaced by a more generic clustering infrastructure in the future.
If the chunk size is 1 or less, parListChunk is equivalent to parList
Show more results