How to enable hacker packages in Leksah

I wanted to start playing with hExpat for Xml I / O using Haskell. However, I could not find where to express Lex that I want to import this package into my current module.

Could you tell me how to achieve this?

EDIT : search still. There is some useful information with this Q & A , but it only applies to Data.Time Data.Directory.

In my case, this is a downloaded, unpacked Hackage package.

+3
source share
1 answer

First, you need to install the package. Just run cabal and type:

cabal install YOUR PACKAGE NAME HERE

, Leksah, (package → edit package → dependencies) . "". , .

+6

Source: https://habr.com/ru/post/1788195/


All Articles