Skip to content

Commit 4619c8e

Browse files
committed
Minor fix for example demonstrating recursion
1 parent 6d1a190 commit 4619c8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

001_basics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ invoked in the *tail position* the resulting logic is compiled identically to
227227
``call``.
228228

229229
```haskell
230-
sum :: [Int] -> [Int]
230+
sum :: [Int] -> Int
231231
sum ys = go ys 0
232232
where
233233
go (x:xs) i = go xs (i+x)

0 commit comments

Comments
 (0)