[Haskell-cafe] Feature Proposal: GHC Flag for implicit external Prelude

Joachim Breitner mail at joachim-breitner.de
Wed Jul 16 16:58:50 UTC 2014


Am Mittwoch, den 16.07.2014, 11:25 -0400 schrieb adam vogt:
> On Wed, Jul 16, 2014 at 10:51 AM, Carl Howells <chowells79 at gmail.com> wrote:
> > If you want a prelude tailored to a specific project, you don't need
> > this extension at all.  Just create a module named Prelude in your
> > project.
> Do you know how to load a project like that in ghci? With cabal repl I
> get the following error:
> Top level:
>     attempting to use module ‘Prelude’ (src/Prelude.hs) which is not loaded
> https://github.com/aavogt/preludeFlag is what I tried

That might well be a bug in GHC. Try to reproduce it without cabal (i.e.
find out what options "cabal repl" passes to GHC) and report it at


Joachim “nomeata” Breitner
  mail at joachim-breitner.dehttp://www.joachim-breitner.de/
  Jabber: nomeata at joachim-breitner.de  • GPG-Key: 0xF0FBF51F
  Debian Developer: nomeata at debian.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140716/ba17efef/attachment.sig>

More information about the Haskell-Cafe mailing list