Skip to content

Commit 0b2668d

Browse files
committed
Clarify that we encourage type-piracy
1 parent 627590b commit 0b2668d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ This package represents intervals of an ordered set. For an interval
99
spanning from `a` to `b`, all values `x` that lie between `a` and `b`
1010
are defined as being members of the interval.
1111

12+
This package is intended to implement a "minimal" foundation for
13+
intervals upon which other packages might build. In particular, we
14+
*encourage* "type-piracy" (developing new operations for the interval
15+
types defined here), for the reason that only one interval package can
16+
unambiguously define the `..` and `±` operators (see below).
17+
1218
Currently this package defines one concrete type, `ClosedInterval`.
1319
These define the closed set spanning from `a` to `b`, meaning the
1420
interval is defined as the set `{x}` satisfying `a ≤ x ≤ b`. This is

0 commit comments

Comments
 (0)