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