Type-level sized Word literals???

Vladislav Zavialov vladislav at serokell.io
Mon Oct 30 09:32:16 UTC 2023


I agree caution is warranted, but I still want the type level to behave as
closely as possible to the term level, where literals are currently
overloaded.

I don't care if it's monomorphic literals everywhere or overloaded literals
everywhere, but I oppose a discrepancy.

Vlad

On Mon, Oct 30, 2023, 10:05 Simon Peyton Jones <simon.peytonjones at gmail.com>
wrote:

> I'm pretty cautious about attempting to replicate type classes (or a
> weaker version thereof) at the kind level.  An alternative would be to us
> *non-overloaded* literals.
>
> Simon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20231030/2971aef2/attachment.html>


More information about the ghc-devs mailing list