
23 Jul
2003
23 Jul
'03
8:14 a.m.
Hi, the case-identity transformation is case e of pat1 -> pat1 ===> e ... patn -> patn It's performed in SimplUtils.mkCase1. My (very special) question is: How do you ensure, that there's a case-alternative for every constructor of the type of e? Otherwise you could transform case e of {True -> True} ===> True, if e is of type Bool, but that't not correct if e is False. Maybe you add a default-alternative DEFAULT -> error ... ? Thanks, David
7973
Age (days ago)
7973
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Sabel