Skip to content

An interval type #37

Description

@ariebovenberg

Something that's quite common in datetime libraries is an 'interval' type.

It's not the question whether such a thing could be implemented, but whether it is possible to define the 'just right' abstraction that supports the common use cases without being overly complex.

Questions that come to mind:

  • are intervals always closed-open, or are other variants possible?
  • Can intervals only exist of aware types?

Metadata

Metadata

Assignees

Labels

Long termLow priority for nowdiscussionDiscussion is needed before proceeding

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions