Hi all,
I'm new to Scheme and to Chicken, and I like what I see so far!
Question: does (parameterize) have any hidden or special meaning that's
not obvious? Are these two forms equivalent, except maybe for the
introduction of a few symbols?
(parameterize ((param1 value1) ...)
body ...)
(let
On Oct 14, 2007, at 5:39 AM, Tobia Conforto wrote:
Hi all,
I'm new to Scheme and to Chicken, and I like what I see so far!
Question: does (parameterize) have any hidden or special meaning
that's
not obvious? Are these two forms equivalent, except maybe for the
introduction of a few symbol
Tobia Conforto scripsit:
> Question: does (parameterize) have any hidden or special meaning that's
> not obvious? Are these two forms equivalent, except maybe for the
> introduction of a few symbols?
>
> (parameterize ((param1 value1) ...)
> body ...)
>
> (let ((old-value1 (param1)) ...) ;sa
On Oct 14, 2007, at 10:05 AM, John Cowan wrote:
Tobia Conforto scripsit:
Question: does (parameterize) have any hidden or special meaning
that's
not obvious? Are these two forms equivalent, except maybe for the
introduction of a few symbols?
(parameterize ((param1 value1) ...)
body ...)
Kon Lovett scripsit:
> >Fluid-let really is what you thought parameters were: just a hack to
> >shallow-bind local variables. Its behavior in the presence of non-
> >local
> >transfers of control can't be counted on.
>
> It will bind globals also, uses '##sys#set!'. Also uses 'dynamic-wind'.
I
John Cowan wrote:
> Kon Lovett scripsit:
> > > Fluid-let really is what you thought parameters were: just a hack
> > > to shallow-bind local variables. Its behavior in the presence of
> > > non-local transfers of control can't be counted on.
> >
> > It will bind globals also, uses '##sys#set!'. Al
On 10/15/07, Tobia Conforto <[EMAIL PROTECTED]> wrote:
>
> Let me check if I get it right. If fluid-let uses dynamic-wind, then it
> is "continuation-safe": exiting and re-entering its dynamic scope, by
> means of calling continuations in and out, will correctly reset and
> restore the bindings.
>
Mark Fredrickson wrote:
> ... we can see the macro expansion of parameterize using dynamic-wind.
> Dynamic-wind will call the function g6 before and after control enters
> or leaves the thunk, by call/cc, the basis of threads in chicken
^
No, I
On 10/15/07, Tobia Conforto <[EMAIL PROTECTED]> wrote:
> Mark Fredrickson wrote:
> > ... we can see the macro expansion of parameterize using dynamic-wind.
> > Dynamic-wind will call the function g6 before and after control enters
> > or leaves the thunk, by call/cc, the basis of threads in chicken
On Oct 15, 2007, at 7:47 AM, Mark Fredrickson wrote:
On 10/15/07, Tobia Conforto <[EMAIL PROTECTED]> wrote:
Mark Fredrickson wrote:
... we can see the macro expansion of parameterize using dynamic-
wind.
Dynamic-wind will call the function g6 before and after control
enters
or leaves the t
10 matches
Mail list logo