fpco / libraries

FP Complete libraries mega-repo
2 stars 0 forks source link

Fix build with LTS-Haskell 6 #187

Open kantp opened 8 years ago

kantp commented 8 years ago

As @borsboom noticed, the package fp-redis currently does not build against LTS Haskell 6.

kantp commented 8 years ago

First investigations indicate that it has to do with changes in the constraints package, which is used by lifted-async (and mesosync).

kantp commented 8 years ago

It seems to be that the module Control.Concurrent.Async.Lifted.Safe got a bit "too safe" in lifted-async-0.9.0, and prevents redis-fp from building. Using Control.Concurrent.Async.Lifted instead builds the package, but that's not what we want. We should understand why the .Safe module breaks the build, and fix it.

kantp commented 8 years ago

(Just to be precise, redis-fp uses Control.Concurrent.Mesosync.Lifted.Safe, which in turns uses Control.Concurrent.Async.Lifted.Safe. Using Control.Concurrent.Async.Lifted instead of Control.Concurrent.Mesosync.Lifted.Safe allows building redis-fp.)