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

SCM Repository

[smlnj] Diff of /sml/trunk/src/system/smlnj/init/substring.sig
ViewVC logotype

Diff of /sml/trunk/src/system/smlnj/init/substring.sig

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1147, Fri Mar 15 03:40:35 2002 UTC revision 1148, Fri Mar 15 21:38:57 2002 UTC
# Line 14  Line 14 
14      eqtype string      eqtype string
15      type substring      type substring
16    
     val base : substring -> (string * int * int)  
   
     val string : substring -> string  
17    
18      val substring : (string * int * int) -> substring      val sub       : (substring * int) -> char
19        val size      : substring -> int
20        val base      : substring -> (string * int * int)
21      val extract : (string * int * int option) -> substring      val extract : (string * int * int option) -> substring
22        val substring : (string * int * int) -> substring
23        val full      : string -> substring
24      val all : string -> substring      val all : string -> substring
25        val string    : substring -> string
26    
27      val isEmpty : substring -> bool      val isEmpty : substring -> bool
28    
# Line 30  Line 32 
32      val trimr : int -> substring -> substring      val trimr : int -> substring -> substring
33    
34      val slice   : (substring * int * int option) -> substring      val slice   : (substring * int * int option) -> substring
     val sub     : (substring * int) -> char  
     val size    : substring -> int  
35      val concat  : substring list -> string      val concat  : substring list -> string
36        val concatWith : string -> substring list -> string
37      val explode : substring -> char list      val explode : substring -> char list
38    
39      val isPrefix : string -> substring -> bool      val isPrefix : string -> substring -> bool
40        val isSubstring : string -> substring -> bool
41        val isSuffix : string -> substring -> bool
42      val compare  : (substring * substring) -> order      val compare  : (substring * substring) -> order
43      val collate  : ((char * char) -> order) -> (substring * substring) -> order      val collate  : ((char * char) -> order) -> (substring * substring) -> order
44    
# Line 57  Line 60 
60      val tokens : (char -> bool) -> substring -> substring list      val tokens : (char -> bool) -> substring -> substring list
61      val fields : (char -> bool) -> substring -> substring list      val fields : (char -> bool) -> substring -> substring list
62    
63        val app   : (char -> unit) -> substring -> unit
64      val foldl : ((char * 'a) -> 'a) -> 'a -> substring -> 'a      val foldl : ((char * 'a) -> 'a) -> 'a -> substring -> 'a
65      val foldr : ((char * 'a) -> 'a) -> 'a -> substring -> 'a      val foldr : ((char * 'a) -> 'a) -> 'a -> substring -> 'a
     val app   : (char -> unit) -> substring -> unit  
66    
67    end    end
68  end (* local *)  end (* local *)

Legend:
Removed from v.1147  
changed lines
  Added in v.1148

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