comparison lib/ur/string.urs @ 1131:94e83c5533d2

Handling errors during commit
author Adam Chlipala <adamc@hcoop.net>
date Tue, 26 Jan 2010 14:59:19 -0500
parents 85d194409b17
children 9df124fcab3d
comparison
equal deleted inserted replaced
1130:67d875c8ac71 1131:94e83c5533d2
18 18
19 val split : t -> char -> option (string * string) 19 val split : t -> char -> option (string * string)
20 val msplit : {Haystack : t, Needle : t} -> option (string * char * string) 20 val msplit : {Haystack : t, Needle : t} -> option (string * char * string)
21 21
22 val all : (char -> bool) -> string -> bool 22 val all : (char -> bool) -> string -> bool
23 val mp : (char -> char) -> string -> string
23 24
24 val newlines : ctx ::: {Unit} -> [[Body] ~ ctx] => string -> xml ([Body] ++ ctx) [] [] 25 val newlines : ctx ::: {Unit} -> [[Body] ~ ctx] => string -> xml ([Body] ++ ctx) [] []