Idris2/tests/idris2/basic/basic070/Issue3016.idr

10 lines
150 B
Idris
Raw Normal View History

import Data.String
test str = len
where
xs = words str
len = length xs
parameters (n : Nat) (strs : List String)
len = List.length strs