@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
, bytesToU128
I also published basic-webserver 0.3.0 which now no longer uses Nat
.
Last updated: Jul 26 2025 at 12:14 UTC