Short-circuiting

From HaskellWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.