[Haskell-cafe] dot-ghci files

Christian Maeder Christian.Maeder at dfki.de
Thu Dec 9 11:01:36 CET 2010

Am 09.12.2010 08:01, schrieb Tony Morris:
> I teach haskell quite a lot. I recommend using .ghci files in projects.
> Today I received complaints about the fact that ghci will reject .ghci
> if it is group-writeable. I didn't offer an opinion on the matter. I am
> wondering if these complaints have legitimate grounds i.e. maybe you
> want to have group write on that file for some reason.
> I'd appreciate some comments on this issue. Thanks.

Indeed I get:

> GHCi, version 7.0.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.
*** WARNING: /home/maeder/.ghci is writable by someone else, IGNORING!

and I'm surprised!

Cheers Christian

More information about the Haskell-Cafe mailing list