Re: [racket-users] defstruct* fails for a (long long long) long struct name

2017-03-11 Thread Carlos Lopez
Thanks! it was confusing to see that changing "They" fixed he problem. On Saturday, March 11, 2017 at 6:05:27 PM UTC-5, Ben Greenman wrote: > Adding a field also fixes the problem: > > > > #lang scribble/manual > > > > > @require[@for-label[racket]] > > > > >

Re: [racket-users] defstruct* fails for a (long long long) long struct name

2017-03-11 Thread Ben Greenman
Adding a field also fixes the problem: #lang scribble/manual @require[@for-label[racket]] @defstruct*[(abcdefghijklmnopqrstuvwxyzABCDEEFGHIJKLMNOPQRSTUVWX-Z ABCD) ([hi integer?])]{} and the problem has to do with how `defstruct*` renders the first line of a struct declaration. If the struct

[racket-users] defstruct* fails for a (long long long) long struct name

2017-03-11 Thread Carlos Lopez
Hi, While writing some documentation in scribble, I've discovered that using defstruct with really long names gives an error: the following code fails: #lang scribble/manual @require[@for-label[racket]] @defstruct*[(abcdefghijklmnopqrstuvwxyzABCDEEFGHIJKLMNOPQRSTUVWX-Z ABCD) ()]{} yet

Re: [racket-users] link: bad variable linkage

2017-03-11 Thread WarGrey Gyoudmon Ju
I have this issue in Racket 6.8.0.1 this morning, the project is compiled by compile-directory-zos, and all .zos are ensured up-to-date. Before I gave up, I had wrote a simple tests in DrRacket, lucky to saw the root cause, a contract error in the body of the newly added typed class, but the issue

Re: [racket-users] Is there any way I can use the terse forms of quasiquote with at-exp?

2017-03-11 Thread Matthew Flatt
You could use , @~a{} with a space between `,` and `@`. Since that's sometimes too ugly, though, `@` has special handling of comma that effectively swaps the order of the `@` and `,`. So, you could use @,~a{} to get the effect of ,@~a{} without `,` combining `@`. Note that if you

[racket-users] Is there any way I can use the terse forms of quasiquote with at-exp?

2017-03-11 Thread Stephen De Gabrielle
Hi, Is there any way I can use the terse forms of quasiquote with at-exp? I want to use @expressions{} inside a quasi quoted list, but the unquote comma captures the at-sign at ,@a~{} I'm trying to achieve the following with the at-exp ;working example #lang at-exp racket (require