DenkzeitWiki

Suchen:

Aktuelle Änderungen Printable View Änderungen Bearbeiten

ReadEvalPrint > JamieZawinski > PythonSprache > GuisInClojure > Continuations > SpaghettiCode > DanielWeinreb > TuringMachine > PythonHacking > BertrandMeyer > DynamicTyping > ClojureMacros > BarbaraLiskov > DestroyJavaVM > ClojureIdioms > Homoiconicity > LazyEvaluationClear Trail
Main /

Lazy Evaluation

FunctionalProgramming
Lambda
Macros
ClojureStreams

Haskell

An evaluation strategy combining normal order evaluation with updating. Under normal order evaluation (outermost or call-by-name evaluation) an expression is evaluated only when its value is needed in order for the program to return (the next part of) its result. Updating means that if an expression's value is needed more than once (i.e. it is shared), the result of the first evaluation is remembered and subsequent requests for it will return the remembered value immediately without further evaluation. This is often implemented by graph reduction. An unevaluated expression is represented as a closure - a data structure containing all the information required to evaluate the expression.[1]













Edit - BackLinks - Tags - Page Hist - Print - Changes - Home - Orphans - Help

Zuletzt geändert am 10.08.2009 20:14 Uhr und seit 7. April 2005 1116 aufgerufen.