D
D
Dmitry Shcherbakov2019-05-26 16:09:08
Haskell
Dmitry Shcherbakov, 2019-05-26 16:09:08

How to install libraries on haskell?

Programming on windows)
I have a code that uses 2 third-party libraries:
import Data.Aeson
import Network.HTTP.Conduit
GHCI swears, please tell me how to install them so that everything starts and I live happily?)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
YURIY KOZLOV, 2019-05-27
@WizardNG

It's not difficult to install. First
cabal update command
Then
cabal install aeson
This is for the first library.
cabal install http-conduit
This is for the second one.
Then it is necessary to prescribe from the cabal-file of the project .... Or are you building a stack?
Actually, I'm a newbie myself, I can't say much.
More tips can be found on the telegram channel
@haskell_learn

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question