1 This library (libraries/base) is derived from code from several
4 * Code from the GHC project which is largely (c) The University of
5 Glasgow, and distributable under a BSD-style license (see below),
7 * Code from the Haskell 98 Report which is (c) Simon Peyton Jones
8 and freely redistributable (but see the full license for
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).
15 * Code from the Parsec library which is (c) Daan Leijen, and
16 distributable under a BSD-style license (see below).
18 The full text of these licenses is reproduced below. All of the
19 licenses are BSD-style or compatible.
21 -----------------------------------------------------------------------------
23 The Glasgow Haskell Compiler License
25 Copyright 2002, The University Court of the University of Glasgow.
28 Redistribution and use in source and binary forms, with or without
29 modification, are permitted provided that the following conditions are met:
31 - Redistributions of source code must retain the above copyright notice,
32 this list of conditions and the following disclaimer.
34 - Redistributions in binary form must reproduce the above copyright notice,
35 this list of conditions and the following disclaimer in the documentation
36 and/or other materials provided with the distribution.
38 - Neither name of the University nor the names of its contributors may be
39 used to endorse or promote products derived from this software without
40 specific prior written permission.
42 THIS SOFTWARE IS PROVIDED BY THE UNIVERSITY COURT OF THE UNIVERSITY OF
43 GLASGOW AND THE CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
44 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
45 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
46 UNIVERSITY COURT OF THE UNIVERSITY OF GLASGOW OR THE CONTRIBUTORS BE LIABLE
47 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
48 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
49 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
50 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
51 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
52 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
55 -----------------------------------------------------------------------------
57 Code derived from the document "Report on the Programming Language
58 Haskell 98", is distributed under the following license:
60 Copyright (c) 2002 Simon Peyton Jones
62 The authors intend this Report to belong to the entire Haskell
63 community, and so we grant permission to copy and distribute it for
64 any purpose, provided that it is reproduced in its entirety,
65 including this Notice. Modified versions of this Report may also be
66 copied and distributed for any purpose, provided that the modified
67 version is clearly presented as such, and that it does not claim to
68 be a definition of the Haskell 98 Language.
70 -----------------------------------------------------------------------------
72 Code derived from the document "The Haskell 98 Foreign Function
73 Interface, An Addendum to the Haskell 98 Report" is distributed under
74 the following license:
76 Copyright (c) 2002 Manuel M. T. Chakravarty
78 The authors intend this Report to belong to the entire Haskell
79 community, and so we grant permission to copy and distribute it for
80 any purpose, provided that it is reproduced in its entirety,
81 including this Notice. Modified versions of this Report may also be
82 copied and distributed for any purpose, provided that the modified
83 version is clearly presented as such, and that it does not claim to
84 be a definition of the Haskell 98 Foreign Function Interface.
86 -----------------------------------------------------------------------------
88 Code derived from Daan Leijen's Parsec is distributed under the following
91 Copyright 1999-2000, Daan Leijen. All rights reserved.
93 Redistribution and use in source and binary forms, with or without
94 modification, are permitted provided that the following conditions are met:
96 * Redistributions of source code must retain the above copyright notice,
97 this list of conditions and the following disclaimer.
98 * Redistributions in binary form must reproduce the above copyright
99 notice, this list of conditions and the following disclaimer in the
100 documentation and/or other materials provided with the distribution.
102 This software is provided by the copyright holders "as is" and any express or
103 implied warranties, including, but not limited to, the implied warranties of
104 merchantability and fitness for a particular purpose are disclaimed. In no
105 event shall the copyright holders be liable for any direct, indirect,
106 incidental, special, exemplary, or consequential damages (including, but not
107 limited to, procurement of substitute goods or services; loss of use, data,
108 or profits; or business interruption) however caused and on any theory of
109 liability, whether in contract, strict liability, or tort (including
110 negligence or otherwise) arising in any way out of the use of this software,
111 even if advised of the possibility of such damage.
113 -----------------------------------------------------------------------------