| From: Jon Stenerson (jonstenerson at comcast.net) Date: Wed Jul 1 23:23:17 EDT 2009 |
|
I just started trying out the literate programming feature in scribble. Is
there a way to put a module form in a @chunk. The following gives me an
error "module: illegal use (not at top-level) ...."
Jon
#lang scribble/lp
@chunk[<main>
(module example-module scheme
(provide foo bar)
(define foo 2)
(define (bar x)
(+ x 1)))
]
| Posted on the users mailing list. |
|