Skip to content

Commit 30f6480

Browse files
committed
Examples
1 parent c2f9454 commit 30f6480

File tree

4 files changed

+398
-0
lines changed

4 files changed

+398
-0
lines changed

cabal.project

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
packages:
2+
.
3+
examples

examples/LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Copyright (c) 2023 John Ky
2+
Copyright (c) 2019 Tom Harding
3+
4+
Permission is hereby granted, free of charge, to any person obtaining
5+
a copy of this software and associated documentation files (the
6+
"Software"), to deal in the Software without restriction, including
7+
without limitation the rights to use, copy, modify, merge, publish,
8+
distribute, sublicense, and/or sell copies of the Software, and to
9+
permit persons to whom the Software is furnished to do so, subject to
10+
the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included
13+
in all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
18+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

examples/oops-examples.cabal

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
cabal-version: 3.0
2+
3+
name: oops-examples
4+
version: 0.2.0.0
5+
synopsis: Oops examples
6+
description: Oops examples.
7+
homepage: https://www.github.com/haskell-works/oops
8+
license: MIT
9+
license-file: LICENSE
10+
author: John Ky
11+
maintainer: [email protected]
12+
copyright: 2023 John Ky
13+
2019 Tom Harding
14+
category: Data
15+
Control
16+
tested-with: GHC == 9.4.4, GHC == 9.2.5, GHC == 9.0.2, GHC == 8.10.7
17+
18+
source-repository head
19+
type: git
20+
location: https://github.com/haskell-works/oops
21+
22+
common base { build-depends: base >= 4.12 && < 5 }
23+
24+
common exceptions { build-depends: exceptions }
25+
common mtl { build-depends: mtl }
26+
common oops { build-depends: oops }
27+
common text { build-depends: text }
28+
common transformers { build-depends: transformers }
29+
30+
common project-config
31+
default-language: Haskell2010
32+
default-extensions: BlockArguments
33+
RankNTypes
34+
ScopedTypeVariables
35+
ghc-options: -Wall
36+
37+
library
38+
import: base, project-config,
39+
exceptions,
40+
mtl,
41+
oops,
42+
text,
43+
transformers,
44+
exposed-modules: Examples
45+
hs-source-dirs: src

0 commit comments

Comments
 (0)