> … valof clauses (basically where clauses) I so wish Python had valof/where already. And it’s the one feature I was surprised not to find in OCaml after seeing it in Haskell – why isn’t it more common?
What is it?
x + y
where y = g(x, 17)
where x = f(42)
instead of let x = f(42) in
let y = g(x, 17) in
x + y