1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-17 20:11:57 +02:00

spelling/typo

This commit is contained in:
Nigel Thorne
2016-02-26 09:30:35 +11:00
parent 2094f59079
commit 38d92105b2

View File

@@ -197,7 +197,7 @@ let even x = x `mod` 2 == 0
filter even (1..10) -- [2,4,6,8,10] filter even (1..10) -- [2,4,6,8,10]
map (\x -> x + 11) (1..5) -- [12,13,14,15,16] map (\x -> x + 11) (1..5) -- [12,13,14,15,16]
-- Requires purescript-foldable-traversabe (Data.Foldable) -- Requires purescript-foldable-traversable (Data.Foldable)
foldr (+) 0 (1..10) -- 55 foldr (+) 0 (1..10) -- 55
sum (1..10) -- 55 sum (1..10) -- 55