All stuff from this file is builtin
This commit is contained in:
parent
0743a9b7c4
commit
9213d5219a
22
prelude.mq
22
prelude.mq
@ -1,22 +0,0 @@
|
|||||||
var iota = [n |
|
|
||||||
var iter = [start stop |
|
|
||||||
if (start >= stop) [[]] [flat start (iter (start+1) stop)]
|
|
||||||
];
|
|
||||||
iter 0 n
|
|
||||||
];
|
|
||||||
|
|
||||||
var map = [array fun|
|
|
||||||
var iter = [start stop |
|
|
||||||
if (start >= stop) [[]] [flat (fun (array.start)) (iter (start+1) stop)]
|
|
||||||
];
|
|
||||||
iter 0 (len array)
|
|
||||||
];
|
|
||||||
|
|
||||||
var each = [array fun|
|
|
||||||
var iter = [start stop |
|
|
||||||
if (start >= stop) [nil] [fun (array.start); iter (start+1) stop]
|
|
||||||
];
|
|
||||||
iter 0 (len array)
|
|
||||||
];
|
|
||||||
|
|
||||||
var cdur = c47;
|
|
Loading…
Reference in New Issue
Block a user