June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
|
|
@ -3,12 +3,12 @@ import extensions.
|
|||
func1 extension op
|
||||
{
|
||||
compose(BaseFunction1 f)
|
||||
= (:x)(self eval(f eval:x)).
|
||||
= (:x)(self(f(x))).
|
||||
}
|
||||
|
||||
program =
|
||||
[
|
||||
var fg := (:x)(x + 1) compose(:x)(x * x).
|
||||
|
||||
console printLine(fg eval(3)).
|
||||
console printLine(fg(3)).
|
||||
].
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue