psibi / streamly-bytestring

BSD 3-Clause "New" or "Revised" License
9 stars 8 forks source link

Allow older versions of ghc/bytestring #34

Open harendra-kumar opened 1 year ago

harendra-kumar commented 1 year ago

streamly-bytestring cannot be used with ghc-9.2.2 or earlier because of the bytestring version constraints on it. And we cannot use earlier streamly-bytestring versions with streamly-0.9.0. So there is no other way other than using a newer compiler.

Can we check bytestring version in the code and use CPP to support older versions?

harendra-kumar commented 1 year ago

However, ghc-9.2.3 and newer can be used, ghc-9.0.x are anyway not much usable due to perf issues, and I am not sure if it is worth supporting ghc-0.8.x unless someone needs/complains.

hasufell commented 1 year ago

8.10.7 still has some popularity