Re: Define in let

2013-08-20 Thread David Pirotte
Hello, > It seems following is invalid: > >(let ((a 2)) > (define (foo x) (+ a x))) > > I prefer to reduce scope of variable as much as possible, so > I find this restriction unconvinent. Is is part of standard or technical > limitation? Is it any workaround? Section '3.4.7 Example

Re: Define in let

2013-08-20 Thread John B. Brodie
On 08/20/2013 12:39 PM, Dmitry Bogatov wrote: > It seems following is invalid: > >(let ((a 2)) > (define (foo x) (+ a x))) > > I prefer to reduce scope of variable as much as possible, so > I find this restriction unconvinent. Is is part of standard or technical > limitation? Is it any

Re: Define in let

2013-08-20 Thread Mike Gran
> From: Dmitry Bogatov > It seems following is invalid: > >   (let ((a 2)) >         (define (foo x) (+ a x))) > Perhaps something like (let* ((a 2)    (foo (lambda (x) (+ a x   (foo -Mike

Re: Define in let

2013-08-20 Thread Ian Price
Dmitry Bogatov writes: > It seems following is invalid: > >(let ((a 2)) > (define (foo x) (+ a x))) > > I prefer to reduce scope of variable as much as possible, so > I find this restriction unconvinent. Is is part of standard or technical > limitation? Is it any workaround? It's not

Re: Define in let

2013-08-20 Thread Taylan Ulrich B.
Dmitry Bogatov writes: > It seems following is invalid: > >(let ((a 2)) > (define (foo x) (+ a x))) > > I prefer to reduce scope of variable as much as possible, so > I find this restriction unconvinent. Is is part of standard or technical > limitation? Is it any workaround? > > Pleas

Re: Define in let

2013-08-20 Thread Thompson, David
On Tue, Aug 20, 2013 at 12:39 PM, Dmitry Bogatov wrote: > > It seems following is invalid: > >(let ((a 2)) > (define (foo x) (+ a x))) > > I prefer to reduce scope of variable as much as possible, so > I find this restriction unconvinent. Is is part of standard or technical > limitati

Define in let

2013-08-20 Thread Dmitry Bogatov
It seems following is invalid: (let ((a 2)) (define (foo x) (+ a x))) I prefer to reduce scope of variable as much as possible, so I find this restriction unconvinent. Is is part of standard or technical limitation? Is it any workaround? Please, keep in CC, I am not subscribed. -- B

initial announcement of guile-termite

2013-08-20 Thread Chaos Eternal
Termite is an erlang-style concurrent programming framework oringinally developed on Gambit-C scheme. the guile-termite is a port of the framework to gnu guile. currently finished the thread-mailbox part. the code is accessible https://github.com/ChaosEternal/guile-termite It is licensed under LG