Send Beginners mailing list submissions to
        beginners@haskell.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
        beginners-requ...@haskell.org

You can reach the person managing the list at
        beginners-ow...@haskell.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."


Today's Topics:

   1. Re:  import question (Daniel Trstenjak)


----------------------------------------------------------------------

Message: 1
Date: Thu, 18 Feb 2021 08:32:49 +0100
From: Daniel Trstenjak <daniel.trsten...@gmail.com>
To: The Haskell-Beginners Mailing List - Discussion of primarily
        beginner-level topics related to Haskell <beginners@haskell.org>
Subject: Re: [Haskell-beginners] import question
Message-ID: <20210218073249.GA5914@octa>
Content-Type: text/plain; charset=us-ascii

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


------------------------------

Subject: Digest Footer

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


------------------------------

End of Beginners Digest, Vol 151, Issue 10
******************************************

Reply via email to