[racket-dev] The sample in Help caused an error

From: Yingjian Ma (yingjian.ma1955 at gmail.com)
Date: Fri May 27 14:55:41 EDT 2011

Hi All,

I tried to run the code from the Help.  It said: module: name is not
defined, not a parameter, and not a primitive name.  #lang caused the
problem.  How can I fix it?  Thanks a lot.

#lang web-server/insta
(define (start request)
  (response/xexpr
   '(html
     (head (title "My Blog"))
     (body (h1 "Under construction")))))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110527/84341125/attachment.html>

Posted on the dev mailing list.