her.esy.fun/src/posts/0010-Haskell-Now/float_basic.hs

4 lines
44 B
Haskell
Raw Normal View History

2019-12-23 09:56:47 +00:00
f x y = x*x + y*y
main = print (f 2.3 4.2)