par -package

par :: a -> b -> b
base GHC.Conc.Sync, base GHC.Conc
par :: a -> b -> b
parallel Control.Parallel
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.
parens :: ReadPrec a -> ReadPrec a
base Text.Read
(parens p) parses "P", "(P0)", "((P0))", etc, p parses "P" in the current precedence context and parses "P0" in precedence context zero
parseVersion :: ReadP Version
base Data.Version
A parser for versions in the format produced by showVersion.
partition :: (a -> Bool) -> [a] -> ([a], [a])
base Data.List
The partition function takes a predicate a list and returns the pair of lists of elements which do and do not satisfy the predicate, respectively; i.e., > partition p xs == (filter p xs, filter (not . p) xs)
partitionEithers :: [Either a b] -> ([a], [b])
base Data.Either
Partitions a list of Either into two lists All the Left elements are extracted, in order, to the first component of the output. Similarly the Right elements are extracted to the second component of the output.
paragraph :: Html -> Html
html Text.Html, xhtml Text.XHtml.Strict, xhtml Text.XHtml.Frameset, xhtml Text.XHtml.Transitional
param :: Html
html Text.Html, xhtml Text.XHtml.Strict, xhtml Text.XHtml.Frameset, xhtml Text.XHtml.Transitional
parBuffer :: Int -> Strategy a -> Strategy [a]
parallel Control.Parallel.Strategies
Like evalBuffer but evaluates the list elements in parallel when pushing them into the buffer.
parens :: Doc -> Doc
pretty Text.PrettyPrint.HughesPJ, pretty Text.PrettyPrint
parens :: Doc -> Doc
template-haskell Language.Haskell.TH.PprLib
Wrap document in (...)
parens :: GenTokenParser s u m -> forall a. ParsecT s u m a -> ParsecT s u m a
parsec Text.Parsec.Token, parsec Text.ParserCombinators.Parsec.Token
Lexeme parser parens p parses p enclosed in parenthesis, returning the value of p.
parensE :: ExpQ -> ExpQ
template-haskell Language.Haskell.TH.Lib, template-haskell Language.Haskell.TH
parensIf :: Bool -> Doc -> Doc
template-haskell Language.Haskell.TH.Ppr
parensP :: PatQ -> PatQ
template-haskell Language.Haskell.TH.Lib, template-haskell Language.Haskell.TH
parentWindow :: GettableStateVar (Maybe Window)
GLUT Graphics.UI.GLUT.Window
Contains the current window\'s parent. If the current window is a top-level window, Nothing is returned.
parList :: Strategy a -> Strategy [a]
parallel Control.Parallel.Strategies
Evaluate each element of a list in parallel according to given strategy. Equivalent to parTraversable at the list type.
parListChunk :: Int -> Strategy a -> Strategy [a]
parallel Control.Parallel.Strategies
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
parListN :: Int -> Strategy a -> Strategy [a]
parallel Control.Parallel.Strategies
Like evalListN but evaluates the first n elements in parallel.
parListNth :: Int -> Strategy a -> Strategy [a]
parallel Control.Parallel.Strategies
Like evalListN but evaluates the nth element in parallel.

Show more results