Comment by projektfu
4 hours ago
In Haskell, you can do, if you prefer,
someValue = let {f = 9;
fo = 10;
foo = 123 }
in f+fo+foo
it will just look a little out of place.
Edited to add that this is also OK:
someValue = let
f = 9
fo = 10
foo = 123
in f+fo+foo
No comments yet
Contribute on Hacker News ↗