Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MFlow compilation failure on GHC 7.10 #60

Closed
snoyberg opened this issue Apr 30, 2015 · 4 comments
Closed

MFlow compilation failure on GHC 7.10 #60

snoyberg opened this issue Apr 30, 2015 · 4 comments

Comments

@snoyberg
Copy link
Contributor

Unpacking to MFlow-0.4.5.9/
Resolving dependencies...
Configuring MFlow-0.4.5.9...
Building MFlow-0.4.5.9...
Preprocessing library MFlow-0.4.5.9...

src/MFlow/Forms/Test.hs:14:12: Warning:
    -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

src/MFlow/Forms/Widgets.hs:10:34: Warning:
    -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS

src/MFlow/Forms/Internals.hs:14:12: Warning:
    -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS
[ 1 of 13] Compiling MFlow.Cookies    ( src/MFlow/Cookies.hs, dist/build/MFlow/Cookies.o )

src/MFlow/Cookies.hs:99:18:
    No instance for (Foldable t1) arising from a use of ‘Prelude.elem’
    The type variable ‘t1’ is ambiguous
    Note: there are several potential instances:
      instance Foldable (Either a) -- Defined in ‘Data.Foldable’
      instance Foldable Identity -- Defined in ‘Data.Functor.Identity’
      instance Foldable Proxy -- Defined in ‘Data.Foldable’
      ...plus 15 others
    In the first argument of ‘satisfy’, namely
      ‘(`Prelude.elem` "!*'(),/\"")’
    In the expression: satisfy (`Prelude.elem` "!*'(),/\"")
    In an equation for ‘extra’:
        extra = satisfy (`Prelude.elem` "!*'(),/\"")

src/MFlow/Cookies.hs:99:33:
    No instance for (Data.String.IsString (t1 Char))
      arising from the literal ‘"!*'(),/\""’
    The type variable ‘t1’ is ambiguous
    Note: there is a potential instance available:
      instance Data.String.IsString [Char] -- Defined in ‘Data.String’
    In the second argument of ‘Prelude.elem’, namely ‘"!*'(),/\""’
    In the first argument of ‘satisfy’, namely
      ‘(`Prelude.elem` "!*'(),/\"")’
    In the expression: satisfy (`Prelude.elem` "!*'(),/\"")

src/MFlow/Cookies.hs:102:17:
    No instance for (Foldable t0) arising from a use of ‘Prelude.elem’
    The type variable ‘t0’ is ambiguous
    Note: there are several potential instances:
      instance Foldable (Either a) -- Defined in ‘Data.Foldable’
      instance Foldable Identity -- Defined in ‘Data.Functor.Identity’
      instance Foldable Proxy -- Defined in ‘Data.Foldable’
      ...plus 15 others
    In the first argument of ‘satisfy’, namely
      ‘(`Prelude.elem` "$-_.")’
    In the expression: satisfy (`Prelude.elem` "$-_.")
    In an equation for ‘safe’: safe = satisfy (`Prelude.elem` "$-_.")

src/MFlow/Cookies.hs:102:32:
    No instance for (Data.String.IsString (t0 Char))
      arising from the literal ‘"$-_."’
    The type variable ‘t0’ is ambiguous
    Note: there is a potential instance available:
      instance Data.String.IsString [Char] -- Defined in ‘Data.String’
    In the second argument of ‘Prelude.elem’, namely ‘"$-_."’
    In the first argument of ‘satisfy’, namely
      ‘(`Prelude.elem` "$-_.")’
    In the expression: satisfy (`Prelude.elem` "$-_.")
@agocorona
Copy link
Owner

Ops I did not have notice of this issue. I will fix it ASAP

@agocorona
Copy link
Owner

Solved in MFlow-0.4.5.10 uploaded to Hackage.

Sorry for the delay

snoyberg added a commit to commercialhaskell/stackage that referenced this issue Aug 17, 2015
@geraldus
Copy link

👍

@agocorona
Copy link
Owner

Just noticed this error

Uploaded a new version that I hope fix the problem. However, not
tested with ghc 7.10 yet

2015-08-24 10:44 GMT+02:00, Артур Файзрахманов notifications@github.com:

👍


Reply to this email directly or view it on GitHub:
#60 (comment)

Alberto.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants