[Haskell] PPrint license

Jaap Weel weel at ugcs.caltech.edu
Mon May 30 00:35:09 EDT 2005


On Sun, May 29, 2005 at 11:03:14PM -0400, Samuel Bronson wrote:
> I was messing around with some pretty printing stuff in Pugs, and I
> got tired of Text.PrettyPrint.HughesPJ, and wound up wanting to use
> PPrint. But I don't see any license anywhere for it, so I'm naturally
> a bit hessitant to stick it in the Pugs svn tree...

In the version of PPrint that I use, there is a license notice in the
documentation (pprint.html). I just copied that notice into the PPrint.hs
file before using it in my own projects, like so:

{- From the documentation distributed with this library: Copyright
   2000, Daan Leijen. All rights reserved. Redistribution and use in
   source and binary forms, with or without modification, are
   permitted provided that the following conditions are met:
   Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
   Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the
   distribution. This software is provided by the copyright holders
   "as is" and any express or implied warranties, including, but not
   limited to, the implied warranties of merchantability and fitness
   for a particular purpose are disclaimed. In no event shall the
   copyright holders be liable for any direct, indirect, incidental,
   special, exemplary, or consequential damages (including, but not
   limited to, procurement of substitute goods or services; loss of
   use, data, or profits; or business interruption) however caused and
   on any theory of liability, whether in contract, strict liability,
   or tort (including negligence or otherwise) arising in any way out
   of the use of this software, even if advised of the possibility of
   such damage.  -}

Of course, the last word is with Daan Leijen, but I think you should be
legally in the clear doing it that way. It is pretty obvious that, while the
license is in the documentation, it is meant to apply to the code.

    /jaap
    
    
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org//pipermail/haskell/attachments/20050529/5dda74bb/attachment.bin


More information about the Haskell mailing list