
28 Jun
2021
28 Jun
'21
6:04 p.m.
On Jun 28, 2021, at 4:09 AM, Johannes Waldmann
`[ x, y, z | zs ]` is also valid; [...] That structure is particularly ugly in Haskell syntax.
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 But really, it redefines (++), so it has a different meaning already. But you could imagine some special syntax “outside” the brackets, instead of inside. Jeff