[nem-en] nested declarations?

Maurizio Colucci maurizio.colucci at gmail.com
Thu Jan 12 13:45:57 CET 2006


Hello,

I know nested funcions are supported in Nemerle, but are nested
variable declarations allowed? i.e. what is the Nemerle translation
for the following ocaml code?

let foo x =
  let val1 =
    let r =
       r + 5
    in
    x + r
  in
  val1 + x

Thanks

---
Maurizio Colucci
http://freetennis.sf.net



More information about the devel-en mailing list