Added META file.
[ocaml-csv.git] / csv.mli
diff --git a/csv.mli b/csv.mli
index ef061e6..c04ad12 100644 (file)
--- a/csv.mli
+++ b/csv.mli
@@ -1,6 +1,6 @@
 (** csv.mli - comma separated values parser
   *
-  * $Id: csv.mli,v 1.8 2006-02-23 15:24:25 rich Exp $
+  * $Id: csv.mli,v 1.11 2007-04-23 16:42:33 rich Exp $
   *)
 
 type t = string list list
@@ -26,6 +26,7 @@ val load_in : ?separator:char -> in_channel -> t
 val load : ?separator:char -> string -> t
 (** Load a CSV file.
   * @param filename CSV filename.
+  * If [filename] is ["-"] then load from [stdin].
   *)
 
 val load_rows : ?separator:char -> (string list -> unit) -> in_channel -> unit
@@ -33,10 +34,6 @@ val load_rows : ?separator:char -> (string list -> unit) -> in_channel -> unit
   * this function is appropriate. It parses the input one row at a time and
   * calls your function once for each row.
   *
-  * Note that if you CSV file contains cells which have embedded
-  * line feeds, then it is non-trivial to parse these lines and
-  * pass them correctly to [load_rows].
-  *
   * @param f Callout function.
   * @param chan Input file stream.
   *)
@@ -112,6 +109,15 @@ val compare : t -> t -> int
   * look the same if opened in a spreadsheet program.
   *)
 
+val concat : t list -> t
+(** Concatenate CSV files so that they appear side by side, arranged
+  * left to right across the page.  Each CSV file (except the final
+  * one) is first squared.
+  *
+  * (To concatenate CSV files so that they appear from top to bottom,
+  * just use {!List.concat}).
+  *)
+
 val to_array : t -> string array array
 val of_array : string array array -> t
 (** Convenience functions to convert to and from a matrix representation.