Skip to content

Recursive update exception: assignment to a cage with lazy right hand side is a problem! #462

@dours

Description

@dours
[] > infinite-loop
  cage > x
  seq > @
    x.write 0
    x.write (x.add 1)
    x.eq 1

fails.

Of course: x.write (x.add 1) is implemented basically as x := (lambda nothing -> x + 1). Any attempt to calculate x leads to endless recursion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions