[Haskell-cafe] Superset of Haddock and Markdown

Thomas Schilling nominolo at googlemail.com
Mon Nov 21 22:12:25 CET 2011

On 21 November 2011 17:34, Brandon Allbery <allbery.b at gmail.com> wrote:
>> Haddock carries the same license as GHC.
> More to the point, Haddock uses ghc internals these days; it's not just a
> matter of bundling, and the licenses *must* be compatible.

No.  If the haddock library any program that links against that
library (e.g., the haddock program) effectively becomes GPL licensed
(roughly speaking).  However, ghc and none of the core libraries link
against haddock, so that's not a problem.  You could run into issues
if you wanted to write a closed-source program that links against the
haddock library.

I generally don't like GPL-licensed libraries for that reason, but in
this case I think it would be fine.

 (Of course, the issue is that many tools start out as programs and
then turn into libraries -- pandoc is a good example.  At that point
GPL becomes an issue again.)

Push the envelope. Watch it bend.

More information about the Haskell-Cafe mailing list