
18 Feb
2021
18 Feb
'21
4:42 a.m.
On Thu, 18 Feb 2021, A. Mc. wrote:
I am trying to add the package System.Random to be able to run it the same way Data.List or Data.Char, et cetera does in ghci and in doing a ghc command line build.
Do you want to use it from plain GHCi or from 'stack ghci'? Plain GHCi accesses the packages that are listed by $ ghc-pkg list If you want to install and add a package to this list, you can run $ cabal v1-install random