[Haskell-beginners] Stack doesn't find downloaded module

Norbert Melzer timmelzer at gmail.com
Tue Jul 23 06:03:03 UTC 2019

Hello Miguel!

On Tue, Jul 23, 2019 at 7:01 AM Miguel Angel Ordoñez Silis <
mianorsi at ciencias.unam.mx> wrote:

> stack install multiset.

`stack install` is meant to install packages that result in a executable
program, not for libraries.

> It was supposedly successfully installed but when I try to import it stack
> says it couldn't find it ('Could not find module ‘Data.MultiSet’). I've
> tried reading haskellstack.org's documentation but I've not been able to
> find a solution.

You need to specify `multiset` as a dependency in your `package.yaml` of
your project.

> Well, thanks in advance for your help
> Mike
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20190723/32cb87ed/attachment.html>

More information about the Beginners mailing list