[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define anywhere
From: |
Damien Mattei |
Subject: |
Re: define anywhere |
Date: |
Fri, 11 Jun 2021 10:07:30 +0200 |
i did not noticed there was an attachment link :-(
i read your code, great work...
i will read it more later
Damien
On Sat, Jun 5, 2021 at 5:24 PM Linus Björnstam <linus.internet@fastmail.se>
wrote:
> I implemented this hack before guile 3 got defines in function bodies:
> https://hg.sr.ht/~bjoli/guile-define
>
> Even I guile 3 it allows a more liberal placement of define, but it won't
> work for things like bodies of imported macros (like match)
> --
> Linus Björnstam
>
> On Sat, 5 Jun 2021, at 00:27, Damien Mattei wrote:
> > hello,
> > i'm was considering that i want to be able to define a variable
> > anywhere in
> > code, the way Python do. Few scheme can do that (Bigloo i know)
> > ( the list here is not exact:
> >
> https://www.reddit.com/r/scheme/comments/b73fdz/placement_of_define_inside_lambda_bodies_in/
> > )
> > is it possible in guile to do it? i do not know, so could it be added
> > to
> > the language specification for future release?
> >
> > regards,
> > Damien
> >
>
- Re: define anywhere, (continued)
- Message not available
Re: define anywhere,
Damien Mattei <=
Re: define anywhere, Damien Mattei, 2021/06/11