summaryrefslogtreecommitdiff
path: root/src/vytree.mli
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2015-04-02 23:27:27 +0600
committerDaniil Baturin <daniil@baturin.org>2015-04-02 23:27:27 +0600
commit77edcc15e758c79eace64bc50f00775955f9bcc8 (patch)
treebbac9bd3580a12586f52de9e3c81574563e5d24f /src/vytree.mli
parent2d544667d431d18086a2363ef923761c6e93dae5 (diff)
downloadvyconf-77edcc15e758c79eace64bc50f00775955f9bcc8.tar.gz
vyconf-77edcc15e758c79eace64bc50f00775955f9bcc8.zip
Reverse the order of make/make_full arguments for easier partial application.
Diffstat (limited to 'src/vytree.mli')
-rw-r--r--src/vytree.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vytree.mli b/src/vytree.mli
index fbe7ac1..e990d1d 100644
--- a/src/vytree.mli
+++ b/src/vytree.mli
@@ -4,8 +4,8 @@ exception Empty_path
exception Duplicate_child
exception Nonexistent_path
-val make : string -> 'a -> 'a t
-val make_full : string -> 'a -> ('a t) list -> 'a t
+val make : 'a -> string -> 'a t
+val make_full : 'a -> string -> ('a t) list -> 'a t
val name_of_node : 'a t -> string
val data_of_node : 'a t -> 'a