aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/lua/procedure
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/lua/procedure')
-rw-r--r--new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux17
1 files changed, 2 insertions, 15 deletions
diff --git a/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux
index b54829a62..67aa5417a 100644
--- a/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/lua/procedure/common.jvm.lux
@@ -284,12 +284,6 @@
Binary
(format "(" subjectO " .. " paramO ")"))
-(def: (text//contains? [subjectO paramO])
- Binary
- (|> (lua.apply "string.find" (list subjectO paramO (lua.int 1) (lua.bool true)))
- (lua.= lua.nil)
- lua.not))
-
(def: (text//char [subjectO paramO])
Binary
(runtimeT.text//char subjectO paramO))
@@ -299,15 +293,10 @@
Trinary
(<runtime> subjectO paramO extraO))]
- [text//clip runtimeT.text//clip]
- [text//replace-all runtimeT.text//replace-all]
- [text//replace-once runtimeT.text//replace-once]
+ [text//clip runtimeT.text//clip]
+ [text//index runtimeT.text//index]
)
-(def: (text//index [textO partO startO])
- Trinary
- (runtimeT.text//index textO partO startO))
-
## [[Math]]
(do-template [<name> <method>]
[(def: (<name> inputO)
@@ -451,8 +440,6 @@
(install "index" (trinary text//index))
(install "size" (unary text//size))
(install "hash" (unary text//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))
)))