diff options
-rw-r--r-- | docs/users_guide/parallel.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/users_guide/parallel.rst b/docs/users_guide/parallel.rst index fea8fa4a57..6c2a7ae1c4 100644 --- a/docs/users_guide/parallel.rst +++ b/docs/users_guide/parallel.rst @@ -120,7 +120,7 @@ For example, consider the following parallel version of our old nemesis, nfib :: Int -> Int nfib n | n <= 1 = 1 - | otherwise = par n1 (pseq n2 (n1 + n2 + 1)) + | otherwise = par n1 (pseq n2 (n1 + n2)) where n1 = nfib (n-1) n2 = nfib (n-2) |