projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'local-ocamlbuild' into local-trunk
[SXSI/xpathcomp.git]
/
src
/
translist.ml
diff --git a/src/translist.ml
b/src/translist.ml
new file mode 100644
(file)
index 0000000..
77c4cb5
--- /dev/null
+++ b/
src/translist.ml
@@ -0,0
+1,5
@@
+ include Hlist.Make(Transition)
+ let print ppf fl =
+ let l = fold (fun t acc -> t :: acc) fl [] in
+ let strings = Transition.format_list l in
+ List.iter (fun s -> Format.fprintf ppf "%s\n%!" s) strings