agocorona / MFlow

(Haskell) Web application server with stateful, type safe user interactions and widget combinators
http://mflowdemo.herokuapp.com
Other
100 stars 12 forks source link

MFlow compilation failure on GHC 7.10 #60

Closed snoyberg closed 9 years ago

snoyberg commented 9 years ago
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 commented 9 years ago

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

agocorona commented 9 years ago

Solved in MFlow-0.4.5.10 uploaded to Hackage.

Sorry for the delay

geraldus commented 9 years ago

:+1:

agocorona commented 9 years ago

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:

:+1:


Reply to this email directly or view it on GitHub: https://github.com/agocorona/MFlow/issues/60#issuecomment-134098457

Alberto.