- The Haskell Tool Stack tool should be installed (read how to install).
To build run following:
$ stack build
Read more about stack usage.
Run next command to install reverse
:
$ stack install
reverse
would be placed in ~/.local/bin
directory. Ensure that it is in your $PATH
.
$ reverse Setup.hs
elpmiS.noitubirtsiD tropmi
)( OI :: niam
niaMtluafed = niam
$ reverse Setup.hs | reverse
import Distribution.Simple
main :: IO ()
main = defaultMain
- Document it