In ver 0.19, native modules are not allowed except in elm/ or elm-explorer/.
I found a chance to contribute to native modules in elm package. However, because of this restriction, I can’t debug with native modules and contribute to this package.
Is there a special way to do this? Or, I’m not allowed this contributing?
Which package is it? You can make pull requests against the packages under elm/ and elm-explorations/ on GitHub same as anything else on there. It also seems that the best way to have success with this is to approach the project maintainer and talk your proposed changes through with them - Evan in most cases, but some of these projects do have other maintainers.
Testing the changes is not so easy with the native restrictions.
In a similar vein, you can symlink in a directory to ~/.elm/0.19.0/<package>/<version>/.
I think you also have to delete the .dat files generated in that directory after each build and remove the elm-stuff directory in your project to see the changes show up.
You might find some insight in the test script for elm/core. Although that might be overkill for other elm/* packages which aren’t treated specially by the compiler.