transient-haskell / transient

A full stack, reactive architecture for general purpose programming. Algebraic and monadically composable primitives for concurrency, parallelism, event handling, transactions, multithreading, Web, and distributed computing with complete de-inversion of control (No callbacks, no blocking, pure state)
MIT License
633 stars 28 forks source link

build failure: TypeRep not in scope #70

Closed DanBurton closed 6 years ago

DanBurton commented 7 years ago

Build failure with GHC 8.2.1 as seen on the Stackage build server.

[1 of 6] Compiling Transient.Internals ( src/Transient/Internals.hs, dist/build/Transient/Internals.o )

src/Transient/Internals.hs:96:26: error:
    Not in scope: type constructor or class ‘TypeRep’
   |
96 |   , mfData      :: M.Map TypeRep SData
   |                          ^^^^^^^
agocorona commented 7 years ago

Do you know the version of the package base used?

DanBurton commented 7 years ago

The one that ships with GHC 8.2.1: base-4.10.0.0

agocorona commented 7 years ago

need to import Data.Typeable.

However there are some other dependencies that still does not compile with ghc-8.2.1. IIn particular, atomic-primops, which is a new dependency. will take some time before this packages is actualized.

https://github.com/rrnewton/haskell-lockfree/issues/66

As soon as it is available I will create a new version.