iand675 / uri-templater

Use URI templates in Haskell
MIT License
2 stars 5 forks source link

GHC 8 build failure #4

Open bergmark opened 8 years ago

bergmark commented 8 years ago

This can probably be reproduced with stack --resolver nightly build uri-templater trifecta

preprocessing library uri-templater-0.2.0.0...

src/Network/URI/Template/Types.hs:1:157: warning:
    -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS
[1 of 5] Compiling Network.URI.Template.Types ( src/Network/URI/Template/Types.hs, dist/build/Network/URI/Template/Types.o )
[2 of 5] Compiling Network.URI.Template.Parser ( src/Network/URI/Template/Parser.hs, dist/build/Network/URI/Template/Parser.o )

src/Network/URI/Template/Parser.hs:98:40: error:
    • Couldn't match type ‘ErrInfo’ with ‘Doc’
      Expected type: Either Doc UriTemplate
        Actual type: Either ErrInfo UriTemplate
    • In the expression: Left err
      In a case alternative: Failure err -> Left err
      In the expression:
        case parseString uriTemplate mempty t of {
          Failure err -> Left err
          Success r -> Right r }
tfausak commented 8 years ago

I think #3 would fix this. What can we do to get that merged, @iand675?

iand675 commented 7 years ago

Fixed via #3 and uploaded to hackage as uri-templater-0.2.1.0