Example of (delimited) continuations on the Web

This is the running example of the currency converter from the paper The influence of browsers on evaluators or, continuations to program Web servers by Christian Queinnec. ICFP 2000.

The example is described in Section 2.6 and Figure 1 of the paper.

The difference is that we use delimited continuations, and so capture only a tiny fraction of control and data. Another, insignificant, difference is the use of ¥ instead of no-longer used currency `francs'.

${response}
Enter the currency name:
Enter the rate: