[racket] Sending a cvector to foreign functions.

2011-01-23 Thread Lewis
Greetings, I am trying to send a racket cvector to a C function in a lib I a writing. The C function in question has the prototype void render(int x_camera, int y_camera, Visual pc, Tile **world); The important bit is the last argument, Tile **world. I have registered this in racket as (define

Re: [racket] pretty-printing example output in Scribble manual?

2011-01-23 Thread Matthew Flatt
At Sun, 23 Jan 2011 17:03:07 -0500, Richard Cobbe wrote: > Is there a way to get Scribble's @example form to pretty-print its output? > [...] > I'm already using a custom evaluator for the examples, so I looked for a > way to change that evaluator's printer, but I wasn't able to find anything > lik

[racket] pretty-printing example output in Scribble manual?

2011-01-23 Thread Richard Cobbe
Is there a way to get Scribble's @example form to pretty-print its output? Right now, scribble just uses the normal REPL printer to render the output, and that inserts hard line breaks at about column 62, which affects readability. See the attached PNG for an example. (The expression being evalua