-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
- General overhaul.
- move to libgmp?
- trig functions.
- Pre-compute constant values at compile time.
- allow numeric (not symbolic) arithmetic expressions in patterns.
- allow unpacking of numerator and denominator variables in patterns.
- special case:
a / bbecause there is a canonical form (via gcd). - match would fail if the actual argument is not integer or rational.
bwould be bound to1if the argument was an integer.- can't allow arbitrary ops and combinations because i.e.
(a + 2) * b
can't uniquely determineaandb, anda ** 2would requirea
to be bound to the square root of the actual argument.
- special case:
- allow unpacking of the real and imaginary parts of a complex number in patterns.
- another special case:
a + b,bwould be bound to0iif the actual
argument is not complex.
- another special case:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request