pronk icon indicating copy to clipboard operation
pronk copied to clipboard

Fails to compile under OS X

Open wlangstroth opened this issue 12 years ago • 3 comments

On Mountain Lion (10.8.3) ghc: stable 7.4.2 cabal-install version 1.16.0.2 using version 1.16.0.3 of the Cabal library

[5 of 6] Compiling Network.HTTP.LoadTest.Report ( lib/Network/HTTP/LoadTest/Report.hs, dist/build/Network/HTTP/LoadTest/Report.o )
lib/Network/HTTP/LoadTest/Report.hs:145:19:
Couldn't match kind `*' against `* -> *'
Kind incompatibility when matching types:
  m0 :: * -> *
  MuType :: (* -> *) -> *
In the return type of a call of `mkGenericContext'
In the expression: mkGenericContext a n

wlangstroth avatar Jun 04 '13 12:06 wlangstroth

I can confirm the same issue on Ubuntu 12.04 x64.

GHC: 7.4.1 cabal: 1.14.0 cabal-dev: 0.9.2

xrl avatar Jul 20 '13 17:07 xrl

Fails for me too.

GHC: 7.6.3 cabal: 1.18.0.2

I was using cabal sandbox.

bitemyapp avatar Nov 05 '13 07:11 bitemyapp

FWIW, @tunixman's simple solution is great if you don't need a newer version of Hastache (for whatever reason):

https://github.com/tunixman/pronk/commit/9aa52ed5d21408c57ac3afe24971d55d69901358

wlangstroth avatar Nov 06 '13 02:11 wlangstroth