[racket-dev] The sample in Help caused an error
Hi,
Look at the bottom left corner of the DrRacket window.
It should say "Determine language from source".
--
Jens Axel Søgaard
2011/5/27 Yingjian Ma <yingjian.ma1955 at gmail.com>:
> 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")))))
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/dev
>
--
--
Jens Axel Søgaard