This module exposes a simple add function, as well as internals for test.
add relies on an internalAdd function which is not exposed.
However, internalAdd is wrapped in forTest:
This is exposed in the module and the package,
but since ForTest is not exposed by the package,
it is unusable outside of the package. |
forTest = ForTest { internalAdd = internalAdd }see tests/Spec.elm to see how this is used.
|
This is exposed in the module and the package. |