[Haskell-beginners] Possible to update Haskell syntax

Steven Ashley steven.e.ashley at gmail.com
Sun Nov 23 00:00:17 EST 2008

Hi cm,

An ambiguity arises when you have a list containing functions. For
instance consider:

fmap ($3) [id id id id]



2008/11/23 cm <cm at raytheon.com>:
> I'm very interested in learning Haskell, but one frustration is that lists
> always require commas.  As an example [1,2,3,4] is a valid expression, but
> [1 2 3 4] is not.
> In this ideal world, another example would be that [(fun1 3 4) 7] would be a
> valid expression and be a two-element list equivalent to [fun1 3 4, 7].
> If what I am suggesting is syntactically possible and doesn't break more
> advanced features of the language that I (as a beginner) am unaware of, I'm
> interested in patching the open source for my own use (as well as others who
> might want it).
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

More information about the Beginners mailing list