|
From: | Massimiliano Gubinelli |
Subject: | Re: [Texmacs-dev] (For the Wikipedia article) Algorithms and format |
Date: | Mon, 30 Nov 2020 14:55:01 +0100 |
Hi Giovanni
evaluation of macro arguments proceed "as needed", for example a macro can produce an infinite list of ".", but the consumer function can decide only to take a finite amount of them (for example to create the .... in a table of contents). In a funcitonal language with strict evaluaiton the infinite list would produce a loop. Similar behaviour in non-lazy languages is obtained via "promises", generators, etc.. Max |
[Prev in Thread] | Current Thread | [Next in Thread] |