@everyone as of today's nightly, Nat has been removed from Roc.
In your code U64 is most likely the best replacement.
With this change the following functions have also been removed:
Str.fromUtf8Range: seemless slices make this function unnecessary. You can use List.sublist followed by Str.fromUtf8 instead.Num.bytesToU16,bytesToU32, bytesToU64, bytesToU128I also published basic-webserver 0.3.0 which now no longer uses Nat.
Last updated: Feb 20 2026 at 12:27 UTC