This was an experiment to automatically generate Dialyzer type specifications for nimble_options. While it is possible in general, macro code would have to be a bit complicated in order to support recursive types. Another major flaw is the fact that NimbleOptions uses keyword lists instead of maps: for keyword lists, it is not possible to specify in Dialyzer type specs whether a field is required or optional.
This repository has been archived by the owner on Aug 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
michallepicki/nimble_options_type
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Generating type specs for NimbleOptions schemas