silkapp / rest

Packages for defining APIs, running them, generating client code and documentation.
http://silkapp.github.io/rest
390 stars 52 forks source link

rest-wai compilation failure #110

Closed snoyberg closed 9 years ago

snoyberg commented 9 years ago

I'm not sure what exactly is triggering this, I can't reproduce reliably:

[1 of 1] Compiling Rest.Driver.Wai  ( src/Rest/Driver/Wai.hs, dist/build/Rest/Driver/Wai.o )

src/Rest/Driver/Wai.hs:47:28:
    Couldn't match type ‘CI.CI [Char]’ with ‘[Char]’
    Expected type: Network.HTTP.Types.Header.HeaderName -> String
      Actual type: CI.CI Char8.ByteString -> CI.CI [Char]
    In the first argument of ‘(***)’, namely
      ‘CI.mk . string . CI.original’
    In the first argument of ‘map’, namely
      ‘(CI.mk . string . CI.original *** string)’
    In the first argument of ‘(.)’, namely
      ‘map (CI.mk . string . CI.original *** string)’
bergmark commented 9 years ago

Are you able to see which version of tostring is installed?

snoyberg commented 9 years ago

Looks like 0.2.1.1

On Tue Feb 24 2015 at 4:25:59 PM Adam Bergmark notifications@github.com wrote:

Are you able to see which version of tostring is installed?

— Reply to this email directly or view it on GitHub https://github.com/silkapp/rest/issues/110#issuecomment-75765093.

bergmark commented 9 years ago

Bah! Another lower bound.

http://hackage.haskell.org/package/rest-wai-0.1.0.7/revisions/

Thanks for the report!