diff --git a/prelude.mq b/prelude.mq deleted file mode 100644 index e242c66..0000000 --- a/prelude.mq +++ /dev/null @@ -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;