Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /smlnj-lib/trunk/Dev/CSV/csv-sig.sml
ViewVC logotype

View of /smlnj-lib/trunk/Dev/CSV/csv-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4900 - (download) (annotate)
Wed Dec 19 18:54:29 2018 UTC (8 months ago) by jhr
File size: 535 byte(s)
  adding IO functor
(* csv-sig.sml
 *
 * COPYRIGHT (c) 2015 The Fellowship of SML/NJ (http://www.smlnj.org)
 * All rights reserved.
 *
 * Support for reading and writing comma-separated-value files.
 *)

signature CSV =
  sig

  (* a sequence type representing a CSV row *)
    type 'a seq

  (* convert a CSV line to a sequence of its fields; returns NONE on error *)
    val fromString : string -> string seq option

  (* convert a sequence to a string *)
    val toString : string seq -> string

    val fmt : ('a -> string) -> 'a seq -> string

  end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0