Browse Source

First commit

Chris Done 4 years ago
commit
accc5c3794
6 changed files with 66 additions and 0 deletions
  1. 9
    0
      .gitignore
  2. 24
    0
      LICENSE
  3. 4
    0
      README.md
  4. 2
    0
      Setup.hs
  5. 24
    0
      paths.cabal
  6. 3
    0
      src/Path.hs

+ 9
- 0
.gitignore View File

@@ -0,0 +1,9 @@
1
+*.o
2
+*.hi
3
+*~
4
+dist/
5
+cabal-dev/
6
+.hsenv
7
+TAGS
8
+tags
9
+*.tag

+ 24
- 0
LICENSE View File

@@ -0,0 +1,24 @@
1
+Copyright (c) 2015, paths
2
+All rights reserved.
3
+
4
+Redistribution and use in source and binary forms, with or without
5
+modification, are permitted provided that the following conditions are met:
6
+    * Redistributions of source code must retain the above copyright
7
+      notice, this list of conditions and the following disclaimer.
8
+    * Redistributions in binary form must reproduce the above copyright
9
+      notice, this list of conditions and the following disclaimer in the
10
+      documentation and/or other materials provided with the distribution.
11
+    * Neither the name of paths nor the
12
+      names of its contributors may be used to endorse or promote products
13
+      derived from this software without specific prior written permission.
14
+
15
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
19
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

+ 4
- 0
README.md View File

@@ -0,0 +1,4 @@
1
+paths
2
+=====
3
+
4
+Typed paths

+ 2
- 0
Setup.hs View File

@@ -0,0 +1,2 @@
1
+import Distribution.Simple
2
+main = defaultMain

+ 24
- 0
paths.cabal View File

@@ -0,0 +1,24 @@
1
+name:                paths
2
+version:             0.0.0
3
+synopsis:            Typed paths
4
+description:         Typed paths
5
+license:             BSD3
6
+license-file:        LICENSE
7
+author:              Chris Done
8
+maintainer:          chrisdone@gmail.com
9
+copyright:           2015 Chris Done
10
+category:            Filesystem
11
+build-type:          Simple
12
+cabal-version:       >=1.8
13
+
14
+library
15
+  hs-source-dirs:    src/
16
+  ghc-options:       -Wall -O2
17
+  exposed-modules:   
18
+  build-depends:     base >= 4 && <5
19
+
20
+executable paths
21
+  hs-source-dirs:    src/
22
+  ghc-options:       -Wall -O2
23
+  main-is:           Main.hs
24
+  build-depends:     base >= 4 && < 5

+ 3
- 0
src/Path.hs View File

@@ -0,0 +1,3 @@
1
+-- |
2
+
3
+module Path where