> One of the tricky things for people is exactly how to phrase cases.
> I'd rather that sasylf have better error messages about
> (say) "type errors" in cases rather than the ubiquitous error
> about cases being overly specific. I would like students to
> express the cases themselves. Would you agree, Daniel, that there
> is purpose in making the student/user express the case themselves?
Yes, I'd like to get Daniel and others' feedback on exactly this point!
But John, perhaps you could also clarify: by "type error" you mean
essentially that the case does not even typecheck, e.g. it's not even a
valid instance of the rule it claims to be an instance of?
I'd have to look back at the source code to see what checks are being
done, but it seems we could check for that before doing the "overly
specific" check (not sure why we aren't already, actually). I think I
can guess at what this is but as always, if you have a particularly nice
example of where SASyLF could give a better error message, it may help
make sure we get the fix right.
Thanks,
Jonathan
Original message from Jonathan Aldrich:
> ] One of my students is using SASyLF for real research, and found that the
> ] hardest aspect of using SASyLF is coming up with exactly the right cases
> ] in case analysis. I'm sure many SASyLF users feel the same.
> ]
> ] It turns out that in order to check that all cases are present, the tool
> ] has to generate them. So if you are missing one, the tool can
> ] (conceptually) tell you *exactly* what the missing cases are. Should it?
> ]
> ] For a "real" user like my student, the answer is clearly yes. But would
> ] this take away too much of a "learning opportunity" in an educational
> ] context?
> ]
> ] I actually have a kludgey version of this implemented already, but have
> ] not distributed it (beyond the one student) because of this concern.
> ] Let me know what you think.
> One of the tricky things for people is exactly how to phrase cases.
> I'd rather that sasylf have better error messages about
> (say) "type errors" in cases rather than the ubiquitous error
> about cases being overly specific. I would like students to
> express the cases themselves. Would you agree, Daniel, that there
> is purpose in making the student/user express the case themselves?