License
Sprite is distributed under the BSD 3-Clause License.
BSD 3-Clause License
Copyright (c) 2016-2026 Andrew Jost
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
The Curry library
The Curry library under curry/lib is the base library of PAKCS,
with Sprite’s own modules beside it. It carries the license of PAKCS and
a notice of its origin. The distribution also carries the notices of
pybind11 (BSD 3-Clause) and libtommath (public domain), which the runtime
links.
The PAKCS (Portland Aachen Kiel Curry System) License
Copyright (c) 2000-2016, Michael Hanus (University of Kiel)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
- None of the names of the copyright holders and contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Curry library shipped with Sprite
=================================
Origin
------
The Curry sources in this directory, except Control/SetFunctions.curry and
Sprite/Stream.curry, are a copy of the library of PAKCS 3.10.0 (the lib
directory of the binary distribution, https://www.curry-lang.org/pakcs/).
That library is version 3.4.0 of the Curry package "base", as its VERSION file states. The
copyright holder is Michael Hanus, University of Kiel. The license is the
PAKCS license in the file LICENSE beside this notice.
Changes
-------
Prelude.curry carries a three-line prefix:
{-# LANGUAGE CPP #-}
#define __KICS2__ 1
The front end then compiles the KiCS2 branches of the conditional sections
of the Prelude. Sprite implements the primitives of those branches. The
rest of the file is unchanged. The same sources serve both supported front
ends, with the global __PAKCS__ macro set to 304 or 310 respectively.
GetOpt has trailing whitespace removed. AllValues uses ASCII quotes in
two documentation comments. Control/Search/Unsafe.curry and
Control/Search/AllValues.curry adapt the upstream interface to Sprite's weak
native capsules; strong search and rewriting primitives remain unavailable.
Control/Search/SetFunctions.curry retains the upstream documentation header
but replaces the implementation with Sprite's facade and advisory strategies.
The other sources are unchanged.
The Prolog definitions of the externals
(*.pakcs, *.pakcs.pl), the library Makefile, and the generated umbrella
module AllLibraries.curry of the PAKCS distribution are not included.
Sprite's own modules
--------------------
Control/SetFunctions.curry is part of Sprite and is not covered by the
PAKCS license. It is covered by the BSD 3-Clause license in the LICENSE
file at the root of the repository.
Control/Search/SetFunctions.curry is Sprite's implementation, under the same
BSD 3-Clause license as Control/SetFunctions.curry. The upstream header is
retained above the facade and remains covered by the PAKCS license.
Sprite/Stream.curry is also part of Sprite and uses that BSD 3-Clause
license.
Pinned build products
---------------------
The .icy and .json.z files beside some sources are build products of the
icurry tool, version 3.1.0, run with PAKCS 3.4.1 on these sources. See
../README.md.