Fixed definition of instance Enum for tracing.

23 Mar
2001
23 Mar
'01
1:02 p.m.
olaf: Fri Mar 23 19:02:00 CET 2001 Update of /usr/src/master/nhc/src/prelude/Prelude In directory hinken:/tmp/cvs-serv24736 Modified Files: Enum_Char.hs Log Message: Fixed definition of instance Enum for tracing. For tracing the instance lacked definitions for toEnum and fromEnum. The same definitions as for untraced programs can be used. Hopefully not more instance definitions are lacking for tracing; here it really hurts that the compiler, following the Haskell standard, cannot detect missing instance definitions. Unfortunately a missing instance definition leads to faulty byte code for tracing in the current compiler. Still have to modify transformation to give proper runtime error.
8828
Age (days ago)
8828
Last active (days ago)
0 comments
1 participants
participants (1)
-
olaf@sparud.net