in reply to Re^4: Non-fatal error handling with Mouse types?
in thread Non-fatal error handling with Mouse types?
Sorry, I don't know what that notation means. I see from your previous threads that you know what an XY problem is so I imagine you are sure that using type constraints where the type is not actually constrained is not barking up the wrong tree. It is however contrary to the standard use of constraints, hence the solutions you have found acceptable are limited to further abusing the tools you have.
Maybe you wish to conform the provided values to a range of acceptable ones instead? Perhaps you could make use of coercions in conjunction with your constraints in that case.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Non-fatal error handling with Mouse types?
by pryrt (Abbot) on Oct 02, 2019 at 16:14 UTC |