3 ms·
I think that would be out of scope for the standard library. We do have an interface which might be helpful for developing such a tool, though: https://docs.ha
by ddevault 4y ago
I think that would be out of scope for the standard library. We do have an interface which might be helpful for developing such a tool, though:
https://docs.harelang.org/datetime#builder https://docs.harelang.org/datetime#builder
- wruza 4y agoToo bad that most stdlibs outscope it to third parties. Wildcard periods are essential for some applications (even as simple as a periodic reminder) and also are hard to do correctly. I’d say a period is actually more important than a date, because we mostly work with periods, and our “datetimes” are just integer coordinates of pixels of time, so to say.
- ddevault 4y agoWell, Hare is not a high-level programming language, and the standard library has a specific, finite scope. It's also not generally used in the kinds of situations where this is called for (think C -- there's not really a similar library for C, either). But that's not to say it isn't important -- I definitely think that there should be a library which provides this.