[Haskell-beginners] Installing packages ?

Michael Xavier nemesisdesign at gmail.com
Mon Dec 19 07:43:11 CET 2011


I would begin by looking at the docs for that package:

http://hackage.haskell.org/package/StatisticalMethods-0.0.0.1

In particular, the Modules section. Find the functions you want from the
modules that contain them and import them into your program. IE if you
wanted to work with a confusion matrix, whatever that is, and your program
looks like:

module MyModule where
.....

You instead do:

module MyModule where
import Statistics.ConfusionMatrix

... do stuff with the functions in that module ...

You may also find this handy:
http://haskell.org/haskellwiki/Import_modules_properly

and this tutorial:
http://learnyouahaskell.com/modules

Hope that helps

On Sun, Dec 18, 2011 at 9:39 PM, CEO'Riley <ceoriley at gmail.com> wrote:

> The package was StatisticalMethods.  Unfortunately, I’m new at this and
> very anal.  When you say import it into the project I’m using, I assume you
> mean via the Haskell program (WinGHC).  If that’s correct, then what nexts?
> ****
>
> ** **
>
> ** **
>
> ** **
>
> Regards,****
>
> CEO’Riley****
>
> Charles E. O’Riley Jr.****
>
> ** **
>
> *From:* Michael Xavier [mailto:nemesisdesign at gmail.com]
> *Sent:* Sunday, December 18, 2011 11:37 PM
> *To:* ceoriley at gmail.com
> *Cc:* beginners at haskell.org
> *Subject:* Re: [Haskell-beginners] Installing packages ?****
>
> ** **
>
> Import it into a project you're using.****
>
> ** **
>
> What package was it?****
>
> On Sun, Dec 18, 2011 at 9:19 PM, CEO'Riley <ceoriley at gmail.com> wrote:****
>
> ****
>
> Hello all,****
>
>  ****
>
> I recently installed a statistical package using cabal on my Windows
> machine.  I need to know what to do next in order to get access to the
> statistical functionality.  I’ve looked but have not been able to fine the
> answer.  Thanks.****
>
>  ****
>
>  ****
>
>  ****
>
> Regards,****
>
> CEO’Riley****
>
> Charles E. O’Riley Jr.****
>
>  ****
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners****
>
>
>
> ****
>
> ** **
>
> --
> Michael Xavier
> http://www.michaelxavier.net****
>
> LinkedIn <http://www.linkedin.com/pub/michael-xavier/13/b02/a26>****
>
> ** **
>



-- 
Michael Xavier
http://www.michaelxavier.net
LinkedIn <http://www.linkedin.com/pub/michael-xavier/13/b02/a26>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20111218/0bd5766c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 7023 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/beginners/attachments/20111218/0bd5766c/attachment.jpeg>


More information about the Beginners mailing list