这是我们参加06年全国开源软件的竞赛作品

源代码在线查看: scan-sig.sml

软件大小: 10488 K
上传用户: shsy22
关键词: 开源软件 竞赛
下载地址: 免注册下载 普通下载 VIP

相关代码

				(* scan-sig.sml				 *				 * COPYRIGHT (c) 1996 by AT&T Research.  See COPYRIGHT file for details.				 *				 * C-style conversions from string representations.				 *				 * AUTHOR:  John Reppy				 *	    AT&T Research				 *	    jhr@research.att.com				 *)								signature SCAN =				  sig								    datatype fmt_item				      = ATOM of Atom.atom				      | LINT of LargeInt.int				      | INT of Int.int				      | LWORD of LargeWord.word				      | WORD of Word.word				      | WORD8 of Word8.word				      | BOOL of bool				      | CHR of char				      | STR of string				      | REAL of Real.real				      | LREAL of LargeReal.real				      | LEFT of (int * fmt_item)	(* left justify in field of given width *)				      | RIGHT of (int * fmt_item)	(* right justify in field of given width *)								    exception BadFormat			(* bad format string *)								    val sscanf : string -> string -> fmt_item list option				    val scanf  : string -> (char, 'a) StringCvt.reader					  -> (fmt_item list, 'a) StringCvt.reader								  end (* SCAN *)							

相关资源