[Haskell-cafe] ghci + user prelude

Sean McLaughlin seanmcl at gmail.com
Mon Nov 16 19:06:06 EST 2009


Hi.  I'm aware of this option, and use it frequently to override the
default prelude, but it doesn't help this problem:

$ ghci -XNoImplicitPrelude
GHCi, version 6.10.4: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
<command line>: module `Prelude' is not loaded


On Mon, Nov 16, 2009 at 3:46 PM, Edward Z. Yang <ezyang at mit.edu> wrote:
> Excerpts from Sean McLaughlin's message of Mon Nov 16 15:27:55 -0500 2009:
>> Is there a way around this?  I often like to have a modified Prelude
>> file in a subdirectory of my project, and this behavior keeps me from
>> being able to start ghci there.
>
> http://www.haskell.org/haskellwiki/No_import_of_Prelude
>
> Cheers,
> Edward
>


More information about the Haskell-Cafe mailing list