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

SCM Repository

[smlnj] Annotation of /sml/trunk/benchmarks/todo/format/string-cvt-sig.sml
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 193 - (view) (download)

1 : monnier 193 (* string-cvt-sig.sml
2 :     *
3 :     * COPYRIGHT (c) 1992 by AT&T Bell Laboratories. See COPYRIGHT file for details.
4 :     *
5 :     * Basic routines to convert strings to other primitive types.
6 :     * All of these ignore leading whitespace.
7 :     *
8 :     * AUTHOR: John Reppy
9 :     * AT&T Bell Laboratories
10 :     * Murray Hill, NJ 07974
11 :     * jhr@research.att.com
12 :     *)
13 :    
14 :     signature STRING_CVT =
15 :     sig
16 :    
17 :     (* String to integer conversion functions. *)
18 :     val strToInt : (string * int * int) -> (int * int)
19 :     val atoi : string -> int
20 :     val xatoi : string -> int
21 :     val oatoi : string -> int
22 :    
23 :     (* String to real conversion functions. *)
24 :     val strToReal : (string * int) -> (real * int)
25 :     val atof : string -> real
26 :    
27 :     (* String to bool conversion functions. *)
28 :     val strToBool : (string * int) -> (bool * int)
29 :     val atob : string -> bool
30 :    
31 :     end (* STRING_CVT *)
32 :    

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