mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-29 22:51:51 +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
|