Yet another option that I mentioned was: | (+ 1 { n = 8 | (sqr x) = (* x x) | 
(sqr n) })


#lang honu

(1 + { var n = 8;
       sqr(x){ x * x }
       sqr(n) })

> 65

Of course I sort of cheated and just (as in 5 seconds ago) changed {} from 
(begin ...) to (let () ...)
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to