RE: [racket-users] scribble defproc looses parenthesis

2019-09-21 Thread jos.koot
Thanks, Your report shows even weirder things. Best wishes, Jos De: Gustavo Massaccesi Enviado el: 21 September 2019 13:33 Para: Jos Koot CC: Racket-Users List Asunto: Re: [racket-users] scribble defproc looses parenthesis It looks like an error to me. I made a bug report in https

Re: [racket-users] scribble defproc looses parenthesis

2019-09-21 Thread Gustavo Massaccesi
It looks like an error to me. I made a bug report in https://github.com/racket/scribble/issues/211 because it is easy to track the problem there. You can subscribe to the issue to get any update, or I can try to remember to post any (big) update here. Gustavo On Sat, Sep 14, 2019 at 2:05 PM Jos

[racket-users] scribble defproc looses parenthesis

2019-09-14 Thread Jos Koot
Hi File bug.rkt #lang racket (define (make-proc) (λ (x (y #f)) (void))) (provide make-proc) File bug.scrbl #lang scribble/manual @(require scribble/core scribble/eval racket "bug.rkt" (for-label racket "bug.rkt") (for-syntax racket)) @(defmodule "bug.rkt"

Re: [racket-users] scribble defproc?

2017-01-17 Thread Philip McGrath
I came up with a fairly boring example that does use places. Note that you have to put this in a module and save the file: > #lang racket > (require racket/serialize > web-server/lang/serial-lambda > ) > (define current-place > (make-parameter 'initial)) > (define (main) >

Re: [racket-users] scribble defproc?

2017-01-17 Thread Philip McGrath
For a quick example (without places), if you enter this in the definitions window of Dr. Racket: > #lang racket > (require web-server/lang/serial-lambda > racket/serialize > ) > (define serialized-proc > (serialize (serial-lambda (x) >(printf "Your number is:

Re: [racket-users] scribble defproc?

2017-01-16 Thread Andreas Olsson
Strangely I can't get the example working from the docs and serial lambda isn't a cakewalk ether. So if you got a working example please share it! -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop

Re: [racket-users] scribble defproc?

2017-01-16 Thread 'John Clements' via Racket Users
> On Jan 16, 2017, at 00:31, Andreas Olsson wrote: > > I've never done serialisation befor. I have to learn that then. :-) Well, quoting is one form of serialization, so in some sense, you *have*… I would definitely echo others, though, in suggesting that using ‘eval’

Re: [racket-users] scribble defproc?

2017-01-16 Thread Andreas Olsson
I've never done serialisation befor. I have to learn that then. :-) -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com.

Re: [racket-users] scribble defproc?

2017-01-15 Thread Philip McGrath
I would strongly consider using serial-lambda (from the web server libraries: http://docs.racket-lang.org/web-server-internal/closure.html?q=serial-lambda), which creates a procedure that can be serialized using racket/serialize and sent to a place, rather than (I assume) relying on eval.

Re: [racket-users] scribble defproc?

2017-01-15 Thread 'John Clements' via Racket Users
> On Jan 15, 2017, at 09:23, Andreas Olsson wrote: > > I have function that demand a quoted lambda as an argument, how would you > write that in defproc? I think that—unlike the contract system, or typed racket—you can put pretty much anything you want in the

[racket-users] scribble defproc?

2017-01-15 Thread Andreas Olsson
I have function that demand a quoted lambda as an argument, how would you write that in defproc? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to