September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
|
|
@ -0,0 +1,18 @@
|
|||
import system'collections.
|
||||
import system'routines.
|
||||
import extensions.
|
||||
|
||||
program =
|
||||
[
|
||||
var partial := (:afs:af)((:s)(afs eval(af, s))).
|
||||
|
||||
var fs := (:f:s)(s selectBy(:x)(f eval:x); summarize(ArrayList new); toArray).
|
||||
var f1 := (:x)(x * 2).
|
||||
var f2 := (:x)(x * x).
|
||||
|
||||
var fsf1 := partial eval(fs, f1).
|
||||
var fsf2 := partial eval(fs, f2).
|
||||
|
||||
console printLine(fsf1 eval:(2,4,6,8)).
|
||||
console printLine(fsf2 eval:(2,4,6,8)).
|
||||
].
|
||||
Loading…
Add table
Add a link
Reference in a new issue