Compare commits

..

No commits in common. "b9803c8357bd8b318498e4b51f77f6ce2536aab0" and "9fc1a1ef7fe1470cae72f72adb7f76996655003a" have entirely different histories.

2 changed files with 2 additions and 0 deletions

View File

@ -1250,6 +1250,8 @@ fn add_command! (turtle_id, command) -> {
update! (command_id, inc) update! (command_id, inc)
update! (turtle_commands, append (_, (turtle_id, idx, command))) update! (turtle_commands, append (_, (turtle_id, idx, command)))
let prev = do turtle_states > unbox > turtle_id let prev = do turtle_states > unbox > turtle_id
print!("previous state: {turtle_id}", prev)
print!("applying command", command)
let curr = apply_command (prev, command) let curr = apply_command (prev, command)
update! (turtle_states, assoc (_, turtle_id, curr)) update! (turtle_states, assoc (_, turtle_id, curr))
:ok :ok

Binary file not shown.