aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2016-05-21 03:06:31 +0200
committerCamil Staps2016-05-21 03:07:44 +0200
commite4669d7810cb7ccea4efef18a6cb8dd515aed62e (patch)
tree4dcdcaa2b3b5f62d220aef13025c0aa9f290b60e
parentInitial commit (diff)
Readme; license
-rw-r--r--Inotify.icl1
-rw-r--r--LICENSE21
-rw-r--r--README.md6
3 files changed, 27 insertions, 1 deletions
diff --git a/Inotify.icl b/Inotify.icl
index 39ed691..cd927fe 100644
--- a/Inotify.icl
+++ b/Inotify.icl
@@ -86,7 +86,6 @@ where
check :: [(Int,Int)] (INWatch, INCallback st) *(*Int, st, *World) -> *(*Int, st, *World)
check wdsmasks (watch,f) (fd,st,w)
# (st,w) = seq [\(st,w) -> f mask st w \\ (wd,mask) <- wdsmasks | wd == watch] (st,w)
- //# (st,w) = f (length wds) st w
= (fd,st,w)
bytesToInt :: {#Char} -> Int
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..932c31a
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2016 Camil Staps
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..89dd8fc
--- /dev/null
+++ b/README.md
@@ -0,0 +1,6 @@
+# CleanInotify
+Clean Inotify wrapper
+
+## Copyright &amp; license
+Copyright &copy; 2016 Camil Staps. Licensed under MIT, see LICENSE.
+