From f2b5659c792b75606256f3be6200650e60695777 Mon Sep 17 00:00:00 2001 From: Dominic Steinitz Date: Sat, 21 Apr 2018 16:18:33 +0100 Subject: Missing adjoints to stack / cabal --- examples/ChangeLog.md | 5 +++++ examples/LICENSE | 30 ++++++++++++++++++++++++++++++ examples/Setup.hs | 2 ++ examples/examples.cabal | 21 +++++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 examples/ChangeLog.md create mode 100644 examples/LICENSE create mode 100644 examples/Setup.hs create mode 100644 examples/examples.cabal diff --git a/examples/ChangeLog.md b/examples/ChangeLog.md new file mode 100644 index 0000000..a7e4c4c --- /dev/null +++ b/examples/ChangeLog.md @@ -0,0 +1,5 @@ +# Revision history for hmatrix-examples + +## 0.1.0.0 -- YYYY-mm-dd + +* First version. Released on an unsuspecting world. diff --git a/examples/LICENSE b/examples/LICENSE new file mode 100644 index 0000000..18e5956 --- /dev/null +++ b/examples/LICENSE @@ -0,0 +1,30 @@ +Copyright (c) 2018, Dominic Steinitz + +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. + + * Neither the name of Dominic Steinitz nor the names of other + 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. diff --git a/examples/Setup.hs b/examples/Setup.hs new file mode 100644 index 0000000..9a994af --- /dev/null +++ b/examples/Setup.hs @@ -0,0 +1,2 @@ +import Distribution.Simple +main = defaultMain diff --git a/examples/examples.cabal b/examples/examples.cabal new file mode 100644 index 0000000..c2fed7e --- /dev/null +++ b/examples/examples.cabal @@ -0,0 +1,21 @@ +name: examples +version: 0.1.0.0 +synopsis: Example usage of the various hmatrix packages +homepage: https://github.com/albertoruiz/hmatrix +license: BSD3 +license-file: LICENSE +author: Dominic Steinitz +maintainer: dominic@steinitz.org +copyright: Dominic Steinitz, Novadiscovery +category: Math +build-type: Simple +extra-source-files: ChangeLog.md +cabal-version: >=1.10 + +executable sundials + main-is: sundials.hs + build-depends: base >=4.10 && <4.11, + hmatrix, + hmatrix-sundials, + hmatrix-gsl + default-language: Haskell2010 -- cgit v1.2.3