[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell-beginners
Subject:    Re: [Haskell-beginners] Installing packages ?
From:       Michael Xavier <nemesisdesign () gmail ! com>
Date:       2011-12-19 6:43:11
Message-ID: CANk=zmG8SivSU=f4=qqiGHcRL682rWoD3u+wjaDqjG_1iL2rsw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


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@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@gmail.com]
> *Sent:* Sunday, December 18, 2011 11:37 PM
> *To:* ceoriley@gmail.com
> *Cc:* beginners@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@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@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>

[Attachment #7 (text/html)]

I would begin by looking at the docs for that package:<div><br></div><div><a \
href="http://hackage.haskell.org/package/StatisticalMethods-0.0.0.1">http://hackage.haskell.org/package/StatisticalMethods-0.0.0.1</a></div><div>
 <br></div><div>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:</div> \
<div><br></div><div>module MyModule where</div><div>.....</div><div><br>You instead \
do:</div><div><br></div><div>module MyModule where</div><div>import \
Statistics.ConfusionMatrix</div><div><br></div><div>... do stuff with the functions \
in that module ... </div> <div><br></div><div>You may also find this \
handy:</div><div><a href="http://haskell.org/haskellwiki/Import_modules_properly">http \
://haskell.org/haskellwiki/Import_modules_properly</a></div><div><br></div><div>and \
this tutorial:</div> <div><a \
href="http://learnyouahaskell.com/modules">http://learnyouahaskell.com/modules</a></div><div><br></div><div>Hope \
that helps</div><div><br><div class="gmail_quote">On Sun, Dec 18, 2011 at 9:39 PM, \
CEO&#39;Riley <span dir="ltr">&lt;<a \
href="mailto:ceoriley@gmail.com">ceoriley@gmail.com</a>&gt;</span> wrote:<br> \
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p \
class="MsoNormal"><a name="13454d616e0e11c8__MailEndCompose"><span \
style="color:#1f497d">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?<u></u><u></u></span></a></p> <div class="im"><p class="MsoNormal"><span \
style="color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span \
style="font-size:11.0pt;color:#1f497d"><u></u> <u></u></span></p><p \
class="MsoNormal"><span style="font-size:11.0pt;color:#1f497d"><u></u> \
<u></u></span></p> <p class="MsoNormal"><span \
style="color:#1f497d">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span \
style="font-family:&quot;Script MT Bold&quot;;color:#1f497d">CEO’Riley</span><span \
style="color:#1f497d"><u></u><u></u></span></p> <p class="MsoNormal"><span \
style="color:#1f497d">Charles E. O’Riley Jr.<u></u><u></u></span></p><p \
class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p></div><p \
class="MsoNormal"><b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span \
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> \
Michael Xavier [mailto:<a href="mailto:nemesisdesign@gmail.com" \
target="_blank">nemesisdesign@gmail.com</a>] <br> <b>Sent:</b> Sunday, December 18, \
2011 11:37 PM<br><b>To:</b> <a href="mailto:ceoriley@gmail.com" \
target="_blank">ceoriley@gmail.com</a><br><b>Cc:</b> <a \
href="mailto:beginners@haskell.org" target="_blank">beginners@haskell.org</a><br> \
<b>Subject:</b> Re: [Haskell-beginners] Installing packages \
?<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal"><u></u> \
<u></u></p><p class="MsoNormal">Import it into a project you&#39;re \
using.<u></u><u></u></p> <div><p class="MsoNormal"><u></u> <u></u></p></div><div><p \
class="MsoNormal" style="margin-bottom:12.0pt">What package was \
it?<u></u><u></u></p><div><p class="MsoNormal">On Sun, Dec 18, 2011 at 9:19 PM, \
CEO&#39;Riley &lt;<a href="mailto:ceoriley@gmail.com" \
target="_blank">ceoriley@gmail.com</a>&gt; wrote:<u></u><u></u></p> <div><p \
class="MsoNormal"><img border="0" width="192" height="192" \
src="cid:image001.jpg@01CCBDDE.4E35A670"><u></u><u></u></p><div><p \
class="MsoNormal">Hello all,<u></u><u></u></p><p class="MsoNormal"> \
<u></u><u></u></p><p class="MsoNormal"> 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.<u></u><u></u></p> <p class="MsoNormal"> <u></u><u></u></p><p \
class="MsoNormal"><span style="font-size:11.0pt"> </span><u></u><u></u></p><p \
class="MsoNormal"><span style="font-size:11.0pt"> </span><u></u><u></u></p><p \
class="MsoNormal">Regards,<u></u><u></u></p> <p class="MsoNormal"><span \
style="font-family:&quot;Script MT Bold&quot;">CEO’Riley</span><u></u><u></u></p><p \
class="MsoNormal">Charles E. O’Riley Jr.<u></u><u></u></p><p class="MsoNormal"> \
<u></u><u></u></p></div></div> <p class="MsoNormal" \
style="margin-bottom:12.0pt"><br>_______________________________________________<br>Beginners \
mailing list<br><a href="mailto:Beginners@haskell.org" \
target="_blank">Beginners@haskell.org</a><br><a \
href="http://www.haskell.org/mailman/listinfo/beginners" \
target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><u></u><u></u></p>
 </div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p \
class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <br>Michael \
Xavier<br><a href="http://www.michaelxavier.net" \
target="_blank">http://www.michaelxavier.net</a><u></u><u></u></p> <div><p \
class="MsoNormal"><a href="http://www.linkedin.com/pub/michael-xavier/13/b02/a26" \
target="_blank">LinkedIn</a><u></u><u></u></p></div><p class="MsoNormal"><u></u> \
<u></u></p></div></div></div></div></div></blockquote> </div><br><br \
clear="all"><div><br></div>-- <br>Michael Xavier<br><a \
href="http://www.michaelxavier.net" \
target="_blank">http://www.michaelxavier.net</a><div><a \
href="http://www.linkedin.com/pub/michael-xavier/13/b02/a26" \
target="_blank">LinkedIn</a></div> <br>
</div>

--00151747bf32aff85b04b46c43c5--


["image001.jpg" (image/jpeg)]

_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic