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
_
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:
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
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 "
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
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
: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
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
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
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
__
10 matches
Mail list logo