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

4 lines
44 B
Haskell

f x y = x*x + y*y
main = print (f 2.3 4.2)