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
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
> 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
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
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
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
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
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