mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +03:00
10 lines
150 B
Idris
10 lines
150 B
Idris
import Data.String
|
|
|
|
test str = len
|
|
where
|
|
xs = words str
|
|
len = length xs
|
|
|
|
parameters (n : Nat) (strs : List String)
|
|
len = List.length strs
|