When I see:
case x of
Foo a -> z
Bar b -> z'
--other cases
I mentally flip it and read "Of x, case "Foo a" goes to z, case "Bar
b" goes to z', ..."
So, wouldn't a more natural syntax have the word 'case' after the 'x'?
'case' is neither a preposition nor a verb and so seems confusing in
its current position.
How do others read this syntax? I realize this is completely
unimportant once learned, but from a pedagogical point of view I find
this interesting.