-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run roc check for each example in CI. #45
Open
imclerran
wants to merge
2
commits into
main
Choose a base branch
from
ci-check-examples
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
�[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m61�[0m�[1;36m│�[0m �[37m |> List.map \m -> Const.month_days { month: Num.toU64 m, is_leap: is_leap_year year }�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU16`: �[1;36m62�[0m�[1;36m│�[0m �[37m |> List.walkUntil { days_remaining: Num.toU16 day_of_year, month: 1 } walk_until_month_func�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i16 Num.to_u16 Num.to_i8 Num.to_i64 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mList�[0m module does not expose `walkUntil`: �[1;36m62�[0m�[1;36m│�[0m �[37m |> List.walkUntil { days_remaining: Num.toU16 day_of_year, month: 1 } walk_until_month_func�[0m �[1;31m^^^^^^^^^^^^^^�[0m Did you mean one of these? List.walk_until List.walk_try List.walk List.walk_from �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m63�[0m�[1;36m│�[0m �[37m |> \result -> { year: Num.toI64 year, month: Num.toU8 result.month, day_of_month: Num.toU8 result.days_remaining, day_of_year: Num.toU16 day_of_year }�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m63�[0m�[1;36m│�[0m �[37m |> \result -> { year: Num.toI64 year, month: Num.toU8 result.month, day_of_month: Num.toU8 result.days_remaining, day_of_year: Num.toU16 day_of_year }�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m63�[0m�[1;36m│�[0m �[37m |> \result -> { year: Num.toI64 year, month: Num.toU8 result.month, day_of_month: Num.toU8 result.days_remaining, day_of_year: Num.toU16 day_of_year }�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU16`: �[1;36m63�[0m�[1;36m│�[0m �[37m |> \result -> { year: Num.toI64 year, month: Num.toU8 result.month, day_of_month: Num.toU8 result.days_remaining, day_of_year: Num.toU16 day_of_year }�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i16 Num.to_u16 Num.to_i8 Num.to_i64 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU16`: �[1;36m82�[0m�[1;36m│�[0m �[37m if state.days_remaining <= Num.toU16 curr_month_days then�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i16 Num.to_u16 Num.to_i8 Num.to_i64 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU16`: �[1;36m85�[0m�[1;36m│�[0m �[37m Continue { days_remaining: state.days_remaining - Num.toU16 curr_month_days, month: state.month + 1 }�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i16 Num.to_u16 Num.to_i8 Num.to_i64 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m90�[0m�[1;36m│�[0m �[37m { year: Num.toI64 year, month: Num.toU8 month, day_of_month: Num.toU8 day, day_of_year: ymd_to_days_in_year year month day }�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m90�[0m�[1;36m│�[0m �[37m { year: Num.toI64 year, month: Num.toU8 month, day_of_month: Num.toU8 day, day_of_year: ymd_to_days_in_year year month day }�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m90�[0m�[1;36m│�[0m �[37m { year: Num.toI64 year, month: Num.toU8 month, day_of_month: Num.toU8 day, day_of_year: ymd_to_days_in_year year month day }�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m96�[0m�[1;36m│�[0m �[37m |> List.map \m -> Const.month_days { month: Num.toU64 m, is_leap: is_leap_year year }�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m98�[0m�[1;36m│�[0m �[37m |> Num.add (Num.toU64 day)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU16`: �[1;36m99�[0m�[1;36m│�[0m �[37m |> Num.toU16�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i16 Num.to_u16 Num.to_i8 Num.to_i64 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m105�[0m�[1;36m│�[0m �[37m d = calendar_week_to_days_in_year week year |> Num.add (Num.toU64 day)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m116�[0m�[1;36m│�[0m �[37m y = year |> Num.toU64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m117�[0m�[1;36m│�[0m �[37m w = week |> Num.toU64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m120�[0m�[1;36m│�[0m �[37m Const.epoch_week_offset - (num_days_since_epoch_until_year (Num.toI64 y) |> Num.toU64) % 7�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m120�[0m�[1;36m│�[0m �[37m Const.epoch_week_offset - (num_days_since_epoch_until_year (Num.toI64 y) |> Num.toU64) % 7�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m122�[0m�[1;36m│�[0m �[37m (Const.epoch_week_offset + (num_days_since_epoch_until_year (Num.toI64 y) |> Num.abs |> Num.toU64)) % 7�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m122�[0m�[1;36m│�[0m �[37m (Const.epoch_week_offset + (num_days_since_epoch_until_year (Num.toI64 y) |> Num.abs |> Num.toU64)) % 7�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m148�[0m�[1;36m│�[0m �[37m |> Num.toI64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m149�[0m�[1;36m│�[0m �[37m |> Num.add (days_in_years + Num.toI64 date.day_of_month - 1)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m154�[0m�[1;36m│�[0m �[37m |> Num.toI64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m155�[0m�[1;36m│�[0m �[37m |> Num.add (days_in_years + Num.toI64 (get_month_days date.month) - Num.toI64 date.day_of_month + 1)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m155�[0m�[1;36m│�[0m �[37m |> Num.add (days_in_years + Num.toI64 (get_month_days date.month) - Num.toI64 date.day_of_month + 1)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m168�[0m�[1;36m│�[0m �[37m (days_since_epoch + 4) % 7 |> Num.toU8�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m173�[0m�[1;36m│�[0m �[37m Const.month_days { month, is_leap: is_leap_year year } |> Num.toU8�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m184�[0m�[1;36m│�[0m �[37m days |> Num.toI128 |> Num.mul Const.nanos_per_day�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m190�[0m�[1;36m│�[0m �[37m from_nanos_helper (Num.toI128 days) 1970�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m206�[0m�[1;36m│�[0m �[37madd_years = \date, years -> from_ymd (date.year + Num.toI64 years) date.month date.day_of_month�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m212�[0m�[1;36m│�[0m �[37m new_month_with_overflow = date.month + Num.toU8 months�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m213�[0m�[1;36m│�[0m �[37m new_year = date.year + Num.toI64 (new_month_with_overflow // 12)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m216�[0m�[1;36m│�[0m �[37m if date.day_of_month > Num.toU8 (Const.month_days { month: new_month, is_leap: is_leap_year new_year }) then�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m217�[0m�[1;36m│�[0m �[37m Num.toU8 (Const.month_days { month: new_month, is_leap: is_leap_year new_year })�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI16`: �[1;36m226�[0m�[1;36m│�[0m �[37m add_days_helper date (Num.toI16 days)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i16 Num.to_u16 Num.to_i8 Num.to_i64 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI16`: �[1;36m231�[0m�[1;36m│�[0m �[37m new_day_of_year = (Num.toI16 date.day_of_year) + days�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i16 Num.to_u16 Num.to_i8 Num.to_i64 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI16`: �[1;36m236�[0m�[1;36m│�[0m �[37m add_days_helper { year: date.year - 1, month: 12, day_of_month: 31, day_of_year: 0 } (new_day_of_year + Num.toI16 days_in_prev_year)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i16 Num.to_u16 Num.to_i8 Num.to_i64 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m244�[0m�[1;36m│�[0m �[37m date_nanos = to_nanos_since_epoch date |> Num.toI128�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mStr�[0m module does not expose `toUtf8`: �[1;36m262�[0m�[1;36m│�[0m �[37mto_iso_u8 = \date -> to_iso_str date |> Str.toUtf8�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Str.to_utf8 Str.to_u8 Str.to_i8 Str.to_f64 �[1;36m── NOT EXPOSED in Date.roc ─────────────────────────────────────────────────────�[0m The �[1;32mStr�[0m module does not expose `toUtf8`: �[1;36m266�[0m�[1;36m│�[0m �[37mfrom_iso_str = \str -> Str.toUtf8 str |> from_iso_u8�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Str.to_utf8 Str.to_u8 Str.to_i8 Str.to_f64 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m35�[0m�[1;36m│�[0m �[37m (nanos // Const.nanos_per_day |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `maxI64`: �[1;36m35�[0m�[1;36m│�[0m �[37m (nanos // Const.nanos_per_day |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.max_i64 Num.max_u64 Num.max_f64 Num.max_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m35�[0m�[1;36m│�[0m �[37m (nanos // Const.nanos_per_day |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m40�[0m�[1;36m│�[0m �[37m days: nanos // (Const.nanos_per_day) |> Num.toI64,�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m41�[0m�[1;36m│�[0m �[37m hours: (nanos % (Const.nanos_per_day)) // Const.nanos_per_hour |> Num.toI8,�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m42�[0m�[1;36m│�[0m �[37m minutes: (nanos % Const.nanos_per_hour) // Const.nanos_per_minute |> Num.toI8,�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m43�[0m�[1;36m│�[0m �[37m seconds: (nanos % Const.nanos_per_minute) // Const.nanos_per_second |> Num.toI8,�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI32`: �[1;36m44�[0m�[1;36m│�[0m �[37m nanoseconds: nanos % Const.nanos_per_second |> Num.toI32,�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i32 Num.to_u32 Num.to_f32 Num.to_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m50�[0m�[1;36m│�[0m �[37m (Num.toI128 duration.nanoseconds)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m51�[0m�[1;36m│�[0m �[37m + (Num.toI128 duration.seconds)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m53�[0m�[1;36m│�[0m �[37m + (Num.toI128 duration.minutes)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m55�[0m�[1;36m│�[0m �[37m + (Num.toI128 duration.hours)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m57�[0m�[1;36m│�[0m �[37m + (Num.toI128 duration.days)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m64�[0m�[1;36m│�[0m �[37m (seconds // Const.seconds_per_day |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `maxI64`: �[1;36m64�[0m�[1;36m│�[0m �[37m (seconds // Const.seconds_per_day |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.max_i64 Num.max_u64 Num.max_f64 Num.max_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m64�[0m�[1;36m│�[0m �[37m (seconds // Const.seconds_per_day |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m69�[0m�[1;36m│�[0m �[37m days: seconds // (Const.seconds_per_day) |> Num.toI64,�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m70�[0m�[1;36m│�[0m �[37m hours: (seconds % (Const.seconds_per_day)) // Const.seconds_per_hour |> Num.toI8,�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m71�[0m�[1;36m│�[0m �[37m minutes: (seconds % Const.seconds_per_hour) // Const.seconds_per_minute |> Num.toI8,�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m72�[0m�[1;36m│�[0m �[37m seconds: seconds % Const.seconds_per_minute |> Num.toI8,�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m79�[0m�[1;36m│�[0m �[37m (Num.toI128 duration.seconds)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m80�[0m�[1;36m│�[0m �[37m + (Num.toI128 duration.minutes)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m82�[0m�[1;36m│�[0m �[37m + (Num.toI128 duration.hours)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m84�[0m�[1;36m│�[0m �[37m + (Num.toI128 duration.days)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m91�[0m�[1;36m│�[0m �[37m (minutes // Const.minutes_per_day |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `maxI64`: �[1;36m91�[0m�[1;36m│�[0m �[37m (minutes // Const.minutes_per_day |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.max_i64 Num.max_u64 Num.max_f64 Num.max_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m91�[0m�[1;36m│�[0m �[37m (minutes // Const.minutes_per_day |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m96�[0m�[1;36m│�[0m �[37m days: minutes // (Const.minutes_per_day) |> Num.toI64,�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m97�[0m�[1;36m│�[0m �[37m hours: (minutes % (Const.minutes_per_day)) // Const.minutes_per_hour |> Num.toI8,�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m98�[0m�[1;36m│�[0m �[37m minutes: minutes % Const.minutes_per_hour |> Num.toI8,�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m106�[0m�[1;36m│�[0m �[37m (Num.toI128 duration.minutes)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m107�[0m�[1;36m│�[0m �[37m + (Num.toI128 duration.hours)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m109�[0m�[1;36m│�[0m �[37m + (Num.toI128 duration.days)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m116�[0m�[1;36m│�[0m �[37m (hours // 24 |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `maxI64`: �[1;36m116�[0m�[1;36m│�[0m �[37m (hours // 24 |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.max_i64 Num.max_u64 Num.max_f64 Num.max_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m116�[0m�[1;36m│�[0m �[37m (hours // 24 |> Num.toI128) > (Num.maxI64 |> Num.toI128)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m121�[0m�[1;36m│�[0m �[37m days: hours // 24 |> Num.toI64,�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m122�[0m�[1;36m│�[0m �[37m hours: hours % 24 |> Num.toI8,�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m131�[0m�[1;36m│�[0m �[37m (Num.toI128 duration.hours)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m132�[0m�[1;36m│�[0m �[37m + (Num.toI128 duration.days)�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m139�[0m�[1;36m│�[0m �[37m days |> Num.toI128 > Num.maxI64 |> Num.toI128�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `maxI64`: �[1;36m139�[0m�[1;36m│�[0m �[37m days |> Num.toI128 > Num.maxI64 |> Num.toI128�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.max_i64 Num.max_u64 Num.max_f64 Num.max_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m139�[0m�[1;36m│�[0m �[37m days |> Num.toI128 > Num.maxI64 |> Num.toI128�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m144�[0m�[1;36m│�[0m �[37m days: days |> Num.toI64,�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `maxI64`: �[1;36m163�[0m�[1;36m│�[0m �[37m days = Num.maxI64�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.max_i64 Num.max_u64 Num.max_f64 Num.max_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `maxI64`: �[1;36m168�[0m�[1;36m│�[0m �[37m d1 = from_days (Num.maxI64 // 2) |> unwrap "will not overflow"�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.max_i64 Num.max_u64 Num.max_f64 Num.max_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `maxI64`: �[1;36m169�[0m�[1;36m│�[0m �[37m d2 = from_days (Num.maxI64 // 2) |> unwrap "will not overflow"�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.max_i64 Num.max_u64 Num.max_f64 Num.max_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `maxI64`: �[1;36m170�[0m�[1;36m│�[0m �[37m d3 = from_days ((Num.maxI64 // 2) * 2) |> unwrap "will not overflow"�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.max_i64 Num.max_u64 Num.max_f64 Num.max_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `minI64`: �[1;36m174�[0m�[1;36m│�[0m �[37m d1 = from_days Num.minI64 |> unwrap "will not overflow"�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.min_i64 Num.min_u64 Num.min_f64 Num.min_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `maxI64`: �[1;36m175�[0m�[1;36m│�[0m �[37m d2 = from_days Num.maxI64 |> unwrap "will not overflow"�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.max_i64 Num.max_u64 Num.max_f64 Num.max_i8 �[1;36m── NOT EXPOSED in Duration.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `maxI64`: �[1;36m180�[0m�[1;36m│�[0m �[37m duration = from_days Num.maxI64 |> unwrap "will not overflow"�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.max_i64 Num.max_u64 Num.max_f64 Num.max_i8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m94�[0m�[1;36m│�[0m �[37m time_nanos = Time.to_nanos_since_midnight date_time.time |> Num.toI128�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m101�[0m�[1;36m│�[0m �[37m if nanos < 0 && Num.toI128 nanos % Const.nanos_per_day != 0 then�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m108�[0m�[1;36m│�[0m �[37m time = time_nanos |> Num.toI64 |> Time.from_nanos_since_midnight�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m114�[0m�[1;36m│�[0m �[37m time_nanos = Time.to_nanos_since_midnight date_time.time + Num.toI64 nanos�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m117�[0m�[1;36m│�[0m �[37m time_nanos // Const.nanos_per_day |> Num.toI64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m128�[0m�[1;36m│�[0m �[37m |> Num.toI64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m134�[0m�[1;36m│�[0m �[37madd_seconds = \date_time, seconds -> add_nanoseconds date_time (Num.toI64 seconds * Const.nanos_per_second)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m138�[0m�[1;36m│�[0m �[37madd_minutes = \date_time, minutes -> add_nanoseconds date_time (Num.toI64 minutes * Const.nanos_per_minute)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m142�[0m�[1;36m│�[0m �[37madd_hours = \date_time, hours -> add_nanoseconds date_time (Num.toI64 hours * Const.nanos_per_hour)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m160�[0m�[1;36m│�[0m �[37m date_nanos = Date.to_nanos_since_epoch date_time.date |> Num.toI128�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m161�[0m�[1;36m│�[0m �[37m time_nanos = Time.to_nanos_since_midnight date_time.time |> Num.toI128�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mStr�[0m module does not expose `toUtf8`: �[1;36m180�[0m�[1;36m│�[0m �[37mfrom_iso_str = \str -> Str.toUtf8 str |> from_iso_u8�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Str.to_utf8 Str.to_u8 Str.to_i8 Str.to_f64 �[1;36m── NOT EXPOSED in DateTime.roc ─────────────────────────────────────────────────�[0m The �[1;32mStr�[0m module does not expose `toUtf8`: �[1;36m207�[0m�[1;36m│�[0m �[37mexpect to_iso_u8 unix_epoch == Str.toUtf8 "1970-01-01T00:00:00"�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Str.to_utf8 Str.to_u8 Str.to_i8 Str.to_f64 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m67�[0m�[1;36m│�[0m �[37mfrom_hms = \hour, minute, second -> { hour: Num.toI8 hour, minute: Num.toU8 minute, second: Num.toU8 second, nanosecond: 0u32 }�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m67�[0m�[1;36m│�[0m �[37mfrom_hms = \hour, minute, second -> { hour: Num.toI8 hour, minute: Num.toU8 minute, second: Num.toU8 second, nanosecond: 0u32 }�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m67�[0m�[1;36m│�[0m �[37mfrom_hms = \hour, minute, second -> { hour: Num.toI8 hour, minute: Num.toU8 minute, second: Num.toU8 second, nanosecond: 0u32 }�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m72�[0m�[1;36m│�[0m �[37m { hour: Num.toI8 hour, minute: Num.toU8 minute, second: Num.toU8 second, nanosecond: Num.toU32 nanosecond }�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m72�[0m�[1;36m│�[0m �[37m { hour: Num.toI8 hour, minute: Num.toU8 minute, second: Num.toU8 second, nanosecond: Num.toU32 nanosecond }�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m72�[0m�[1;36m│�[0m �[37m { hour: Num.toI8 hour, minute: Num.toU8 minute, second: Num.toU8 second, nanosecond: Num.toU32 nanosecond }�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU32`: �[1;36m72�[0m�[1;36m│�[0m �[37m { hour: Num.toI8 hour, minute: Num.toU8 minute, second: Num.toU8 second, nanosecond: Num.toU32 nanosecond }�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i32 Num.to_u32 Num.to_f32 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m77�[0m�[1;36m│�[0m �[37m h_nanos = time.hour |> Num.toI64 |> Num.mul Const.nanos_per_hour |> Num.toI64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m77�[0m�[1;36m│�[0m �[37m h_nanos = time.hour |> Num.toI64 |> Num.mul Const.nanos_per_hour |> Num.toI64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m78�[0m�[1;36m│�[0m �[37m m_nanos = time.minute |> Num.toI64 |> Num.mul Const.nanos_per_minute |> Num.toI64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m78�[0m�[1;36m│�[0m �[37m m_nanos = time.minute |> Num.toI64 |> Num.mul Const.nanos_per_minute |> Num.toI64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m79�[0m�[1;36m│�[0m �[37m s_nanos = time.second |> Num.toI64 |> Num.mul Const.nanos_per_second |> Num.toI64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m79�[0m�[1;36m│�[0m �[37m s_nanos = time.second |> Num.toI64 |> Num.mul Const.nanos_per_second |> Num.toI64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m80�[0m�[1;36m│�[0m �[37m nanos = time.nanosecond |> Num.toI64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m86�[0m�[1;36m│�[0m �[37m nanos1 = nanos |> Num.rem Const.nanos_per_day |> Num.add Const.nanos_per_day |> Num.rem Const.nanos_per_day |> Num.toU64�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m88�[0m�[1;36m│�[0m �[37m minute = nanos2 // nanos_per_minute |> Num.toU8�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m90�[0m�[1;36m│�[0m �[37m second = nanos3 // nanos_per_second |> Num.toU8�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU32`: �[1;36m91�[0m�[1;36m│�[0m �[37m nanosecond = nanos3 % nanos_per_second |> Num.toU32�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i32 Num.to_u32 Num.to_f32 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m92�[0m�[1;36m│�[0m �[37m hour = (nanos - Num.intCast (Num.toI64 minute * nanos_per_minute + Num.toI64 second * nanos_per_second + Num.toI64 nanosecond)) // nanos_per_hour |> Num.toI8 # % Const.hoursPerDay |> Num.toI8�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m92�[0m�[1;36m│�[0m �[37m hour = (nanos - Num.intCast (Num.toI64 minute * nanos_per_minute + Num.toI64 second * nanos_per_second + Num.toI64 nanosecond)) // nanos_per_hour |> Num.toI8 # % Const.hoursPerDay |> Num.toI8�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m92�[0m�[1;36m│�[0m �[37m hour = (nanos - Num.intCast (Num.toI64 minute * nanos_per_minute + Num.toI64 second * nanos_per_second + Num.toI64 nanosecond)) // nanos_per_hour |> Num.toI8 # % Const.hoursPerDay |> Num.toI8�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `intCast`: �[1;36m92�[0m�[1;36m│�[0m �[37m hour = (nanos - Num.intCast (Num.toI64 minute * nanos_per_minute + Num.toI64 second * nanos_per_second + Num.toI64 nanosecond)) // nanos_per_hour |> Num.toI8 # % Const.hoursPerDay |> Num.toI8�[0m �[1;31m^^^^^^^^^^^�[0m Did you mean one of these? Num.int_cast Num.is_lt Num.is_gt Num.tan �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI8`: �[1;36m92�[0m�[1;36m│�[0m �[37m hour = (nanos - Num.intCast (Num.toI64 minute * nanos_per_minute + Num.toI64 second * nanos_per_second + Num.toI64 nanosecond)) // nanos_per_hour |> Num.toI8 # % Const.hoursPerDay |> Num.toI8�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m98�[0m�[1;36m│�[0m �[37m to_nanos_since_midnight time + Num.toI64 nanos |> from_nanos_since_midnight�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI128`: �[1;36m116�[0m�[1;36m│�[0m �[37m time_nanos = to_nanos_since_midnight time |> Num.toI128�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.to_i128 Num.to_u128 Num.to_i8 Num.to_u8 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mStr�[0m module does not expose `toUtf8`: �[1;36m144�[0m�[1;36m│�[0m �[37m when untrimmed_str |> Str.toUtf8 |> List.takeFirst (length + 1) |> Str.fromUtf8 is�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Str.to_utf8 Str.to_u8 Str.to_i8 Str.to_f64 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mList�[0m module does not expose `takeFirst`: �[1;36m144�[0m�[1;36m│�[0m �[37m when untrimmed_str |> Str.toUtf8 |> List.takeFirst (length + 1) |> Str.fromUtf8 is�[0m �[1;31m^^^^^^^^^^^^^^�[0m Did you mean one of these? List.take_first List.take_last List.first List.reverse �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mStr�[0m module does not expose `fromUtf8`: �[1;36m144�[0m�[1;36m│�[0m �[37m when untrimmed_str |> Str.toUtf8 |> List.takeFirst (length + 1) |> Str.fromUtf8 is�[0m �[1;31m^^^^^^^^^^^^�[0m Did you mean one of these? Str.from_utf8 Str.to_utf8 Str.walk_utf8 Str.trim �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mStr�[0m module does not expose `toUtf8`: �[1;36m159�[0m�[1;36m│�[0m �[37mto_iso_u8 = \time -> to_iso_str time |> Str.toUtf8�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Str.to_utf8 Str.to_u8 Str.to_i8 Str.to_f64 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mStr�[0m module does not expose `toUtf8`: �[1;36m163�[0m�[1;36m│�[0m �[37mfrom_iso_str = \str -> Str.toUtf8 str |> from_iso_u8�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Str.to_utf8 Str.to_u8 Str.to_i8 Str.to_f64 �[1;36m── NOT EXPOSED in Time.roc ─────────────────────────────────────────────────────�[0m The �[1;32mResult�[0m module does not expose `mapErr`: �[1;36m269�[0m�[1;36m│�[0m �[37m Valid -> Duration.from_nanoseconds offset_nanos |> Result.mapErr \_ -> InvalidTimeFormat�[0m �[1;31m^^^^^^^^^^^^^�[0m Did you mean one of these? Result.map_err Result.map Result.map2 Result.is_err �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mList�[0m module does not expose `sortDesc`: �[1;36m15�[0m�[1;36m│�[0m �[37m split_list_at_indices_recur list (List.sortDesc indices)�[0m �[1;31m^^^^^^^^^^^^^�[0m Did you mean one of these? List.sort_asc List.sort_desc List.sort_with List.set �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m21�[0m�[1;36m│�[0m �[37m { before, others } = List.splitAt list (Num.toU64 x)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mList�[0m module does not expose `splitAt`: �[1;36m21�[0m�[1;36m│�[0m �[37m { before, others } = List.splitAt list (Num.toU64 x)�[0m �[1;31m^^^^^^^^^^^^�[0m Did you mean one of these? List.split_at List.split_on List.sublist List.split_last �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m20�[0m�[1;36m│�[0m �[37m [x, .. as xs] if x != 0 && x != List.len list |> Num.toU8 ->�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `bitwiseAnd`: �[1;36m54�[0m�[1;36m│�[0m �[37m if List.all u8_list \u8 -> Num.bitwiseAnd u8 0b10000000 == 0b00000000 then�[0m �[1;31m^^^^^^^^^^^^^^�[0m Did you mean one of these? Num.bitwise_and Num.bitwise_or Num.bitwise_not Num.bitwise_xor �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m66�[0m�[1;36m│�[0m �[37m Ok (num + (Num.toU64 byte - 0x30) * (Num.toU64 (Num.powInt 10 index)))�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `powInt`: �[1;36m66�[0m�[1;36m│�[0m �[37m Ok (num + (Num.toU64 byte - 0x30) * (Num.toU64 (Num.powInt 10 index)))�[0m �[1;31m^^^^^^^^^^�[0m Did you mean one of these? Num.pow_int Num.pow Num.round Num.is_lt �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU64`: �[1;36m66�[0m�[1;36m│�[0m �[37m Ok (num + (Num.toU64 byte - 0x30) * (Num.toU64 (Num.powInt 10 index)))�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mList�[0m module does not expose `walkWithIndex`: �[1;36m63�[0m�[1;36m│�[0m �[37m |> List.walkWithIndex (Ok 0) \num_result, byte, index ->�[0m �[1;31m^^^^^^^^^^^^^^^^^^�[0m Did you mean one of these? List.walk_with_index List.map_with_index List.walk_until List.walk_try �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m73�[0m�[1;36m│�[0m �[37m ['-', .. as xs] -> utf8_to_int xs |> Result.map \num -> -1 * Num.toI64 num�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m74�[0m�[1;36m│�[0m �[37m ['+', .. as xs] -> utf8_to_int xs |> Result.map \num -> Num.toI64 num�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toI64`: �[1;36m75�[0m�[1;36m│�[0m �[37m _ -> utf8_to_int u8_list |> Result.map \num -> Num.toI64 num�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m85�[0m�[1;36m│�[0m �[37m decimal_shift = List.len tail |> Num.toU8�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toF64`: �[1;36m86�[0m�[1;36m│�[0m �[37m Num.toF64 int_part + move_decimal_point (Num.toF64 frac_part) decimal_shift |> Ok�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toF64`: �[1;36m86�[0m�[1;36m│�[0m �[37m Num.toF64 int_part + move_decimal_point (Num.toF64 frac_part) decimal_shift |> Ok�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m92�[0m�[1;36m│�[0m �[37m decimal_shift = List.len tail |> Num.toU8�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toF64`: �[1;36m93�[0m�[1;36m│�[0m �[37m Ok (move_decimal_point (Num.toF64 frac_part) decimal_shift)�[0m �[1;31m^^^^^^^^^�[0m Did you mean one of these? Num.to_i64 Num.to_u64 Num.to_f64 Num.to_i8 �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toU8`: �[1;36m97�[0m�[1;36m│�[0m �[37m decimal_shift = List.len tail |> Num.toU8�[0m �[1;31m^^^^^^^^�[0m Did you mean one of these? Num.to_i8 Num.to_u8 Num.cos Num.tan �[1;36m── NOT EXPOSED in Utils.roc ────────────────────────────────────────────────────�[0m The �[1;32mNum�[0m module does not expose `toF64`: �[1;36m98�[0m�[1;36m│�[0m �[37m Ok (move_decimal_point (Num.toF64 frac_part) decimal_shift)�[0m …
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.