September Morn Update

This commit is contained in:
Ingy döt Net 2019-09-12 10:33:56 -07:00
parent 4e2d22a71d
commit aac6731f2c
6856 changed files with 141342 additions and 21127 deletions

View file

@ -0,0 +1 @@
--- {}

View file

@ -0,0 +1,3 @@
USE: eval
: eval-bi@- ( a b program -- n )
tuck [ ( y -- z ) eval ] 2bi@ - ;

View file

@ -0,0 +1,2 @@
IN: scratchpad 9 4 "dup *" eval-bi@- .
65

View file

@ -0,0 +1 @@
: bi@- ( a b quot -- n ) bi@ - ; inline

View file

@ -0,0 +1,2 @@
IN: scratchpad 9 4 [ dup * ] bi@- .
65

View file

@ -0,0 +1,4 @@
SYMBOL: x
: eval-with-x ( a b program -- n )
tuck
[ [ x ] dip [ ( -- y ) eval ] curry with-variable ] 2bi@ - ;

View file

@ -0,0 +1,4 @@
IN: scratchpad 9 4 "x get dup *" eval-with-x .
65
IN: scratchpad x get .
f