⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 format-sig.sml

📁 这是我们参加06年全国开源软件的竞赛作品
💻 SML
字号:
(* format-sig.sml * * COPYRIGHT (c) 1992 by AT&T Bell Laboratories.  See COPYRIGHT file for details. * * Formatted conversion to and from strings. * * AUTHOR:  John Reppy *	    AT&T Bell Laboratories *	    Murray Hill, NJ 07974 *	    jhr@research.att.com *)signature FORMAT =  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 *)    exception BadFmtList		(* raised on specifier/item type mismatch *)    val format  : string -> fmt_item list -> string    val formatf : string -> (string -> unit) -> fmt_item list -> unit  end (* FORMAT *)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -