summaryrefslogtreecommitdiff
path: root/src/vylist/vylist.ml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2015-03-01 00:52:11 +0600
committerDaniil Baturin <daniil@baturin.org>2015-03-01 00:52:11 +0600
commitf201377ae801382856a44f769d396980a84184b8 (patch)
treeb23685dd10746da761b5dd2cc44622e90c7a4212 /src/vylist/vylist.ml
parent0bdfaae3f79d23c0fd560b18578043330167a2d3 (diff)
downloadvyconf-f201377ae801382856a44f769d396980a84184b8.tar.gz
vyconf-f201377ae801382856a44f769d396980a84184b8.zip
Move the source files back to src/
Splitting directories was a bit premature and unnecessary.
Diffstat (limited to 'src/vylist/vylist.ml')
-rw-r--r--src/vylist/vylist.ml17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/vylist/vylist.ml b/src/vylist/vylist.ml
deleted file mode 100644
index c7d0396..0000000
--- a/src/vylist/vylist.ml
+++ /dev/null
@@ -1,17 +0,0 @@
-let rec find p xs =
- match xs with
- | [] -> None
- | x :: xs' -> if (p x) then (Some x)
- else find p xs'
-
-let rec remove p xs =
- match xs with
- | [] -> []
- | x :: xs' -> if (p x) then xs'
- else x :: (remove p xs)
-
-let rec replace p x xs=
- match xs with
- | [] -> []
- | x' :: xs' -> if (p x') then x :: xs'
- else x' :: (replace p x xs')