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 /sml/trunk/benchmarks/todo/format/string-cvt-sig.sml
ViewVC logotype

View of /sml/trunk/benchmarks/todo/format/string-cvt-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 193 - (download) (annotate)
Fri Nov 20 17:43:59 1998 UTC (22 years, 10 months ago) by monnier
File size: 855 byte(s)
Initial revision
(* string-cvt-sig.sml
 *
 * COPYRIGHT (c) 1992 by AT&T Bell Laboratories.  See COPYRIGHT file for details.
 *
 * Basic routines to convert strings to other primitive types.
 * All of these ignore leading whitespace.
 *
 * AUTHOR:  John Reppy
 *	    AT&T Bell Laboratories
 *	    Murray Hill, NJ 07974
 *	    jhr@research.att.com
 *)

signature STRING_CVT =
  sig

  (* String to integer conversion functions. *)
    val strToInt : (string * int * int) -> (int * int)
    val atoi     : string -> int
    val xatoi    : string -> int
    val oatoi    : string -> int

  (* String to real conversion functions. *)
    val strToReal : (string * int) -> (real * int)
    val atof      : string -> real

  (* String to bool conversion functions. *)
    val strToBool : (string * int) -> (bool * int)
    val atob      : string -> bool

  end (* STRING_CVT *)


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