System.Console.Haskeline

How do I load this module? Michael ============= *Main> :m + System.Console.Haskeline <no location info>: Could not find module `System.Console.Haskeline': it is not a module in the current program, or in any known package. *Main>

On 30 November 2010 13:07, michael rice
How do I load this module?
Michael
=============
*Main> :m + System.Console.Haskeline
<no location info>: Could not find module `System.Console.Haskeline': it is not a module in the current program, or in any known package. *Main>
What does "ghc-pkg list haskeline" say? -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

[michael@localhost ~]$ ghc-pkg list haskeline
/usr/lib/ghc-6.12.3/package.conf.d
/home/michael/.ghc/i386-linux-6.12.3/package.conf.d
[michael@localhost ~]$
--- On Mon, 11/29/10, Ivan Lazar Miljenovic
How do I load this module?
Michael
=============
*Main> :m + System.Console.Haskeline
<no location info>: Could not find module `System.Console.Haskeline': it is not a module in the current program, or in any known package. *Main>
What does "ghc-pkg list haskeline" say? -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com

On 30 November 2010 13:43, michael rice
[michael@localhost ~]$ ghc-pkg list haskeline /usr/lib/ghc-6.12.3/package.conf.d /home/michael/.ghc/i386-linux-6.12.3/package.conf.d [michael@localhost ~]$
This means you don't have the haskeline library installed. If your distribution doesn't have a package for it, "cabal install haskeline" should do the trick. -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com
participants (2)
-
Ivan Lazar Miljenovic
-
michael rice