c:new/2was not using opts wheninputwas a list- project would not compile if
enforce: trueoption was used on constructor.
:check_keysoption is added. This will need to be set totruein order for keys to be enforced. It also will raise aKeyErrorif a key that's not part of a struct is passed as input tonew/1. Defaults tofalse, as I prefer to enforce these kinds of constraints through the use of:constructorfunctions instead of raising errors.
First release! The API should remain stable from here on out.