mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
feat(Str.toNum): support decimal
This commit is contained in:
parent
d8a3a961bf
commit
bc5b1abcba
5 changed files with 34 additions and 1 deletions
|
@ -10,6 +10,7 @@ const STR = "str";
|
|||
const dec = @import("dec.zig");
|
||||
|
||||
comptime {
|
||||
exportDecFn(dec.fromStr, "from_str");
|
||||
exportDecFn(dec.fromF64C, "from_f64");
|
||||
exportDecFn(dec.eqC, "eq");
|
||||
exportDecFn(dec.neqC, "neq");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue