Skip to content

Commit 505dffc

Browse files
committed
rename primitive
1 parent d744f24 commit 505dffc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/ml/unified_ops.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ let entries =
5959
[|
6060
{
6161
path = builtin "~+";
62-
name = "%pos";
62+
name = "%plus";
6363
form = Unary;
6464
specialization =
6565
{

runtime/Pervasives.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ external __POS_OF__: 'a => ((string, int, int, int), 'a) = "%loc_POS"
4242

4343
/* Unified operations */
4444

45-
external \"~+": 'a => 'a = "%pos"
45+
external \"~+": 'a => 'a = "%plus"
4646
external \"~-": 'a => 'a = "%neg"
4747

4848
external \"+": ('a, 'a) => 'a = "%add"

0 commit comments

Comments
 (0)