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.


The way forward always starts with a minimal test.
  • Comment on Re^5: Non-fatal error handling with Mouse types?

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
    Sorry, I don't know what that notation means.

    This part, I can help with on the technical end. Those are logic symbols, often used in mathy-circumstances (as opposed to specific programming language implementations and operators): see List_of_logic_symbols.