CVSROOT:        /cvs
Module name:    ports
Changes by:     k...@cvs.openbsd.org    2010/09/14 12:58:01

Modified files:
        lang/pugs      : Makefile 
Added files:
        lang/pugs/patches: patch-src_Pugs_AST_Types_hs 
                           patch-src_Pugs_Types_hs 

Log message:
Pugs.Types defined an Eq instance for Control.Concurrent.STM.TMVar (from
the stm package), which is no longer possible, because TMVar is deriving
Eq now. So move the (somewhat crude)  comparision based on addressOf (which
comes from the hs-pugs-compat package) into Pugs.AST.Types, providing an
explicit Eq instance for VThread.

IMHO, instance declarations for standard type classes on types imported
from other Haskell packages are evil.

Breakage noticed by na...@.

While here, update WANTLIB and bump.

Reply via email to