hello,

the recent updates of the module system seem to have broken Trex.
the problem is that Hugs.Trex tries to export "EmptyRec" which is a data constructor and so cannot be named explicitly in an export list.
(interestingly enough the Prelude does the same, but no error seems to occur)

a quick fix that seems to work is to change the Hugs.Trex module as follows:

module Hugs.Trex( module Hugs.Trex ) where

import Hugs.Prelude as Hugs.Trex -- ( Rec, EmptyRec, EmptyRow )

of course now Trex exports the whole of the Prelude, but hey it is a quick fix :-)

bye
iavor


--
==================================================
| Iavor S. Diatchki, Ph.D. student |
| Department of Computer Science and Engineering |
| School of OGI at OHSU |
| http://www.cse.ogi.edu/~diatchki |
==================================================

_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to