Skip to content

Parameters cannot be immutable #900

Description

@jpellegrini

Hi @egallesio !

I believe this is not supposed to happen...

stklos> (symbol-mutable? 'keyword-colon-position )
#t
stklos> (symbol-immutable! 'keyword-colon-position )
stklos> (keyword-colon-position )
both
stklos> (keyword-colon-position 'none)
stklos> (keyword-colon-position )
none

Changing a parameter doesn't seem to be equivalent to re-define it... It is more like re-set!ing it.
So STklos should either make the parameter actually immutable or not allow symbol-immutable! to operate on parameters. Do you agree?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions