[Haskell-cafe] Using Data.Complex

andy morris andy at adradh.org.uk
Wed Apr 22 09:34:22 EDT 2009


2009/4/22 michael rice <nowgate at yahoo.com>:
> Just exploring. How to load?
>
> Michael
>
> [michael at localhost ~]$ ghci Data.Complex
> GHCi, version 6.10.1: http://www.haskell.org/ghc/  :? for help
> Loading package ghc-prim ... linking ... done.
> Loading package integer ... linking ... done.
> Loading package base ... linking ... done.
>
> <no location info>: module `Data.Complex' is a package module
> Failed, modules loaded: none.
> Prelude>
>
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>

Try ':module + Data.Complex' from within GHCi. (Or 'import
Data.Complex' from within a source file, of course.)


More information about the Haskell-Cafe mailing list