Modal Web Server

Chris Double implemented a simple continuation-based Web framework in Scheme. Here’s an example: ‘show-message’ is a function that displays an HTML page with a message and an ‘Ok’ anchor. The ‘Ok’ anchor goes to an URL as described above: (define (show-message msg) (show (lambda (url) (sxml->html-string `(html (head (title ,msg)) (body (p ,msg) (p (a … Continue reading Modal Web Server