Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 6e204a966e8c42d976f99a1700ce5f20 > files > 2019

ghc-7.4.2-4.mga5.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Distribution.License</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Distribution-License.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">Cabal-1.14.0: A framework for packaging Haskell software</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable</td></tr><tr><th>Maintainer</th><td>cabal-devel@haskell.org</td></tr><tr><th>Safe Haskell</th><td>Safe-Infered</td></tr></table><p class="caption">Distribution.License</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>The License datatype.  For more information about these and other
 open-source licenses, you may visit <a href="http://www.opensource.org/">http://www.opensource.org/</a>.
</p><p>The <code>.cabal</code> file allows you to specify a license file. Of course you can
 use any license you like but people often pick common open source licenses
 and it's useful if we can automatically recognise that (eg so we can display
 it on the hackage web pages). So you can also specify the license itself in
 the <code>.cabal</code> file from a short enumeration defined in this module. It
 includes <code><a href="Distribution-License.html#v:GPL">GPL</a></code>, <code><a href="Distribution-License.html#v:LGPL">LGPL</a></code> and <code><a href="Distribution-License.html#v:BSD3">BSD3</a></code> licenses.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span>  <a href="#t:License">License</a> <ul class="subs"><li>= <a href="#v:GPL">GPL</a> (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Distribution-Version.html#t:Version">Version</a>)  </li><li>| <a href="#v:LGPL">LGPL</a> (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Distribution-Version.html#t:Version">Version</a>)  </li><li>| <a href="#v:BSD3">BSD3</a>  </li><li>| <a href="#v:BSD4">BSD4</a>  </li><li>| <a href="#v:MIT">MIT</a>  </li><li>| <a href="#v:PublicDomain">PublicDomain</a>  </li><li>| <a href="#v:AllRightsReserved">AllRightsReserved</a>  </li><li>| <a href="#v:OtherLicense">OtherLicense</a>  </li><li>| <a href="#v:UnknownLicense">UnknownLicense</a> <a href="../base-4.5.1.0/Data-String.html#t:String">String</a>  </li></ul></li><li class="src short"><a href="#v:knownLicenses">knownLicenses</a> :: [<a href="Distribution-License.html#t:License">License</a>]</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:License" class="def">License</a>  </p><div class="doc"><p>This datatype indicates the license under which your package is
 released.  It is also wise to add your license to each source file
 using the license-file field.  The <code><a href="Distribution-License.html#v:AllRightsReserved">AllRightsReserved</a></code> constructor
 is not actually a license, but states that you are not giving
 anyone else a license to use or distribute your work.  The comments
 below are general guidelines.  Please read the licenses themselves
 and consult a lawyer if you are unsure of your rights to release
 the software.
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:GPL" class="def">GPL</a> (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Distribution-Version.html#t:Version">Version</a>)</td><td class="doc"><p>GNU Public License. Source code must accompany alterations.
</p></td></tr><tr><td class="src"><a name="v:LGPL" class="def">LGPL</a> (<a href="../base-4.5.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Distribution-Version.html#t:Version">Version</a>)</td><td class="doc"><p>Lesser GPL, Less restrictive than GPL, useful for libraries.
</p></td></tr><tr><td class="src"><a name="v:BSD3" class="def">BSD3</a></td><td class="doc"><p>3-clause BSD license, newer, no advertising clause. Very free license.
</p></td></tr><tr><td class="src"><a name="v:BSD4" class="def">BSD4</a></td><td class="doc"><p>4-clause BSD license, older, with advertising clause. You almost
 certainly want to use the BSD3 license instead.
</p></td></tr><tr><td class="src"><a name="v:MIT" class="def">MIT</a></td><td class="doc"><p>The MIT license, similar to the BSD3. Very free license.
</p></td></tr><tr><td class="src"><a name="v:PublicDomain" class="def">PublicDomain</a></td><td class="doc"><p>Holder makes no claim to ownership, least restrictive license.
</p></td></tr><tr><td class="src"><a name="v:AllRightsReserved" class="def">AllRightsReserved</a></td><td class="doc"><p>No rights are granted to others. Undistributable. Most restrictive.
</p></td></tr><tr><td class="src"><a name="v:OtherLicense" class="def">OtherLicense</a></td><td class="doc"><p>Some other license.
</p></td></tr><tr><td class="src"><a name="v:UnknownLicense" class="def">UnknownLicense</a> <a href="../base-4.5.1.0/Data-String.html#t:String">String</a></td><td class="doc"><p>Not a recognised license.
 Allows us to deal with future extensions more gracefully.
</p></td></tr></table></div><div class="subs instances"><p id="control.i:License" class="caption collapser" onclick="toggleSection('i:License')">Instances</p><div id="section.i:License" class="show"><table><tr><td class="src"><a href="../base-4.5.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Distribution-License.html#t:License">License</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="../base-4.5.1.0/Text-Read.html#t:Read">Read</a> <a href="Distribution-License.html#t:License">License</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="../base-4.5.1.0/Text-Show.html#t:Show">Show</a> <a href="Distribution-License.html#t:License">License</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Distribution-Text.html#t:Text">Text</a> <a href="Distribution-License.html#t:License">License</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:knownLicenses" class="def">knownLicenses</a> :: [<a href="Distribution-License.html#t:License">License</a>]</p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.11.0</p></div></body></html>