Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
[ nested swap
|
||||
nested swap join ] is compose ( g f --> [ )
|
||||
|
||||
( ----- demonstration ----- )
|
||||
|
||||
( create a named nest -- equivalent to a function )
|
||||
|
||||
[ 2 * ] is double ( n --> n )
|
||||
|
||||
( "[ 4 + ]" is an unnamed nest
|
||||
-- equivalent to a lambda function. )
|
||||
|
||||
( "quoting" a nest with ' puts it on the stack
|
||||
rather than it being evaluated. "do" evaluates
|
||||
the top of stack. )
|
||||
|
||||
19 ' double ' [ 4 + ] compose do echo
|
||||
Loading…
Add table
Add a link
Reference in a new issue