Personal tools


From HaskellWiki

Revision as of 07:43, 24 January 2008 by Lemming (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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
in any case.

So short-circuiting is somehow a synonym to lazy evaluation.