[Haskell-cafe] Re: Tim Sweeney (the gamer)

Achim Schneider barsoap at web.de
Thu Jan 10 08:54:41 EST 2008


Achim Schneider <barsoap at web.de> wrote:

> The surest thing to make people switch is to make them not aware of
> it, i.e. make things look exactly like in C, with incremental updates
> of the same variable and everything, while still retaining a purely
> functional semantic under the hood.
> 
> I guess that's why success has to be avoided at all cost.
> 

But, still, I bet people would like to see 

Warning: Statements without effect: 
 "c <- return 1 >>= increment >> return 2"
       ^^^^^^^^ *** ^^^ ||

when they write

c = 1
++c
c = 2


-- 
(c) this sig last receiving data processing entity. Inspect headers for
past copyright information. All rights reserved. Unauthorised copying,
hiring, renting, public performance and/or broadcasting of this
signature prohibited. 



More information about the Haskell-Cafe mailing list