spawn_turtle should not break stack discipline #93

Open
opened 2025-07-09 22:29:08 +00:00 by scott · 0 comments
Owner

Offending code:

let myrange = range (100)

fn make_turtle_at (i) -> {
  let t = spawn_turtle ()
  t ::rt! (div (i, 100))
}

map (make_turtle_at, myrange)

hibernate! ()

We get a match error calling div with ([:ok, :ok, :ok, ...], 100).

Something is breaking stack discipline.

Offending code: ``` let myrange = range (100) fn make_turtle_at (i) -> { let t = spawn_turtle () t ::rt! (div (i, 100)) } map (make_turtle_at, myrange) hibernate! () ``` We get a match error calling `div` with `([:ok, :ok, :ok, ...], 100)`. Something is breaking stack discipline.
scott added the
bug
label 2025-07-09 22:29:52 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: twc/ludus#93
No description provided.