blob: f28bf87d55e1d53aa421e0f79cc288134970484a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
import GHC.Conc
main = do
let x = length [1..100]
numSparks >>= print
x `par` numSparks >>= print
x `par` numSparks >>= print
x `par` numSparks >>= print
x `par` numSparks >>= print
|