You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Imported from Trac #814, reported by guest on 2011-03-13)
The example code shown in http://www.haskell.org/cabal/release/cabal-1.10.1.0/doc/users-guide/#test-suites
needs FlexibleInstances?, and the instance is orphan, too.
Although this code is not intended to be used in most packages,
it still looks like those instances are necessary or at least good style.
I suggest to replace the generic pair by a custom data type like
data TestCase = TestCase String Bool
instance TestOptions TestCase where
...
in the documentation.
Since Cabal is a widely used library, it has automatically an educational aspect.
The text was updated successfully, but these errors were encountered:
(Imported from Trac #814, reported by guest on 2011-03-13)
The example code shown in
in the documentation.http://www.haskell.org/cabal/release/cabal-1.10.1.0/doc/users-guide/#test-suites
needs
FlexibleInstances?
, and the instance is orphan, too.Although this code is not intended to be used in most packages,
it still looks like those instances are necessary or at least good style.
I suggest to replace the generic pair by a custom data type like
Since Cabal is a widely used library, it has automatically an educational aspect.
The text was updated successfully, but these errors were encountered: