[Haskell-cafe] How to derive instance for type without exported constructor?

Grigory Sarnitskiy sargrigory at ya.ru
Fri Sep 4 10:40:48 EDT 2009

> {-# OPTIONS_GHC -fglasgow-exts -XGenerics -package lang #-}

Got some problems:

    Could not find module `Generics':
      it is a member of package ghc-6.8.2, which is hidden
Failed, modules loaded: none.

and for ghci test.hs -fglasgow-exts -XGenerics -package lang

ghc-6.8.2: unknown package: lang

More information about the Haskell-Cafe mailing list