From: Richard W.M. Jones Date: Fri, 13 Jun 2008 20:06:00 +0000 (+0000) Subject: Clarify how to write multiple patterns to a file X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=dd074c8f5ac95b4c077ac0f6f63626b1fdc13950;p=ocaml-bitstring.git Clarify how to write multiple patterns to a file --- diff --git a/bitmatch_persistent.mli b/bitmatch_persistent.mli index 13927af..f390970 100644 --- a/bitmatch_persistent.mli +++ b/bitmatch_persistent.mli @@ -235,6 +235,11 @@ v} | \{ _ } -> invalid_arg "not a Pascal string" v} + You can write more than one named pattern to the output file, and + they will all be loaded at the same time by [open bitmatch ".."] + (obviously you should give each pattern a different name). To do + this, just call {!named_to_channel} as many times as needed. + {2:reference Reference} {3 Types}