[Haskell-beginners] Add Global Package

Francesco Ariis fa-ml at ariis.it
Wed Feb 17 07:07:33 UTC 2021


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


More information about the Beginners mailing list