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/branches/idlbasis-devel/src/system/smlnj/init/substring.sig
ViewVC logotype

Diff of /sml/branches/idlbasis-devel/src/system/smlnj/init/substring.sig

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

revision 871, Fri Jul 6 22:11:29 2001 UTC revision 872, Fri Jul 6 22:17:03 2001 UTC
# Line 10  Line 10 
10    
11  signature SUBSTRING =  signature SUBSTRING =
12    sig    sig
13        type substring
14      eqtype char      eqtype char
15      eqtype string      eqtype string
16      type substring      val sub : substring * int -> char
17        val size : substring -> int
18      val base : substring -> (string * int * int)      val base : substring -> string * int * int
19        val extract   : string * int * int option -> substring
20      val string : substring -> string      val substring : string * int * int -> substring
21        val full : string -> substring
     val substring : (string * int * int) -> substring  
     val extract : (string * int * int option) -> substring  
22      val all : string -> substring      val all : string -> substring
23        val string : substring -> string
24      val isEmpty : substring -> bool      val isEmpty : substring -> bool
   
25      val getc  : substring -> (char * substring) option      val getc  : substring -> (char * substring) option
26      val first : substring -> char option      val first : substring -> char option
27      val triml : int -> substring -> substring      val triml : int -> substring -> substring
28      val trimr : int -> substring -> substring      val trimr : int -> substring -> substring
29        val slice : substring * int * int option -> substring
     val slice   : (substring * int * int option) -> substring  
     val sub     : (substring * int) -> char  
     val size    : substring -> int  
30      val concat  : substring list -> string      val concat  : substring list -> string
31        val concatWith : string -> substring list -> string
32      val explode : substring -> char list      val explode : substring -> char list
   
33      val isPrefix : string -> substring -> bool      val isPrefix : string -> substring -> bool
34      val compare  : (substring * substring) -> order      val isSubstring : string -> substring -> bool
35      val collate  : ((char * char) -> order) -> (substring * substring) -> order      val isSuffix    : string -> substring -> bool
36        val compare : substring * substring -> order
37      val splitl  : (char -> bool) -> substring -> (substring * substring)      val collate : (char * char -> order) -> substring * substring -> order
38      val splitr  : (char -> bool) -> substring -> (substring * substring)      val splitl : (char -> bool) -> substring -> substring * substring
39      val splitAt : (substring * int) -> (substring * substring)      val splitr : (char -> bool) -> substring -> substring * substring
40        val splitAt : substring * int -> substring * substring
41      val dropl  : (char -> bool) -> substring -> substring      val dropl  : (char -> bool) -> substring -> substring
42      val dropr  : (char -> bool) -> substring -> substring      val dropr  : (char -> bool) -> substring -> substring
43      val takel  : (char -> bool) -> substring -> substring      val takel  : (char -> bool) -> substring -> substring
44      val taker  : (char -> bool) -> substring -> substring      val taker  : (char -> bool) -> substring -> substring
45        val position : string -> substring -> substring * substring
46      val position : string -> substring -> (substring * substring)      val span : substring * substring -> substring
   
     val span : (substring * substring) -> substring  
   
47      val translate : (char -> string) -> substring -> string      val translate : (char -> string) -> substring -> string
   
48      val tokens : (char -> bool) -> substring -> substring list      val tokens : (char -> bool) -> substring -> substring list
49      val fields : (char -> bool) -> substring -> substring list      val fields : (char -> bool) -> substring -> substring list
   
     val foldl : ((char * 'a) -> 'a) -> 'a -> substring -> 'a  
     val foldr : ((char * 'a) -> 'a) -> 'a -> substring -> 'a  
50      val app   : (char -> unit) -> substring -> unit      val app   : (char -> unit) -> substring -> unit
51        val foldl : (char * 'a -> 'a) -> 'a -> substring -> 'a
52        val foldr : (char * 'a -> 'a) -> 'a -> substring -> 'a
53    
54    end    end
55    
56  end (* local *)  end (* local *)

Legend:
Removed from v.871  
changed lines
  Added in v.872

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