aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/python/procedure
diff options
context:
space:
mode:
authorEduardo Julian2018-07-11 21:17:42 -0400
committerEduardo Julian2018-07-11 21:17:42 -0400
commit0097e306a1e3b53e4cda304aac82b8778036eddf (patch)
treeee97d8986edd1c5d7162986a273fde0079fb5659 /new-luxc/source/luxc/lang/translation/python/procedure
parentf861af6c6bd57677ba4af2ee3275c69b11f68beb (diff)
- Got rid of "lux text replace-once" and "lux text replace-all" extensions.
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/python/procedure')
-rw-r--r--new-luxc/source/luxc/lang/translation/python/procedure/common.jvm.lux10
1 files changed, 0 insertions, 10 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 e2ab5113c..7dbeb2ab5 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
@@ -337,14 +337,6 @@
Binary
(runtimeT.text//char subjectO paramO))
-(def: (text//replace-all [subjectO paramO extraO])
- Trinary
- (python.send (list paramO extraO) "replace" subjectO))
-
-(def: (text//replace-once [subjectO paramO extraO])
- Trinary
- (python.send (list paramO extraO (python.int 1)) "replace" subjectO))
-
(def: (text//clip [subjectO paramO extraO])
Trinary
(runtimeT.text//clip subjectO paramO extraO))
@@ -363,8 +355,6 @@
(install "index" (trinary text//index))
(install "size" (unary (apply1 (python.global "len"))))
(install "hash" (unary (apply1 (python.global "hash"))))
- (install "replace-once" (trinary text//replace-once))
- (install "replace-all" (trinary text//replace-all))
(install "char" (binary text//char))
(install "clip" (trinary text//clip))
)))