RosettaCodeData/Task/Variables/Haskell/variables-1.hs
2023-07-01 13:44:08 -04:00

11 lines
148 B
Haskell

foobar = 15
f x = x + foobar
where foobar = 15
f x = let foobar = 15
in x + foobar
f x = do
let foobar = 15
return $ x + foobar