Jensen's Device: Difference between revisions

Content added Content deleted
mNo edit summary
mNo edit summary
Line 3: Line 3:
This task is an exercise in [http://en.wikipedia.org/wiki/Call-by-name#Call_by_name call by name].
This task is an exercise in [http://en.wikipedia.org/wiki/Call-by-name#Call_by_name call by name].


'''Jensen's Device''' is a computer programming technique devised by Danish computer scientist [http://en.wikipedia.org/wiki/Jørn_Jensen| Jørn Jensen] after studying the [[ALGOL 60]] Report.
'''Jensen's Device''' is a computer programming technique devised by Danish computer scientist [[wp: Jørn_Jensen|Jørn Jensen]] after studying the [[ALGOL 60]] Report.


The following program was proposed to illustrate the technique. It computes the 100th [http://en.wikipedia.org/wiki/Harmonic_number harmonic number]:
The following program was proposed to illustrate the technique. It computes the 100th [http://en.wikipedia.org/wiki/Harmonic_number harmonic number]: