[Haskell-beginners] import question
Daniel Trstenjak
daniel.trstenjak at gmail.com
Thu Feb 18 07:32:49 UTC 2021
On Wed, Feb 17, 2021 at 02:17:32PM -0600, Galaxy Being wrote:
> How would I install it globally? I'm not using projects, I'm just at the ghci REPL.
Even for such small tests it's simpler to just use a cabal project:
mkdir decimal-test
cd decimal-test
cabal init -p decimal-test -d base -d Decimal
cabal repl
If you need further dependencies you can then extend the 'build-depends'
list in the file 'decimal-test.cabal'.
Greetings,
Daniel
More information about the Beginners
mailing list