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

MigMit miguelimo38 at yandex.ru
Sat Aug 8 16:17:50 UTC 2015


That's ridiculous. The code would only be intuitive enough if it's written like this:

típus Név = Sor
adat Időpont = Időpont Egész Egész Egész

> On 08 Aug 2015, at 17:59, Vlatko Basic <vlatko.basic at gmail.com> wrote:
> 
> +1
> 
> 
> -------- Original Message  --------
> Subject: Re: [Haskell-cafe] an idea for modifiyng data/newtype syntax: use `::=` instead of `=`
> From: Daniel Trstenjak <daniel.trstenjak at gmail.com>
> To: haskell-cafe at haskell.org
> Date: 08/08/15 17:03
> 
>> 
>> Hi Alexey,
>> 
>>> type Name = String
>>> data Date = Date Int Int Int
>> 
>> if we're at it ;), then please change it to:
>> 
>>    alias Name = String
>>    type Date = Date Int Int Int
>> 
>> 
>> Greetings,
>> Daniel
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
>> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe



More information about the Haskell-Cafe mailing list