bugKawa - Bugs: bug #36596, fluid-let IllegalAccessException


bug #36596: fluid-let IllegalAccessException

Submitted by:  Charles Turner <charlest>
Submitted on:  Tue 05 Jun 2012 10:02:35 PM UTC  
Category:  Scheme language Severity:  3 - Normal
Item Group:  Run-time exception Status:  Postponed
Privacy:  Public Assigned to:  Per Bothner <bothner>
Open/Closed:  Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 01 Nov 2016 05:20:38 PM UTC, comment #3:

Right, but you can't "temporarily change" an immutable variable.

Though you could argue that in standard Scheme the definition of myfun isn't inherently immutable.

This gets into the tricky area of lexical scope vs dynamic environment. Fluid-let lives in the messy intersection between them. One day I may look at it more closely.

I guess "Postponed" is more appropriate Status.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Tue 01 Nov 2016 04:46:54 PM UTC, comment #2:

Been a while :) -- but what I remember of fluid-let is that it should temporarily change the variable's binding within it's extent, and restore the original binding when the scope is closed.

So I /think/ I expected this to return 'inner.

Charles Turner <charlest>
Tue 01 Nov 2016 03:51:18 PM UTC, comment #1:

I don't think this makes sense - though how dynamic variables interact with top-level (module-level) variables is a bit murky.

It probably should have a compile-time warning, at least.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Tue 05 Jun 2012 10:02:35 PM UTC, original submission:

From Kawa v1.12

Charles Turner <charlest>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bothner (Posted a comment)
  • -email is unavailable- added by charlest (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Tue 01 Nov 2016 05:20:38 PM UTC bothner StatusInvalid => Postponed
    Tue 01 Nov 2016 03:51:18 PM UTC bothner StatusNone => Invalid
        Assigned toNone => bothner

    Back to the top

    Powered by Savane 3.3