Skip to content

Commit 239a41f

Browse files
Update Homework06.hs (#18)
Fixed typo Nice improvements on new homeworks for this lesson btw 👍🏼
1 parent 8cf8d95 commit 239a41f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Homework/Homework06/Homework06.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363

6464
-- Question 6
65-
-- Write a function called `takeWhile'` that takes a precate and a list and
65+
-- Write a function called `takeWhile'` that takes a predicate and a list and
6666
-- returns the list up until an element that doesn't satisfy the predicate.
6767
--
6868
-- >>> takeWhile (< 3) [1,2,3,4,1,2,3,4]

0 commit comments

Comments
 (0)