Add Imports
A tiny module for adding an import to an Elm file. Give it an import, and a string of elm text, and get back that text with the import added (in alphabetical order)
License
Copyright © 2016 Murphy Randle
Distributed under the MIT license.
TODO:
- Tests for parsing
- Sort imports alphabetically
- Test sorting
- Support proper importing of type constructors from within modules