Update to reflect changes in Prelude

This commit is contained in:
Scott Richmond 2024-11-03 17:32:15 -05:00
parent 6c8c667042
commit 1c85f920f2

View File

@ -3,18 +3,18 @@
box states = []
fn push! () -> {
update! (states, append (_, turtle_state ()))
update! (states, append (_, unbox (turtle_state)))
}
fn pop! () -> {
let state = do states > unbox > last
update! (states, butlast)
penup! ()
load_turtle_state! (state)
loadstate! (state)
}
fn branch! () -> {
pc! (colors :olive)
pc! (colors :green)
pw! (4)
fd! (20)
}