jackfirth / rebellion

A collection of core libraries for Racket
https://pkgs.racket-lang.org/package/rebellion
Apache License 2.0
80 stars 16 forks source link

Added support for more kinds of `object-name` values #527

Open dented42 opened 6 months ago

dented42 commented 6 months ago

This fixes the issue presented in #526. An object-name/c contract has been added and make-named-object-custom-write has been modified to accept the new kinds of names.

dented42 commented 5 months ago

Editing files within GitHub is annoying, you'll want to squash these. I've removed object-name/c, since it was only used in one place. To keep track with the conversation regarding issue #526 I've removed numbers and byte strings from the types that make-named-object-custom-write accepts, leaving only symbols, strings, and paths.