You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closed (n :: Nat) (m :: Nat) does not allow a closed interval that includes negative numbers due to the use of Nat. There are use cases where this would be convenient, such as representing a statistical normalized output as Closed (-1) 1.
Nat could be swapped out with a different type or alternatively an additional parameter could be added to indicate a negative offset:
type IntClosed = IntClosed Nat Nat Nat
type Closed = IntClosed Nat Nat 0
The text was updated successfully, but these errors were encountered:
Closed (n :: Nat) (m :: Nat)
does not allow a closed interval that includes negative numbers due to the use ofNat
. There are use cases where this would be convenient, such as representing a statistical normalized output asClosed (-1) 1
.Nat
could be swapped out with a different type or alternatively an additional parameter could be added to indicate a negative offset:The text was updated successfully, but these errors were encountered: