@sara_n/

blok

Haskell

test practice

fork
loading
Files
  • main.hs
main.hs
1
2
3
duzina :: [a] -> Int
duzina l | l==[] =0
         | otherwise = 1 + duzina tail l
GHCi, version 8.6.5