[Haskell-cafe] an idea for modifiyng data/newtype syntax: use `::=` instead of `=`

Alexey Muranov alexey.muranov at gmail.com
Sat Aug 8 20:24:20 UTC 2015

Hi Corentin,

On 8 août 2015, at 17:23, Corentin Dupont <corentin.dupont at gmail.com> wrote:

> One thing I quite don't understand is: do we really need to make the newtype/data distinction explicit?
> If we used only one keyword, it should be quite easy for the compiler to detect the distinction statically. 

I think someone more knowledgable in Haskell than me should answer this.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150808/ce4134f0/attachment.html>

More information about the Haskell-Cafe mailing list