ross 2006/11/14 01:09:47 PST
Modified files: src compiler.c Log: fix record construction and update for records (fixes #46). The internal representation of newtypes elides the data constructor, so we need different translations for records on newtypes: C{} = throw (RecConError "C") C{x=e} = e e{x=e'} = e' The corresponding bug for pattern matching (#48) appears tougher. Revision Changes Path 1.26 +12 -3 hugs98/src/compiler.c _______________________________________________ Cvs-hugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-hugs