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

Does not compile w/ GHC 7.6 nor 7.8 #1

Closed
hvr opened this issue Aug 27, 2015 · 4 comments
Closed

Does not compile w/ GHC 7.6 nor 7.8 #1

hvr opened this issue Aug 27, 2015 · 4 comments

Comments

@hvr
Copy link

hvr commented Aug 27, 2015

Fyi, http://matrix.hackage.haskell.org/package/period (even though build-depends claims so)

[1 of 1] Compiling Text.Period      ( src/Text/Period.hs, dist/dist-sandbox-f9cba27c/build/Text/Period.o )

src/Text/Period.hs:43:17:
    Not in scope: ‘<$>’
    Perhaps you meant one of these:
      ‘<>’ (imported from Data.Monoid),
      ‘<|>’ (imported from Text.Parsec.Prim),
      ‘<+>’ (imported from Control.Arrow)

src/Text/Period.hs:76:22:
    Not in scope: ‘<*’
    Perhaps you meant one of these:
      ‘*’ (imported from Prelude), ‘<>’ (imported from Data.Monoid),
      ‘**’ (imported from Prelude)

src/Text/Period.hs:77:23:
    Not in scope: ‘<*’
    Perhaps you meant one of these:
      ‘*’ (imported from Prelude), ‘<>’ (imported from Data.Monoid),
      ‘**’ (imported from Prelude)

src/Text/Period.hs:78:12:
    Not in scope: ‘<*’
    Perhaps you meant one of these:
      ‘*’ (imported from Prelude), ‘<>’ (imported from Data.Monoid),
      ‘**’ (imported from Prelude)

src/Text/Period.hs:84:42:
    Not in scope: ‘<*’
    Perhaps you meant one of these:
      ‘*’ (imported from Prelude), ‘<>’ (imported from Data.Monoid),
      ‘**’ (imported from Prelude)

src/Text/Period.hs:85:24:
    Not in scope: ‘<*’
    Perhaps you meant one of these:
      ‘*’ (imported from Prelude), ‘<>’ (imported from Data.Monoid),
      ‘**’ (imported from Prelude)

src/Text/Period.hs:106:40:
    Not in scope: ‘<$>’
    Perhaps you meant one of these:
      ‘<>’ (imported from Data.Monoid),
      ‘<|>’ (imported from Text.Parsec.Prim),
      ‘<+>’ (imported from Control.Arrow)

src/Text/Period.hs:110:18:
    Not in scope: ‘<$>’
    Perhaps you meant one of these:
      ‘<>’ (imported from Data.Monoid),
      ‘<|>’ (imported from Text.Parsec.Prim),
      ‘<+>’ (imported from Control.Arrow)

src/Text/Period.hs:114:21:
    Not in scope: ‘<$>’
    Perhaps you meant one of these:
      ‘<>’ (imported from Data.Monoid),
      ‘<|>’ (imported from Text.Parsec.Prim),
      ‘<+>’ (imported from Control.Arrow)

src/Text/Period.hs:118:16:
    Not in scope: ‘<$>’
    Perhaps you meant one of these:
      ‘<>’ (imported from Data.Monoid),
      ‘<|>’ (imported from Text.Parsec.Prim),
      ‘<+>’ (imported from Control.Arrow)

src/Text/Period.hs:125:19:
    Not in scope: ‘<$>’
    Perhaps you meant one of these:
      ‘<>’ (imported from Data.Monoid),
      ‘<|>’ (imported from Text.Parsec.Prim),
      ‘<+>’ (imported from Control.Arrow)

src/Text/Period.hs:140:34: Not in scope: ‘defaultTimeLocale’

src/Text/Period.hs:152:32: Not in scope: ‘defaultTimeLocale’
xcabal: Error: some packages failed to install:
period-0.1.0.0 failed during the building phase. The exception was:
ExitFailure 1
@richsmith92
Copy link
Owner

Thanks, I was too careless with the versions. Will try to fix it for GHCs older than 7.10.

@richsmith92
Copy link
Owner

Fixed for GHC 7.8 in 9e8a473 . I believe it must work for some previous versions as well. @hvr By the chance, do you know how to test a package against multiple GHC versions?

@hvr
Copy link
Author

hvr commented Aug 29, 2015

@hvr By the chance, do you know how to test a package against multiple GHC versions?

https://github.com/hvr/multi-ghc-travis :-)

@richsmith92
Copy link
Owner

thanks!

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

2 participants