janestreet / janestreet/ppx_xml_conv
Support for non-record types
Open
Nobody has claimed this yet.
forwarded-to-js-devs
- Dominant language
- OCaml
- Stars
- 6
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Dear JaneStreet devs,
thanks for releasing these very useful libraries. I was wondering if ppx_xml_conv could be made to work with non-record types, for instance given the type
```
type t = A of int | B of string
```
code could be generated such as:
```
30
```
etc...
Thank you!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names ppx_xml_conv but no files, tests, or entry points. Start by locating the type-conversion generator and its existing record support; done means variant types such as A of int and B of string produce conversion functions and XML like 30 consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100