Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/smlnj-lib/PP/devices/string-token.sml
ViewVC logotype

View of /sml/trunk/src/smlnj-lib/PP/devices/string-token.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 104 - (download) (annotate)
Thu May 28 21:25:35 1998 UTC (23 years, 2 months ago) by monnier
File size: 326 byte(s)
Initial revision
(* string-token.sml
 *
 * COPYRIGHT (c) 1998 Bell Labs, Lucent Technologies.
 *
 * A trivial implementation of tokens as strings w/o style information.
 *)

structure StringToken : PP_TOKEN =
  struct
    type style = unit
    type token = string
    fun string s = s
    fun style _ = ()
    fun size s = String.size s
  end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0