I accidentally the Prelude
marlowsd at gmail.com
Tue Mar 2 06:21:21 EST 2010
On 02/03/2010 08:59, Josef Svenningsson wrote:
> On Mon, Mar 1, 2010 at 11:54 PM, Jeremy Shaw<jeremy at n-heptane.com> wrote:
>> is there, by chance, a file named Prelude.hs in the working directory? (the
>> directory you are in when you type ghci?)
>> - jeremy
> Ah. Thanks! That was indeed the problem.
> Though I think ghci:s response could be a little bit more transparent.
Sure, how about this:
$ touch Prelude.hs
GHCi, version 6.12.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package ffi-1.0 ... linking ... done.
ie. with 6.12.1 it just works.
More information about the Glasgow-haskell-users