aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/python
diff options
context:
space:
mode:
authorEduardo Julian2018-07-11 21:45:38 -0400
committerEduardo Julian2018-07-11 21:45:38 -0400
commitf76922dfef6e88db854a27dc17987ccdc9736d6a (patch)
tree5c3dc4b67b6bddcbb31152ae2ace4baf9c5a3fe3 /new-luxc/source/luxc/lang/translation/python
parent0097e306a1e3b53e4cda304aac82b8778036eddf (diff)
- Removed stale machinery for "lux int min" and "lux int max".
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/python')
-rw-r--r--new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux11
1 files changed, 0 insertions, 11 deletions
diff --git a/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux
index 7dbeb2ab5..ea3d25687 100644
--- a/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux
@@ -227,15 +227,6 @@
[frac//max Double::MAX_VALUE python.float]
)
-(do-template [<name> <expression>]
- [(def: (<name> _)
- Nullary
- <expression>)]
-
- [int//min (|> (python.int -2) (python.** (python.int 63)))]
- [int//max (|> (python.int 2) (python.** (python.int 63)) (python.- (python.int 1)))]
- )
-
(do-template [<name> <op>]
[(def: (<name> [subjectO paramO])
Binary
@@ -305,8 +296,6 @@
(install "%" (binary int//rem))
(install "=" (binary int//=))
(install "<" (binary int//<))
- (install "min" (nullary int//min))
- (install "max" (nullary int//max))
(install "to-frac" (unary (apply1 (python.global "float"))))
(install "char" (unary (apply1 (python.global "chr")))))))