2 ms·
I had OCaml in mind, but this is perfectly legal Haskell, too: let x = 0 in let x = x + 1 in ...
by int_19h 4y ago
I had OCaml in mind, but this is perfectly legal Haskell, too:
let x = 0 in
let x = x + 1 in
...
- ithkuil 4y agofwiw i've also seen this in Rust quite often: let foo = foo.clone(); let bar = bar.into_inner(); let baz = baz.to_owned(); let quz = quz.unwrap(); ...