aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/analyser
diff options
context:
space:
mode:
authorEduardo Julian2017-06-30 18:43:07 -0400
committerEduardo Julian2017-06-30 18:43:07 -0400
commita79927892174c3564c83a0e741e5cc0aaaeeb37c (patch)
tree780936163414dd6105cf00bb5debb8ee9a7a518a /new-luxc/source/luxc/analyser
parent36cf0c61991bda395e224fa2d435fa6b6f5090e5 (diff)
- WIP: Added generation for common procedures.
Diffstat (limited to '')
-rw-r--r--new-luxc/source/luxc/analyser/procedure/common.lux5
1 files changed, 2 insertions, 3 deletions
diff --git a/new-luxc/source/luxc/analyser/procedure/common.lux b/new-luxc/source/luxc/analyser/procedure/common.lux
index 303cdc61c..e96874960 100644
--- a/new-luxc/source/luxc/analyser/procedure/common.lux
+++ b/new-luxc/source/luxc/analyser/procedure/common.lux
@@ -169,7 +169,7 @@
(install "deg =" (binary-operation Deg Deg Bool))
(install "deg <" (binary-operation Deg Deg Bool))
(install "deg scale" (binary-operation Deg Nat Deg))
- (install "deg reciprocal" (unary-operation Nat Deg))
+ (install "deg reciprocal" (binary-operation Deg Nat Deg))
(install "deg min" (special-value Deg))
(install "deg max" (special-value Deg))
(install "deg to-real" (converter Deg Real))))
@@ -204,8 +204,7 @@
(install "text index" (trinary-operation Text Text Nat (type (Maybe Nat))))
(install "text size" (unary-operation Text Nat))
(install "text hash" (unary-operation Text Nat))
- (install "text replace-once" (trinary-operation Text Text Text Text))
- (install "text replace-all" (trinary-operation Text Text Text Text))
+ (install "text replace" (trinary-operation Text Text Text Text))
(install "text char" (binary-operation Text Nat Nat))
(install "text clip" (trinary-operation Text Nat Nat Text))
))