her.esy.fun/src/posts/0010-Haskell-Now/basic.hs
2019-12-23 10:56:47 +01:00

5 lines
63 B
Haskell

f :: Int -> Int -> Int
f x y = x*x + y*y
main = print (f 2 3)