fix fibonacci example

main
Clyne 6 months ago
parent ea55b08698
commit 3b0bcf5339
Signed by: clyne
GPG Key ID: 3267C8EBF3F9AFC7

@ -10,8 +10,8 @@
(nil eq) $null? (nil eq) $null?
($x x) $force ($x x) $force
(10 emit) $cr (10 emit) $cr
(print) $print (_print) $print
(4 +) $cell+ (8 +) $cell+
($a $d 2 alloc $p ($a $d 2 alloc $p
^a ^p poke ^a ^p poke
^d ^p cell+ poke ^d ^p cell+ poke
@ -50,7 +50,7 @@
) endif ) endif
) force) $fibonacci ) force) $fibonacci
30 10 range 16 0 range
^fibonacci map ^fibonacci map
^print each ^print each
) )

Loading…
Cancel
Save