[Haskell-cafe] Prolog-style list syntax?

Viktor Dukhovni ietf-dane at dukhovni.org
Mon Jun 28 18:15:49 UTC 2021


On Mon, Jun 28, 2021 at 11:04:46AM -0700, Jeff Clites via Haskell-Cafe wrote:

> > how so?  `x : y : z : zs`
> 
> I don’t mind the existing either, but it would be interesting if this worked:
> 
>     [x, y, z] ++ zs = list

It is far from clear why this or any similar pattern would be more
ergonomic than:

    x : y : z : zs

--
    Viktor.


More information about the Haskell-Cafe mailing list