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/branches/SMLNJ/src/smlnj-lib/PP/devices/string-token.sml
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 105 - (download) (annotate)
Thu May 28 21:30:17 1998 UTC (23 years, 6 months ago)
File size: 326 byte(s)
This commit was manufactured by cvs2svn to create branch 'SMLNJ'.
(* 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