Update source-repository in the .cabal file to point to the git repo
[ghc-prim.git] / LICENSE
1 This library (libraries/ghc-prim) is derived from code from several
2 sources: 
3
4   * Code from the GHC project which is largely (c) The University of
5     Glasgow, and distributable under a BSD-style license (see below),
6
7   * Code from the Haskell 98 Report which is (c) Simon Peyton Jones
8     and freely redistributable (but see the full license for
9     restrictions).
10
11 The full text of these licenses is reproduced below.  All of the
12 licenses are BSD-style or compatible.
13
14 -----------------------------------------------------------------------------
15
16 The Glasgow Haskell Compiler License
17
18 Copyright 2004, The University Court of the University of Glasgow. 
19 All rights reserved.
20
21 Redistribution and use in source and binary forms, with or without
22 modification, are permitted provided that the following conditions are met:
23
24 - Redistributions of source code must retain the above copyright notice,
25 this list of conditions and the following disclaimer.
26  
27 - Redistributions in binary form must reproduce the above copyright notice,
28 this list of conditions and the following disclaimer in the documentation
29 and/or other materials provided with the distribution.
30  
31 - Neither name of the University nor the names of its contributors may be
32 used to endorse or promote products derived from this software without
33 specific prior written permission. 
34
35 THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY COURT OF THE UNIVERSITY OF
36 GLASGOW AND THE CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
37 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
38 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
39 UNIVERSITY COURT OF THE UNIVERSITY OF GLASGOW OR THE CONTRIBUTORS BE LIABLE
40 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
41 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
42 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
43 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
44 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
45 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
46 DAMAGE.
47
48 -----------------------------------------------------------------------------
49
50 Code derived from the document "Report on the Programming Language
51 Haskell 98", is distributed under the following license:
52
53   Copyright (c) 2002 Simon Peyton Jones
54
55   The authors intend this Report to belong to the entire Haskell
56   community, and so we grant permission to copy and distribute it for
57   any purpose, provided that it is reproduced in its entirety,
58   including this Notice.  Modified versions of this Report may also be
59   copied and distributed for any purpose, provided that the modified
60   version is clearly presented as such, and that it does not claim to
61   be a definition of the Haskell 98 Language.
62