<p dir="ltr">Where did you install the Haskell Platform? </p>
<p dir="ltr">--<br>
--</p>
<p dir="ltr">Sent from an expensive device which will be obsolete in a few months! :D</p>
<p dir="ltr">Casey<br>
</p>
<div class="gmail_quote">On Feb 18, 2015 9:18 AM, "Gregory Guthrie" <<a href="mailto:guthrie@mum.edu">guthrie@mum.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you for the clarification; I should not have included that example - but the issue is with the other names that should work as in the same example below;<br>
"import Diagrams.Prelude", import Diagrams.Backend.SVG.CmdLine, etc.<br>
<br>
-------------------------------------------<br>
> I installed diagrams, and it seems to be there, but GHCi doesn't find it. I tried adding the<br>
> local sandbox to the command line (-package-db), but still no luck Any suggestions?<br>
><br>
> C:\Users\guthrie><br>
> C:\Users\guthrie>cabal install diagrams<br>
> Resolving dependencies...<br>
> All the requested packages are already installed:<br>
> diagrams-1.2<br>
> Use --reinstall if you want to reinstall anyway.<br>
><br>
> I find it in:<br>
> C:\Users\guthrie\.cabal-sandbox\i386-windows-ghc-7.6.3-packages.conf.d<br>
(and C:\Users\guthrie\.cabal-sandbox\i386-windows-ghc-7.6.3 )<br>
> (diagrams-1.2, diagrams-contrib, -core, -lib, -svg)<br>
><br>
> But running: "cabal repl" or using the GHC(i) flag "-package-db=...(as above)..."<br>
> fail to find it:<br>
><br>
> C:\Users\guthrie>cabal repl<br>
> GHCi, version 7.6.3: <a href="http://www.haskell.org/ghc/" target="_blank">http://www.haskell.org/ghc/</a> :? for help<br>
> Loading package ghc-prim ... linking ... done.<br>
> Loading package integer-gmp ... linking ... done.<br>
> Loading package base ... linking ... done.<br>
> Prelude> :m + Diagrams.Prelude<br>
><br>
> <no location info>:<br>
> Could not find module `Diagrams.Prelude'<br>
> It is not a module in the current program, or in any known package.<br>
> Prelude><br>
> ----------------------------------------------------------<br>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
</blockquote></div>