We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f2fc85 + 480d414 commit 0a92f51Copy full SHA for 0a92f51
tests/scott-lists/solution.txt
@@ -153,7 +153,7 @@ filter = \ p . foldr ( \ x z . p x z (cons x z) ) nil
153
take-while = \ p xs . xs nil \ x xs . p x nil (cons x (take-while p xs))
154
155
# drop-while :: (a -> Boolean) -> List a -> List a
156
-drop-while = \ p xs . xs nil \ x xs . p x xs (drop-while p xs)
+drop-while = \ p xxs . xxs nil \ x xs . p x xxs (drop-while p xs)
157
158
# drop-while-end :: (a -> Boolean) -> List a -> List a
159
drop-while-end = \ p . foldr ( \ x z . and (null z) (p x) (cons x z) nil ) nil
0 commit comments