6 lines
56 B
Haskell
6 lines
56 B
Haskell
|
module Long where
|
||
|
|
||
|
long [] = 0
|
||
|
long (x:t) = 1 + long t
|
||
|
|