Proposal: export more from Data.Kind

Krzysztof Gogolewski krz.gogolewski at gmail.com
Sun Aug 2 16:09:51 UTC 2020


Hello,

I'd like to export TYPE, RuntimeRep(..), Multiplicity(..) from Data.Kind.
(Multiplicity is the Linear Haskell type - One and Many.)

Currently you have to import GHC.Exts / GHC.Types which conflicts with
Safe Haskell. I think both levity and linearity polymorphism
should be available under Safe Haskell.

Data.Kind already contains Constraint and Type.

-Krzysztof


More information about the Libraries mailing list