[Haskell-beginners] Package access problem

amindfv at gmail.com amindfv at gmail.com
Thu Feb 19 16:38:21 UTC 2015


It looks like OP tried doing ":m + Diagrams.Prelude" already...

El Feb 18, 2015, a las 8:23, Daniel Bergey <bergey at alum.mit.edu> escribió:

> On 2015-02-18 at 02:15, Brandon Allbery <allbery.b at gmail.com> wrote:
>> On Tue, Feb 17, 2015 at 9:13 PM, Gregory Guthrie <guthrie at mum.edu> wrote:
>> 
>>>   <no location info>:
>>> 
>>>       Could not find module `Diagrams'
>> "Diagrams" is not a module in any of the packages; it's just a point in the
>> namespace under which the actual modules reside. I see for example at
>> http://hackage.haskell.org/package/diagrams-core
> 
> Expanding on Brandon's answer, Diagrams.Prelude[1] is probably what you
> want to import.  You'll also need one of the Backends, to save files.
> See for instance this minimal example: [2]
> 
> Footnotes: 
> [1]  http://hackage.haskell.org/package/diagrams-lib-1.2.0.8/docs/Diagrams-Prelude.html
> 
> [2]  http://projects.haskell.org/diagrams/doc/manual.html#getting-started
> 
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


More information about the Beginners mailing list