mirror of
https://github.com/iritmaximus/haskell.git
synced 2026-10-12 19:13:39 +03:00
Set 10b Ex 4: don't use not in example
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ validate predicate value = todo
|
||||
--
|
||||
-- Examples:
|
||||
-- myseq True 0 ==> 0
|
||||
-- myseq (not True) 0 ==> 0
|
||||
-- myseq ((\x -> x) True) 0 ==> 0
|
||||
-- myseq (undefined :: Bool) 0
|
||||
-- ==> *** Exception: Prelude.undefined
|
||||
-- myseq (3::Int) True ==> True
|
||||
|
||||
Reference in New Issue
Block a user