Have Apply call Assoc

This commit is contained in:
Justine Tunney 2021-12-12 14:49:02 -08:00
parent 540034fd2f
commit ec8c0ce6df

View file

@ -186,7 +186,7 @@ Gc: cmp %dx,%di # Gc(x:di,A:dx,B:si):ax
ret
.resolv:push %si
call Eval # do (fn si) ((λ ...) si)
call Assoc # do (fn si) ((λ ...) si)
pop %si
Apply: test %ax,%ax # Apply(fn:ax,x:si:a:dx):ax
jns .switch # jump if atom