
The Const type does not see much direct use in other common Haskell
packages. (I only ever encounter it through lens.) So while that might be
an elegant design, I think it will make the API more confusing for
newcomers.
On Dec 13, 2017 9:38 PM, "Zemyla"
I honestly think we should make it a Const Int a, instead of a function, so that it's a number in the typeclass dictionary and not a function.
On Wed, Dec 13, 2017 at 10:41 PM, M Farkas-Dyck
wrote: On 2017-12-13 08:19 PM, David Feuer wrote:
+1, but we should also do this for sizeOf and alignment in Foreign.Storable.
Yes, good idea
_______________________________________________ Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
Libraries mailing list Libraries@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries