Integrating editline with ghc

Yitzchak Gale gale at
Thu Jan 17 11:52:34 EST 2008

Isaac Dupree wrote:
> GHC is in no legal trouble whatsoever... only if proprietary Haskell
> code uses the readline library and doesn't switch to using the editline
> backend.

Agreed. I didn't mean that GHC itself was ever in any
legal trouble. But as a compiler, it must be possible for
users to compile with it without getting into legal trouble.

> On Linux here I have readline installed and not editline
> currently, so it seems silly to require installing editline by default
> ("default" meaning "if I don't want to, I have to figure out the right
> configure flag to give to allow readline to be used").  It makes sense
> to use editline by default for Mac and Windows builds though, where
> readline isn't native, I guess.  Statically linking to editline for
> binary builds would be alright (not exporting any readline to
> ghc-compiled programs by default?).  How is "Search for editline first;
> if not found, try to use readline"?

Yes, I also have a Debian box, and I agree.


More information about the Libraries mailing list