On Thu, Jun 13, 2019 at 11:50 PM Sorawee Porncharoenwase <
sorawee.pw...@gmail.com> wrote:

> Hence the question: why struct type doesn’t include field names?
>

<plug class="shameless">
  struct-plus-plus  (
https://docs.racket-lang.org/struct-plus-plus/index.html#%28part._.Reflection%29)
gives you full reflection data, including field names.  Also, field
contracts, field wrappers, keyword constructor, functional setters, field
transformers, field validation, inter-field integrity checking, and easy
syntax for converting struct++ types to and from other values.  It doesn't
support supertypes or field options (#:auto or #:mutable on a field), but
it has strictly superior functionality to replace #:auto and you can always
make the full struct #:mutable.
</plug>





















</plug>


> --
> 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/CADcuegvjQ_%2BgYg_VQb4TG-czSAMzZJOtZ0K3Ge7c_XNUO2QzCQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/racket-users/CADcuegvjQ_%2BgYg_VQb4TG-czSAMzZJOtZ0K3Ge7c_XNUO2QzCQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAE8gKoeSWq6ucOiRQxPpzU8Q-7LfVNmZHBw4G1k-On3SXqoUnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to