Is your feature request related to a problem? Please describe.
It happens that when writing a contract and using it in another file, if we forget to apply the contract or make a typo, nothing will tell us about it
Describe the solution you'd like
some command to make nickel verify all existing contracts in my file and from imported files are used, it should report a warning if a contract isn't used.
As a side note, there is not real notion of "contract" for the interpreter right now: contracts are just values like any other. I guess what we want is a warning for unused variables in general.
Is your feature request related to a problem? Please describe.
It happens that when writing a contract and using it in another file, if we forget to apply the contract or make a typo, nothing will tell us about it
Describe the solution you'd like
some command to make nickel verify all existing contracts in my file and from imported files are used, it should report a warning if a contract isn't used.
Additional context
A concrete example
contract.ncl
data.ncl
This will work, I may think everything is fine, but the contract is just not used here, it's missing
data | Array MyData
in the example.