Question about the portability of containers

Fumiaki Kinoshita fumiexcel at gmail.com
Mon Jun 8 02:58:30 UTC 2020


I noticed that there are massive amount of CPP pragmas to switch code
between GHC and non-GHC (e.g.
https://github.com/haskell/containers/blob/v0.6.2.1/containers/src/Data/IntMap/Internal.hs#L4),
and they are a burden for maintainers. Moreover, the non-GHC part of the
codebase is untested due to the lack of viable alternative compilers (
https://github.com/haskell/containers/pull/728#discussion_r436318206).

Therefore I propose to revisit the policy for portability of core
libraries. Portability is not a bad thing, but few people use
other compilers these days. The drag is only likely to increase because
there's no plan (AFAIK) for a new Haskell standard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20200608/18f91378/attachment.html>


More information about the Libraries mailing list