Proposal: Dot as Postfix Function Apply
David Feuer
david.feuer at gmail.com
Wed Nov 4 19:44:08 UTC 2015
print (name person)
person.^name & print
Sorry, I'm not seeing the disaster yet.
On Nov 4, 2015 2:40 PM, "Harry ." <voldermort at hotmail.com> wrote:
> When you consider that every other programming language in common use (and
> almost every language not in common use as well) allows you to write:
>
> print person.name
>
> while Haskell requires something like:
>
> print (person & name) or
>
> print $ person.^name
>
> and even that after importing a third-party library or defining it
> yourself, you begin to understand why beginners think that Haskell looks
> more like Japanese emoticons than programming.
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20151104/32b76218/attachment.html>
More information about the Libraries
mailing list