haskell-template
uses Relude as the alternative โpreludeโ due to convenience and safety. I recommend that you use relude. However, if you want to remove it, you can do so as follows:
-
In the
.cabal
file:-
Remove
relude
from thebuild-depends
section. -
Remove the
mixins
section entirely.
-
Remove
-
In the
.hlint.yaml
file, delete all lines from the line that reads โReludeโs .hlint.yaml goes hereโ. -
Open
src/Main.hs
and replace any relude functions with theirbase
equivalents.-
For example,
putTextLn
becomesputStrLn
.
-
For example,