Current Rust glue seems to assume that RocDec implements Default, PartialOrd, and Ord, but these aren't implemented in the roc_std. Since it's a fixed-point type, it should be trivially totally orderable, and Default should probably just return 0 like all the other number types. Is there a reason these shouldn't be implemented or is this an oversight?
oversight I think!
feel free to add them :smiley:
Gotcha! I'll make a pull request.
#7166 :)
Last updated: Jul 06 2025 at 12:14 UTC