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

📄 textio-pp.sml

📁 这是我们参加06年全国开源软件的竞赛作品
💻 SML
字号:
(* textio-pp.sml * * COPYRIGHT (c) 1999 Bell Labs, Lucent Technologies. * * A pretty printer with TextIO output; there are no styles and * tokens are atoms. *)structure TextIOPP : sig    include PP_STREAM    val openOut : {dst : TextIO.outstream, wid : int} -> stream  end = struct    structure Tok : PP_TOKEN =      struct	type style = unit	type token = Atom.atom	val string = Atom.toString	fun style _ = ()	fun size s = String.size(Atom.toString s)      end    structure PP = PPStreamFn (      structure Token = Tok      structure Device = SimpleTextIODev)    open PP    fun openOut arg = openStream(SimpleTextIODev.openDev arg)  end;

⌨️ 快捷键说明

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