Monday, June 7, 2010

Racket

Racket is the new name for DrScheme. Here is a simple webserver in Racket:
#lang web-server/insta
(define (start request)
  '(html
    (head (title "My blog"))
    (body (h1 "Under construction")
          (p "Imagine a rocking website here")
          (p "Should be pretty froody"))))

No comments: