5 lines
93 B
Haskell
5 lines
93 B
Haskell
module Toma where
|
|
|
|
toma :: Int -> [a] -> [a]
|
|
toma 0 _ = []
|
|
toma n (x:t) = x : toma (n - 1) t
|