alice
library
manual.

Alice Project

The StringCvt structure


________ Synopsis ____________________________________________________

    signature STRING_CVT
    structure StringCvt : STRING_CVT
  

The Standard ML Basis' StringCvt structure.

See also: STRING, SUBSTRING


________ Import ______________________________________________________

Imported implicitly.


________ Interface ___________________________________________________

    signature STRING_CVT =
    sig
	datatype radix   = BIN | OCT | DEC | HEX
	datatype realfmt = EXACT | SCI of int option | FIX of int option | GEN of int option

	type ('a,'b) reader = 'b -> ('a * 'b) option
	type cs

	val padLeft :    char -> int -> string -> string
	val padRight :   char -> int -> string -> string
	val splitl :     (char -> bool) -> (char,'a) reader ->'a -> string * 'a
	val takel :      (char -> bool) -> (char,'a) reader -> 'a -> string
	val dropl :      (char -> bool) -> (char,'a) reader -> 'a -> 'a
	val skipWS :     (char,'a) reader -> 'a -> 'a
	val scanString : ((char,cs) reader -> ('a,cs) reader) -> string -> 'a option
    end
  

________ Description _________________________________________________

All items are as described in the Standard ML Basis' StringCvt structure.



last modified 2007/Mar/30 17:10