Re: [racket] using scribble/eval in conjunction with scribble/lp

2014-12-14 Thread Benjamin Greenman
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

Re: [racket] using scribble/eval in conjunction with scribble/lp

2014-12-14 Thread Joel McCracken
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

Re: [racket] LINQ

2014-12-14 Thread Sean Kanaley
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

Re: [racket] using scribble/eval in conjunction with scribble/lp

2014-12-14 Thread Benjamin Greenman
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