hask-replace
hask-replace
is a command-line tool that simplifies the process of renaming
Haskell modules.
The Pitch
Here's an example of how you would use hr
:
As you can see, it's a lot less painful than whatever witchcraft you'd have to resort to to accomplish the same thing in bash.
Installation
Binary releases
The easiest way for most users is simply to download the prebuilt binaries. You can find binaries for various platforms on the release page.
Cargo
First, install cargo. Then:
You will need to use the nightly release for this to work; if in doubt run