monad-par-0.3.4.4: A library for parallel programming based on a monad

Safe HaskellNone

Control.Monad.Par.Scheds.Sparks

Description

This scheduler uses sparks (par/pseq) directly, but only supplies the Monad.Par.Class.ParFuture interface.

Documentation

data Par a Source

Constructors

Done a 

data Future a Source

Constructors

Future a 

Instances

runPar :: Par a -> aSource

get :: Future a -> Par aSource

spawn :: NFData a => Par a -> Par (Future a)Source

spawnP :: NFData a => a -> Par (Future a)Source