notas-lc/incurry.hs

4 lines
45 B
Haskell
Raw Permalink Normal View History

2024-03-22 17:21:21 +01:00
suma x y = x+y
inc = suma 1
map inc [1..10]