Duncan Coutts <[EMAIL PROTECTED]> writes:

> closed class GConfValue v where

Hmm...doesn't 

    --8<--
    module Closed(foo) where
    class C a where foo = ...
    instance C ...
    --8<--
    module Main where
    import Closed
    ...foo... 
    --8<--

do what you want?  You can only use existing instances of C, but not
declare them (outside of the Closed module), IIUC.

-ketil
-- 
If I haven't seen further, it is by standing in the footprints of giants
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to