No, that doesn't work for me either. Anyway, I was hoping I could export f
and then run the examples in a second file (because we have to lp-include
the literate program anyway):
;; lp.scrbl
#lang scribble/manual
@require[scribble/lp-include]
@require[scribble/eval]
@lp-include["example.rkt"]
@ex
I have tried a few different things. In you case, I think adding a:
@chunk[ (provide f)]
... will make lp-test work.
I'm still can't get lp.rkt to become self-referential, though.
On Sun, Dec 14, 2014 at 4:46 PM, Benjamin Greenman wrote:
> I tried and failed to figure this out. In parti
Michael,
I do mean that more or less, but using them directly is slow. Nested maps /
cartesian on large data sets tries my patience.
John,
Yeah I'd love to do this as a side project but the end result would
probably be lacking without a lot of effort. If I end up needing this a lot
maybe it will
I tried and failed to figure this out. In particular, when I create the
example "lp.rkt" file described at the top of the scribble/lp docs and
require it "in the normal manner", the identifier f is unbound for me.
The code I'm using is pasted below:
;; lp.rkt
#lang scribble/lp
Literate programs
4 matches
Mail list logo