-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Query] Signal structured error (NoAnswer) instead of just Error #384
Conversation
I like the idea but before I merge it, I'd like to know how where this is going to be used. The thing is, there's no NoAnswer in Smalltalk/X and the Query implementation is different. I'm not opposed changing St/X but that needs a bit of work. |
Okay, adding |
After a few more hours of contemplating, I think I am starting to understand this a bit better. We are looking at another example of consequences of dynamic typing — a fundamental design choice in Smalltalk — on compositionality. Consider the following example of the original question, due to Kleisli, seemingly unrelated to computer programming: the equation
can be solved for In Haskell, many functions "F" come in two variants, "F" and "maybeF". In Smalltalk terms, "divide" would signal a ZeroDivide but "maybeDivide" would answer NaN. Or, So for our
At this point in time, there are no uses of |
Oh, wait! Can you explain this again? How does changing |
07cbc01
to
539dffa
Compare
Something like |
No description provided.