From 97ab1f076ac08992d6b64cd77bc0bef97b3fc50a Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 31 Jul 2018 22:23:07 -0400 Subject: Now implementing array functionality in stdlib instead of the compiler. --- .../lang/translation/php/procedure/common.jvm.lux | 31 ---------------------- 1 file changed, 31 deletions(-) (limited to 'new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux') diff --git a/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux index 774c28acf..f77a35292 100644 --- a/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/php/procedure/common.jvm.lux @@ -182,36 +182,6 @@ ## (install "arithmetic-right-shift" (binary bit//arithmetic-right-shift)) ## ))) -## ## [[Arrays]] -## (def: (array//new sizeO) -## Unary -## (|> _.none -## list _.list -## (_.* sizeO))) - -## (def: (array//get [arrayO idxO]) -## Binary -## (runtimeT.array//get arrayO idxO)) - -## (def: (array//put [arrayO idxO elemO]) -## Trinary -## (runtimeT.array//put arrayO idxO elemO)) - -## (def: (array//remove [arrayO idxO]) -## Binary -## (runtimeT.array//put arrayO idxO _.none)) - -## (def: array-procs -## Bundle -## (<| (prefix "array") -## (|> (dict.new text.Hash) -## (install "new" (unary array//new)) -## (install "get" (binary array//get)) -## (install "put" (trinary array//put)) -## (install "remove" (binary array//remove)) -## (install "size" (unary _.length)) -## ))) - ## ## [[Numbers]] ## (host.import: java/lang/Double ## (#static MIN_VALUE Double) @@ -348,6 +318,5 @@ (dict.merge int-procs) ## (dict.merge frac-procs) ## (dict.merge text-procs) - ## (dict.merge array-procs) ## (dict.merge io-procs) ))) -- cgit v1.2.3