Mercurial > urweb
view lib/ur/string.urs @ 980:134e8a4de36b
demo/more compiles; small problem left with foreign keys in Grid1
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 24 Sep 2009 11:15:21 -0400 |
parents | 5e1a4b12c83a |
children | e46227efcbba |
line wrap: on
line source
type t = string val length : t -> int val append : t -> t -> t val sub : t -> int -> char val suffix : t -> int -> string val index : t -> char -> option int val atFirst : t -> char -> option string val mindex : {Haystack : t, Needle : t} -> option int val substring : t -> {Start : int, Len : int} -> string val split : t -> char -> option (string * string) val msplit : {Haystack : t, Needle : t} -> option (string * char * string)