maoe / lifted-async

Run lifted IO operations asynchronously and wait for their results
http://hackage.haskell.org/package/lifted-async
BSD 3-Clause "New" or "Revised" License
29 stars 13 forks source link

Support GHC-9.6 #40

Closed ysangkok closed 1 year ago

ysangkok commented 1 year ago

lifted-async.cabal rejects base-4.18, which is the version shipped with GHC-9.6. It would be nice to support this version in addition.

andreasabel commented 1 year ago

For the testsuite, this requires to support mtl-2.3.1, which removed some reexports:

tests/Test/Async/Reader.hs:52:3: error: [GHC-88464]
    Variable not in scope: void :: m8 () -> Assertion
   |
52 |   void $ flip runReaderT value $ do
   |   ^^^^

I revised the bounds for the latest release to base < 4.19 and mtl < 2.3: https://hackage.haskell.org/package/lifted-async-0.10.2.3/revisions/

The other releases should also be revised with mtl < 2.3.

andreasabel commented 1 year ago

The other releases should also be revised with mtl < 2.3.

Done!