Hacker News new | ask | show | jobs
by danneu 3514 days ago
The restriction only applies to native modules (modules that ship with Javascript): https://groups.google.com/forum/#!msg/elm-dev/1JW6wknkDIo/H9...
2 comments

I think understanding the why is also important here. Native modules exist essentially for side effects. A bad native module undermines all the safety Elm provides.
If you want to write anything non-trivial in Elm you need to use native modules though because the language doesn't give you access to any of it's "magic"