Set 10b Ex 4: fix example

This commit is contained in:
Joel Kaasinen
2025-09-26 08:56:40 +03:00
parent 59735e76d3
commit 1cb691781a
+1 -1
View File
@@ -77,7 +77,7 @@ validate predicate value = todo
-- myseq (1:undefined) 'z' ==> 'z' -- 1:undefined is in WHNF
-- myseq (undefined:[2,3]) 'z' ==> 'z' -- undefined:[2,3] is in WHNF
-- myseq [1..] 'z' ==> 'z'
-- myseq (undefined::[Int])
-- myseq (undefined::[Int]) 'z'
-- ==> *** Exception: Prelude.undefined
class MySeq a where