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.  Add Global Package (A. Mc.)
   2. Re:  Add Global Package (Francesco Ariis)


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

Message: 1
Date: Tue, 16 Feb 2021 20:49:38 -0800
From: "A. Mc." <47dragonf...@gmail.com>
To: beginners@haskell.org
Subject: [Haskell-beginners] Add Global Package
Message-ID:
        <CAOsti3mEiirHttGbD-UHKYktb_Z8YVw2VMsqFvsg7G=9tjc...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello,

I'm attempting to install and update the .yaml file so I don't have to run
the command $ stack ghci --package random every single time I want to load
a module that imports System.Random.  Or maybe I need to use chocolatey?  I
don't know, but being able to use System.Random like every other package
would be greatly appreciated.  Right now, I'm not sure what command I need
to use to do that.

Thanks in advance and thank you for your time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.haskell.org/pipermail/beginners/attachments/20210216/0da4121d/attachment-0001.html>

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

Message: 2
Date: Wed, 17 Feb 2021 08:07:33 +0100
From: Francesco Ariis <fa...@ariis.it>
To: beginners@haskell.org
Subject: Re: [Haskell-beginners] Add Global Package
Message-ID: <20210217070732.GA23243@extensa>
Content-Type: text/plain; charset=us-ascii

Il 16 febbraio 2021 alle 20:49 A. Mc. ha scritto:
> I'm attempting to install and update the .yaml file so I don't have to run
> the command $ stack ghci --package random every single time I want to load
> a module that imports System.Random.  Or maybe I need to use chocolatey?

No idea with stack, but with cabal is:

    cabal install --lib random


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

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 7
*****************************************

Reply via email to