I finished migrating the Environment code from the old-version-Spring-2017 branch.
Function definitions are contained in the source file
Only function declarations are in the header file
I discussed with Austin regarding contains() in Environment, and we decided that it will only check for the key in the current Environment, while is_defined() will recursively check the current Environment and all parents.
I also added the unit-tests for Environment and updated documentation.
I think everything should be correct. Please let me know if you notice anything wrong with my implementation.
I finished migrating the Environment code from the old-version-Spring-2017 branch.
I discussed with Austin regarding
contains()
in Environment, and we decided that it will only check for the key in the current Environment, whileis_defined()
will recursively check the current Environment and all parents.I also added the unit-tests for Environment and updated documentation.
I think everything should be correct. Please let me know if you notice anything wrong with my implementation.