mukul-rathi / bolt

Bolt is a language with in-built data-race freedom!
MIT License
564 stars 51 forks source link

Define let-bindings in terms of block scope #49

Closed mukul-rathi closed 4 years ago

mukul-rathi commented 4 years ago

Matter of style - simillar to ES2015 JS:

{
let x = 5;
let y = 6;
....
}
(* x and y not accessible in this scope *)

is cleaner than

let x = 5 in 
  let y = 6 in
      ....
  end
end