|
s7 suggestion
bil@xxxxxx
(29 Oct 2019 13:40 UTC)
|
|
Re: s7 suggestion
Lassi Kortela
(29 Oct 2019 15:15 UTC)
|
|
Re: s7 suggestion bil@xxxxxx (29 Oct 2019 15:56 UTC)
|
|
Re: s7 suggestion
Lassi Kortela
(29 Oct 2019 16:19 UTC)
|
|
Re: s7 suggestion
Lassi Kortela
(29 Oct 2019 16:32 UTC)
|
|
Re: s7 suggestion
bil@xxxxxx
(29 Oct 2019 17:54 UTC)
|
|
Re: s7 suggestion
Lassi Kortela
(29 Oct 2019 18:07 UTC)
|
|
Re: s7 suggestion
John Cowan
(01 Nov 2019 21:27 UTC)
|
|
Re: s7 suggestion
Lassi Kortela
(01 Nov 2019 21:36 UTC)
|
|
Re: s7 suggestion
John Cowan
(01 Nov 2019 23:03 UTC)
|
|
&key vs :key in the lambda list
Lassi Kortela
(01 Nov 2019 23:17 UTC)
|
|
Re: &key vs :key in the lambda list
John Cowan
(01 Nov 2019 23:18 UTC)
|
|
Re: &key vs :key in the lambda list
Lassi Kortela
(01 Nov 2019 23:27 UTC)
|
|
Syntax for hygienic vs non-hygienic keywords
Lassi Kortela
(01 Nov 2019 23:33 UTC)
|
|
Re: allow-other-keys
bil@xxxxxx
(29 Oct 2019 19:51 UTC)
|
|
Re: s7 suggestion
Marc Nieper-Wißkirchen
(29 Oct 2019 16:33 UTC)
|
|
Re: s7 suggestion
Lassi Kortela
(29 Oct 2019 16:53 UTC)
|
|
Re: s7 suggestion
bil@xxxxxx
(29 Oct 2019 17:10 UTC)
|
|
Including 177 in s7?
Lassi Kortela
(29 Oct 2019 17:34 UTC)
|
(keyword-lambda ((offset))
(+ base (or offset 0)))
expands to
(with-let (unlet)
(lambda* ((offset #f))
(+ base (or offset 0))))
where lambda* et al are from the built-in startup global environment,
so the local variable is happy:
(define xyz
(let ((base 123))
(keyword-lambda ((offset))
(+ base (or offset 0)))))
(writeln (xyz)) ; 123
(writeln (keyword-call xyz (offset 3))) ;126
(with-let (unlet) ...) goes underneath the global environment, so to
speak,
giving you the built-in startup values, so even set! at the top level
won't
affect it. There are, of course, many other choices. I added some more
examples to s7.html this morning.
I hate to admit I have no idea what docker is -- I'll check it out.