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://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 Koot mailto:jos.k...@gmail.com> > wrote:

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" #:packages ())

@defproc[((make-proc ) (x any/c) (y any/c #f)) any/c]{blah blah}

 

Renders: 

 


 (require "bug.rkt")


 

((make-proc x [y]) → any/c <==<==<==  here a parenthesis is missing.


  x : any/c


  y : any/c = #f

blah blah

 

I suppose this is a bug.

Best wishes, Jos

-- 
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 
<mailto:racket-users+unsubscr...@googlegroups.com> .
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAL6KNi3KZtRRBjp9%3D8NpvOqtQz-FBU4cw-_f9OkhsQW4K0owDQ%40mail.gmail.com
 
<https://groups.google.com/d/msgid/racket-users/CAL6KNi3KZtRRBjp9%3D8NpvOqtQz-FBU4cw-_f9OkhsQW4K0owDQ%40mail.gmail.com?utm_medium=email_source=footer>
 .


This email has been scanned by BullGuard antivirus protection.
For more info visit www.bullguard.com 
<http://www.bullguard.com/tracking.aspx?affiliate=bullguard=smtp=/>
 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/004601d570a2%24ddf68070%2499e38150%24%40gmail.com.


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 Koot  wrote:

> 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" #:packages ())
>
> @defproc[((make-proc ) (x any/c) (y any/c #f)) any/c]{blah blah}
>
>
>
> Renders:
>
>
>
>  (require "bug.rkt")
>
>
>
> ((make-proc *x* [*y*]) → any/c ççç  here a parenthesis is missing.
>
>   *x* : any/c
>
>   *y* : any/c = #f
>
> blah blah
>
>
>
> I suppose this is a bug.
>
> Best wishes, Jos
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CAL6KNi3KZtRRBjp9%3D8NpvOqtQz-FBU4cw-_f9OkhsQW4K0owDQ%40mail.gmail.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAPaha9Mc73nR7Wyjfm8iuB9gvit-k3bve5KG0Sx6%2B9uv3tNiRg%40mail.gmail.com.