[Haskell-cafe] An interesting curiosity
Steve Schafer
steve at fenestra.com
Thu Sep 18 21:53:56 EDT 2008
On Thu, 18 Sep 2008 19:59:51 +0100, you wrote:
>Of course, C++ is that crazy language where *assignment* is actually an
>*operator*. Sick, sick people...
That's really not all that strange. An (infix) operator is just a
function with funny syntax, and assignment is a function (the identity
function, in fact) that also has a side effect.
Steve Schafer
Fenestra Technologies Corp.
http://www.fenestra.com/
More information about the Haskell-Cafe
mailing list