From a79927892174c3564c83a0e741e5cc0aaaeeb37c Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Fri, 30 Jun 2017 18:43:07 -0400 Subject: - WIP: Added generation for common procedures. --- new-luxc/source/luxc/analyser/procedure/common.lux | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'new-luxc/source/luxc/analyser') 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)) )) -- cgit v1.2.3