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

📄 lib-base.sml

📁 这是我们参加06年全国开源软件的竞赛作品
💻 SML
字号:
(* lib-base.sml * * COPYRIGHT (c) 1993 by AT&T Bell Laboratories.  See COPYRIGHT file for details. *)structure LibBase : LIB_BASE =  struct  (* raised to report unimplemented features *)    exception Unimplemented of string  (* raised to report internal errors *)    exception Impossible of string  (* raised by searching operations *)    exception NotFound  (* raise the exception Fail with a standard format message. *)    fun failure {module, func, msg} =	  raise (Fail(concat[module, ".", func, ": ", msg]))    val version = {	    date = "June 1, 1996", 	    system = "SML/NJ Library",	    version_id = [1, 0]	  }    fun f ([], l) = l      | f ([x : int], l) = (Int.toString x)::l      | f (x::r, l) = (Int.toString x) :: "." :: f(r, l)    val banner = concat (	    #system version :: ", Version " ::	    f (#version_id version, [", ", #date version]))  end (* LibBase *)

⌨️ 快捷键说明

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