[Haskell-beginners] Data.Vector in Haskell

Brandon Allbery allbery.b at gmail.com
Thu May 28 21:01:54 UTC 2015


On Wed, May 27, 2015 at 4:15 AM, Dananji Liyanage <dan9131 at gmail.com> wrote:

> <interactive>:41:18:
>     Couldn't match expected type ‘Data.Vector.Vector a’
>                 with actual type ‘vector-0.10.9.1:Data.Vector.Vector Int’
>     NB: ‘Data.Vector.Vector’
>           is defined in ‘Data.Vector’ in package ‘vector-0.10.12.3’
>         ‘vector-0.10.9.1:Data.Vector.Vector’
>           is defined in ‘Data.Vector’ in package ‘vector-0.10.9.1’
>

Did you read the message? It is telling you that you have two versions of
the vector package installed, and it is unable to reconcile them.

You should likely remove one of them --- and in the future use sandboxes so
that you can avoid this kind of conflict.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20150528/5f48e1f1/attachment.html>


More information about the Beginners mailing list