Re: [racket] Scribble question

2011-01-25 Thread Manfred Lotz
On Tue, 25 Jan 2011 13:42:24 -0700 Jay McCarthy wrote: > That's what a racketblock is for. > > http://docs.racket-lang.org/scribble/scribble_manual_code.html#(form._((lib._scribble/manual..rkt)._racketblock)) > Thanks, that is what I was looking for. -- Manfred _

Re: [racket] Scribble question

2011-01-25 Thread Jay McCarthy
That's what a racketblock is for. http://docs.racket-lang.org/scribble/scribble_manual_code.html#(form._((lib._scribble/manual..rkt)._racketblock)) Jay 2011/1/25 Manfred Lotz : > Hi there, > If in a scribble document I want to have scheme code pretty printed and > evaluated I could do like this:

[racket] Scribble question

2011-01-25 Thread Manfred Lotz
Hi there, If in a scribble document I want to have scheme code pretty printed and evaluated I could do like this: @interaction[ (define (f x) (+ 3 x)) (print (f 4)) ] What would I do if I would like to have scheme code just pretty printed but not evaluated? so that I could have something l

Re: [racket] Scribble question

2010-07-02 Thread Hari Prashanth
2010 7:03:47 PM GMT -05:00 US/Canada Eastern Subject: Re: [racket] Scribble question Are you running `scribble' through the command line? If so, add `++xref-in setup/xref load-collections-xref' to the command: scribble ++xref-in setup/xref load-collections-xref doc.scrbl That means "

Re: [racket] Scribble question

2010-07-02 Thread Matthew Flatt
racket-map) > > > > ----- Original Message - > From: "Matthew Flatt" > To: "Hari Prashanth" > Cc: "plt-scheme" > Sent: Wednesday, June 30, 2010 5:02:46 PM GMT -05:00 US/Canada Eastern > Subject: Re: [racket] Scribble quest

Re: [racket] Scribble question

2010-07-02 Thread Hari Prashanth
30, 2010 5:02:46 PM GMT -05:00 US/Canada Eastern Subject: Re: [racket] Scribble question At Wed, 30 Jun 2010 15:21:19 -0400 (EDT), Hari Prashanth wrote: > I have a function by name map. For its documentation, I have > something like > > @defproc[(map ...) (...)]{ > @scheme[map] is sim

Re: [racket] Scribble question

2010-06-30 Thread Hari Prashanth
:02:46 PM GMT -05:00 US/Canada Eastern Subject: Re: [racket] Scribble question At Wed, 30 Jun 2010 15:21:19 -0400 (EDT), Hari Prashanth wrote: > I have a function by name map. For its documentation, I have > something like > > @defproc[(map ...) (...)]{ > @scheme[map] is similar

Re: [racket] Scribble question

2010-06-30 Thread Matthew Flatt
At Wed, 30 Jun 2010 15:21:19 -0400 (EDT), Hari Prashanth wrote: > I have a function by name map. For its documentation, I have > something like > > @defproc[(map ...) (...)]{ > @scheme[map] is similar to @scheme[map] > } > > The want the latter @scheme[map] to refer map provided by lists. > > Ho

Re: [racket] Scribble question

2010-06-30 Thread Todd O'Bryan
Have you considered naming your function blah-map, where blah is the kind of structure you expect it to work on, so that both your map and the built-in map for lists could be available without shadowing one another? Todd On Wed, Jun 30, 2010 at 3:21 PM, Hari Prashanth wrote: > Hi, > > I have a f

[racket] Scribble question

2010-06-30 Thread Hari Prashanth
Hi, I have a function by name map. For its documentation, I have something like @defproc[(map ...) (...)]{ @scheme[map] is similar to @scheme[map] } The want the latter @scheme[map] to refer map provided by lists. How can I do that? Can someone help me out with this? Thanks Hari __