Short-circuiting

From HaskellWiki
Revision as of 07:43, 24 January 2008 by Lemming (talk | contribs) (relation to lazy evaluation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The term short-circuiting is used for avoiding the computation of results that are not needed anyway. E.g. in False && a the second operand needs not to be evaluated because the result is False in any case. So short-circuiting is somehow a synonym to lazy evaluation.