mirror of
https://github.com/iritmaximus/haskell.git
synced 2026-10-12 19:13:39 +03:00
Set 3b Ex 14: remove unnecessary comment
This commit is contained in:
@@ -73,9 +73,6 @@ mylast def xs = todo
|
||||
--
|
||||
-- Use only pattern matching and recursion (and the list constructors : and [])
|
||||
--
|
||||
-- This time, implement indexDefault using pattern matching and
|
||||
-- recursion.
|
||||
--
|
||||
-- Examples:
|
||||
-- indexDefault [True] 1 False ==> False
|
||||
-- indexDefault [10,20,30] 0 7 ==> 10
|
||||
|
||||
Reference in New Issue
Block a user