[Haskell-cafe] Annotation problem after HP reinstalation

Vlatko Basic vlatko.basic at gmail.com
Wed Jun 26 19:36:36 CEST 2013


Hi Ian,

Yes, seems that was the case. (But I had the feeling it was OK before the 
reinstallation.)

How to disable/ignore HLint suggestions if OverloadedStrings are used?


-------- Original Message  --------
Subject: Re: [Haskell-cafe] Annotation problem after HP reinstalation
From: Sturdy, Ian <sturdyi12 at mail.wlu.edu>
To: Haskell-Cafe <haskell-cafe at haskell.org>
Date: 26.06.2013 17:38

> Looks to me as if you have OverloadedStrings enabled somewhere, in which case that would be the correct behaviour.
>
> IRS
>
> ________________________________________
> From: haskell-cafe-bounces at haskell.org [haskell-cafe-bounces at haskell.org] on behalf of Vlatko Basic [vlatko.basic at gmail.com]
> Sent: Wednesday, June 26, 2013 11:05 AM
> Cc: Haskell-Cafe
> Subject: [Haskell-cafe] Annotation problem after HP reinstalation
>
> I uninstalled haskell-platform, deleted .cabal and .ghc dirs and reinstalled it
> (on Ubuntu), but now the annotation (and other annotations)
>
> {-# ANN module "HLint: ignore Eta reduce" #-}
>
> produces error
>
> Ambiguous type variable `a0' in the constraints:
>         (Data a0) arising from an annotation at src/Model.hs:82:1-45
>         (Data.String.IsString a0)
>           arising from the literal `"HLint: ignore Eta reduce"'
>           at src/Model.hs:82:16-41
>       Probable fix: add a type signature that fixes these type variable(s)
>       In the expression: "HLint: ignore Eta reduce"
>       In the annotation: {-# ANN module "HLint: ignore Eta reduce" #-}
>
>
> Have I missed to install/configure something?
>
> vlatko
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



More information about the Haskell-Cafe mailing list