Skip to content
This repository has been archived by the owner on Aug 22, 2020. It is now read-only.

Generating type specs for NimbleOptions schemas

Notifications You must be signed in to change notification settings

michallepicki/nimble_options_type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NimbleOptionsType

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.

About

Generating type specs for NimbleOptions schemas

Topics

Resources

Stars

Watchers

Forks

Languages