racket / scribble

Other
194 stars 89 forks source link

Refine the grammar of `field-name` in `defstruct`. #401

Closed shhyou closed 6 months ago

shhyou commented 6 months ago

The defstruct[*] form does support field options. Therefore use the same grammar as [define-]struct in the documentation.

racket-discourse-github-bot commented 6 months ago

This pull request has been mentioned on Racket Discourse. There might be relevant details there:

https://racket.discourse.group/t/documenting-struct-in-scribble/2618/3

sorawee commented 6 months ago

This looks good to me!

shhyou commented 6 months ago

Thanks a lot for reviewing!

I don't have push access. @samth could you help merging?

sorawee commented 6 months ago

Merged. Thanks!