Replies: 3 comments
-
For convenience in this issue, here is OCaml's ppx_fields_conv plugin. |
Beta Was this translation helpful? Give feedback.
-
I would like the
I would like individual (copy-and-update)
I would like individual
I recently decided that I can no longer live without these functions, so I started manually implementing them in field-specific modules. That way, they are easy to copy-paste and find-replace when I add a new field. It also makes reading the implementation of
Then calling code can open I don't have a strong preference for field-specific modules when generating the code though. Also, a name like I also think it would be interesting to consider defining
No individual field can change its type in a mapping, but I looked through the functions generated by I currently see the value in individual |
Beta Was this translation helpful? Give feedback.
-
Im happy to take a PR adding anything that's useful as long as there is an example of usage or some documentation added. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions