unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Define in let
@ 2013-08-20 16:39 Dmitry Bogatov
  2013-08-20 16:57 ` Thompson, David
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Dmitry Bogatov @ 2013-08-20 16:39 UTC (permalink / raw)
  To: guile-user

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]


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.

--
Best regards, Dmitry Bogatov <KAction@gnu.org>,
Free Software supporter and netiquette guardian.
	git clone git://kaction.name/rc-files.git --depth 1
	GPG: 54B7F00D
Html mail and proprietary format attachments are forwarded to /dev/null.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-08-21 15:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-20 16:39 Define in let Dmitry Bogatov
2013-08-20 16:57 ` Thompson, David
2013-08-20 17:02 ` Taylan Ulrich B.
2013-08-20 17:18 ` John B. Brodie
2013-08-20 17:19 ` Ian Price
2013-08-20 17:52 ` Mike Gran
2013-08-20 21:01 ` David Pirotte
2013-08-21  6:52   ` Panicz Maciej Godek
2013-08-21  6:55     ` Panicz Maciej Godek
2013-08-21  9:28     ` Ralf Mattes
2013-08-21 10:17       ` Panicz Maciej Godek
2013-08-21 10:32         ` Ralf Mattes
2013-08-21 11:01           ` Panicz Maciej Godek
2013-08-21 15:42   ` Dmitry Bogatov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).