summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2015-03-28 08:46:29 +0600
committerDaniil Baturin <daniil@baturin.org>2015-03-28 08:46:29 +0600
commitef4e6d0bf2e62fd854533fa135ed96247b94d1ff (patch)
treee67f4273c992cd93806c1af632e6c2db923922ce
parent5b00a034d6962e6db7d449f0374b4ced90f43b0b (diff)
downloadvyconf-ef4e6d0bf2e62fd854533fa135ed96247b94d1ff.tar.gz
vyconf-ef4e6d0bf2e62fd854533fa135ed96247b94d1ff.zip
Add insert_before and insert_after to the Vylist signature.
-rw-r--r--src/vylist.mli2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vylist.mli b/src/vylist.mli
index 266ec95..70f0042 100644
--- a/src/vylist.mli
+++ b/src/vylist.mli
@@ -1,3 +1,5 @@
val find : ('a -> bool) -> 'a list -> 'a option
val remove : ('a -> bool) -> 'a list -> 'a list
val replace : ('a -> bool) -> 'a -> 'a list -> 'a list
+val insert_before : ('a -> bool) -> 'a -> 'a list -> 'a list
+val insert_after : ('a -> bool) -> 'a -> 'a list -> 'a list