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/cm/main/say.sml
ViewVC logotype

View of /sml/trunk/src/cm/main/say.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 276 - (download) (annotate)
Mon May 17 06:01:28 1999 UTC (20 years, 6 months ago) by blume
File size: 536 byte(s)
stdtool; yacc/lex/burg tools; some odd fixes here and there
(*
 * Output of feedback and diagnostics.
 *
 *   Copyright (c) 1999 by Lucent Technologies, Bell Laboratories.
 *
 * author: Matthias Blume (blume@cs.princeton.edu)
 *)
signature SAY = sig
    val say: string -> unit
    val vsay: string -> unit
    val dsay: string -> unit
end

structure Say :> SAY = struct

    structure Print = GenericVC.Control.Print

    fun say s = (Print.say s; Print.flush ())

    fun csay cnd s = if cnd NONE then say s else ()
    val vsay = csay StdConfig.verbose
    val dsay = csay StdConfig.debug
end

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