Difference between revisions of "Talk:Non-strict semantics"

From HaskellWiki
Jump to navigation Jump to search
(New page: While operators in Haskell are functions, the choice of an operator for the example is a poor one. One can, in fact, write 1 || infinite_loop() in C and have it terminate successfully, ...)
 
(No difference)

Latest revision as of 18:02, 28 November 2011

While operators in Haskell are functions, the choice of an operator for the example is a poor one. One can, in fact, write

1 || infinite_loop()

in C and have it terminate successfully, precisely because || has non-strict ("short-circuited") semantics in C.