Stream: show and tell

Topic: Roc-IsoDate package


view this post on Zulip Ian McLerran (Feb 02 2024 at 00:13):

Hey all! I'm excited to announce the Roc-IsoDate package! :package: :rocket: This is a Roc package for parsing ISO-8601 Date/Time strings into the Utc type provided by the basic-cli and basic-webserver platforms.

As of today, the package has full support for all ISO standard date, time, and date-time strings. Time intervals are not yet supported, but are the next planned stage in development. If anyone has any thoughts, suggestions, or feedback of any kind, let me know!

view this post on Zulip Brendan Hansknecht (Feb 02 2024 at 00:16):

It will be nice when platforms can depend on packages directly. Then you won't have to reimplement the opaque utc type.

Instead it will be:

Everything happening with a shared type and single place for updates.

view this post on Zulip Ian McLerran (Feb 02 2024 at 00:23):

Yeah, that will definitely streamline things a lot! right now we have copies of the Utc code in all 3 repositories, which is definitely less than ideal.

view this post on Zulip Richard Feldman (Feb 02 2024 at 00:27):

great work @Ian McLerran, this is awesome!!! :smiley:

view this post on Zulip Luke Boswell (Feb 02 2024 at 03:16):

Added to roc-awesome :heart:

view this post on Zulip Ian McLerran (Feb 02 2024 at 03:18):

Fantastic, thanks, @Luke Boswell! :star_struck:

view this post on Zulip Anton (Feb 02 2024 at 09:05):

It will be nice when platforms can depend on packages directly.

I wasn't aware of this limitation, what's the blocker there?

view this post on Zulip Luke Boswell (Feb 02 2024 at 10:02):

There's a bug which makes it not possible rn. Should be fixed with module params rewrite.

view this post on Zulip Luke Boswell (Feb 02 2024 at 10:05):

I thought we had an issue for it, I had a quick look and haven't found it. I thought Agus raised it.

view this post on Zulip Richard Feldman (Feb 02 2024 at 12:18):

yeah the bug is that in general only applications can depend on packages; there's a compiler crash if non-applications try to do it


Last updated: Jul 06 2025 at 12:14 UTC