nfib from the docs computes (n1 + n2 + 1) instead of (n1 + n2)
This is nit-picking but just seems weird: docs/users_guide/parallel.rst has this:
import Control.Parallel nfib :: Int -> Int nfib n | n <= 1 = 1 | otherwise = par n1 (pseq n2 (n1 + n2 + 1)) where n1 = nfib (n-1) n2 = nfib (n-2)
Given the name of the function, I expect
n1 + n2 instead of
n1 + n2 + 1. If no one objects, I can do an MR.