-
-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Is your feature request related to a problem? Please describe.
I always get frustrated when I have to write some really long type names.
For example, it would be nice if (ImmHT Nonneg-Rat (WBox (WBox Imag)))
could be treated as an alias for (Immutable-HashTable Nonnegative-Exact-Rational (Weak-Boxof (Weak-Boxof Imaginary)))
.
And some existing type aliases are not always consistent. For example, Float
is an alias of Flonum
, but ExtFloat-Positive-Zero
is not defined.
Describe the solution you'd like
I wish we could simplify type names in some way (maybe aliasing rules?).
Listed below are the aliases I'd like:
[Exact-Positive (Positive-Exact)]
[Exact-Nonpositive (Nonpositive-Exact)]
[Exact-Negative (Negative-Exact)]
[Exact-Nonnegative (Nonnegative-Exact)]
[Rational (Rat)]
[Positive (Pos)]
[positive (pos)]
[Negative (Neg)]
[negative (neg)]
[Exact-Integer (Integer)]
[Exact-Rational (Rational)]
[Natural (Nat)]
[Integer (Int)]
[Flonum (Float)]
[Imaginary (Imag)]
[Nothing (None)]
[Mutable- (M)]
[Immutable- (Imm)]
[Weak- (W)]
[Boxof (Box)]
[Pairof (Pair)]
[HashTable (HT)]
[∪ (U Un Union)]
[∩ (Intersection)]
[∀ (All)]
[∃ (Exist)]
[-> (→)]
[<- (←)]
Metadata
Metadata
Assignees
Labels
No labels