cryptosense / ppx_factory

OCaml preprocessor to derive factory methods and default values from type definitions
BSD 2-Clause "Simplified" License
14 stars 1 forks source link

Derive default from variant types #9

Closed NathanReb closed 5 years ago

NathanReb commented 5 years ago

Fixes #6.

NathanReb commented 5 years ago

Marked as WIP since it's based on #8!

NathanReb commented 5 years ago

Rebased and unWIPed!

NathanReb commented 5 years ago

Just pushed another commit to rename ctr and ctor by constructor. Let me know if it improved clarity!