ref: e2ca4b93e4deb4d3c390caf5de467430925dffa3
parent: 6dd14a51e82d8586f9eca77443e01dc5990c0a2e
author: konsumlamm <konsumlamm@gmail.com>
date: Fri Jan 10 14:12:13 EST 2025
Add missing primitives in `translate`
--- a/src/MicroHs/Translate.hs
+++ b/src/MicroHs/Translate.hs
@@ -110,6 +110,7 @@
("equal", primitive "equal"),
("scmp", primitive "scmp"),
("icmp", primitive "icmp"),
+ ("ucmp", primitive "ucmp"),
("rnf", primitive "rnf"),
("IO.>>=", primitive "IO.>>="),
("IO.>>", primitive "IO.>>"),
@@ -134,6 +135,7 @@
("toDbl", primitive "toDbl"),
("toFunPtr", primitive "toFunPtr"),
("A.alloc", primitive "A.alloc"),
+ ("A.copy", primitive "A.copy"),
("A.size", primitive "A.size"),
("A.read", primitive "A.read"),
("A.write", primitive "A.write"),