RosettaCodeData/Task/Inverted-syntax/Haskell/inverted-syntax-3.hs

4 lines
48 B
Haskell

func a b x =
let y = a * b in
(x + y) / y