Copying to the `bugs' list:

On Fri, Dec 21, 2012 at 12:12:09PM +0000, Simon Peyton-Jones wrote:
> sigh. i suppose I have to reproduce it.  I have only docon2.12-pre, and I get
>
> make build
> runghc Setup.hs build
> Building docon-2.12...
> Preprocessing library docon-2.12...
>
> on the commandline: Warning:
>     -no-user-package-conf is deprecated: Use -no-user-package-db instead
>
> DExport.hs:26:8:
>     Ambiguous module name `Prelude':
>       it was found in multiple packages: base haskell98-2.0.0.3
> make: *** [build] Error 1
> simonpj@cam-05-unx:~/tmp/docon-2.12-pre/docon/source$
>
>
> How to fix?


  http://botik.ru/pub/local/Mechveliani/ghcQuest/d212-pre-asBug.zip

Please, try to compile this  d212-pre-asBug

-- as it is written there in  install.txt.

I do not know, may be, this   docon2.12-pre  is a smaller report,
if this is essential, and if you still need  docon2.12-pre,
then you could change things in it according to the corresponding
points in  d212-pre-asBug.

But I hoope   d212-pre-asBug  will do.
The responsible module is  Pol3_.hs.

Regards,

------
Sergei


> | -----Original Message-----
> | From: Serge D. Mechveliani [mailto:mech...@botik.ru]
> | Sent: 21 December 2012 11:48
> | To: Simon Peyton-Jones
> | Cc: glasgow-haskell-bugs@haskell.org
> | Subject: Re: DoCon and GHC
> |
> | On Fri, Dec 21, 2012 at 11:26:30AM +0000, Simon Peyton-Jones wrote:
> | > I think you need to remove the 'forall a' on the type signature for
> | dP'.
> | > The 'a' you mean is the 'a' from the instance declaration, not a
> | > completely fresh 'a'.
> |
> | This looks reasonable.
> |
> | > Moreover I don't think you need the 'forall' on the 'instance'
> | declaration.
> | > Just 'ScopedTypeVariables' should do it
> |
> | [..]


> | -- Pol3_.hs ----------------------------------------------------
> | ...
> | {-# LANGUAGE ScopedTypeVariables #-}                            -- (1)
> | **
> |
> | instance (LinSolvRing (Pol a), CommutativeRing a) =>
> | [..]

_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to