
when i am implementing my matrx vector product i am importing data.vector.its showing me an error Could not find module `Data.Vector': Use -v to see a list of the files searched for. do i need to install any packages.if so, can you guide me how to install those packages

You questions make me wonder which introductory book you are using if any. You will not get very far without one.
I recommend this one.
____________________ David Place Owner, Panpipes Ho! LLC http://panpipesho.com d@vidplace.com On Sep 12, 2011, at 1:02 PM, kolli kolli wrote:
when i am implementing my matrx vector product i am importing data.vector.its showing me an error
Could not find module `Data.Vector': Use -v to see a list of the files searched for. do i need to install any packages.if so, can you guide me how to install those packages _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

a great source of information is: http://holumbus.fh-wedel.de/hayoo you can look for function names or type signatures and I found 'Data.Vector' there. The first entry on the left side shows you a description and the name of that package in blue. In this case 'vector'. With the program 'cabal' you can install haskell packages: 'cabal install vector' Dependiencies should be resolved automatically. On 09/12/2011 07:02 PM, kolli kolli wrote:
when i am implementing my matrx vector product i am importing data.vector.its showing me an error
Could not find module `Data.Vector': Use -v to see a list of the files searched for. do i need to install any packages.if so, can you guide me how to install those packages
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

On Mon, Sep 12, 2011 at 11:02:53AM -0600, kolli kolli wrote:
when i am implementing my matrx vector product i am importing data.vector.its showing me an error
Could not find module `Data.Vector': Use -v to see a list of the files searched for. do i need to install any packages.if so, can you guide me how to install those packages
As someone else already pointed out, Data.Vector can be found in the vector package. However, note that the vector package is a sophisticated implementation designed to be used in code that needs high performance. I do not recommend it to someone just starting out with Haskell. It also does not support matrices. If you are just trying to learn some Haskell, I would suggest first trying to implement matrix-vector product using the types type Vector a = [a] type Matrix a = [Vector a] -Brent
participants (4)
-
Brent Yorgey
-
David Place
-
Gary
-
kolli kolli