SearchPath
Automatic import chasing across the Internet for Haskell modules
Typical Usage Examples
- $ sp --help
- shows usage information
- $ sp ghc --make -o myProgram -i src src/Main.hs
- module chase in src directory and using the default module map to build
myProgram
- $ sp ghc --make -o myProgram -i src src/Main.hs --run arg1 arg2
- same as above and run the program, recompiling and restarting on changes to source
How to install
License is BSD3.curl http://searchpath.org/searchpath/SearchPath.hs -o SearchPath.hsghc -main-is SearchPath --make SearchPath.hs -o spsudo mv sp /usr/local/bin
Note: curl is required to run searchpath as well so you need to have it installed. Fortunately, there are binaries for lots of platforms likely including yours available.
How to add projects to the default map
Check out the current default map file. Pull the darcs repo, modify default.map and send in a patch. See below.How to Modify/Impove Searchpath code/docs/website
darcs get http://searchpath.org/searchpath
Send patches to:
searchpath<nospam>@ happs.org
Some HTML layout help would be very appreciated.