|
|
|
|
|
by jdmichal
4004 days ago
|
|
I find the differing syntax between function and variable storage to be interesting. Is there any particular reason these aren't unified? Assuming anything in brackets is a first-class "function" object, something like this should be possible: 2 /two define
{ two add } /addTwo define
|
|
{ 2 } /putTwoOnStack deff
{ 2 } /putClosureOnStack defv
putTwoOnStack dump # 2
putClosureOnStack dump # <function 0006002514AE5>
putClosureOnStack * dump # 2