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