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

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

Parent Directory Parent Directory | Revision Log Revision Log

Revision 651 - (download) (annotate)
Thu Jun 1 18:34:03 2000 UTC (20 years, 5 months ago) by monnier
File size: 567 byte(s)
bring revisions from the vendor branch to the trunk
 * 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 list -> unit
    val vsay: string list -> unit
    val dsay: string list -> unit

structure Say :> SAY = struct

    structure Print = GenericVC.Control.Print

    fun say l = (Print.say (concat l); Print.flush ())

    fun csay { get, set } l = if get () then say l else ()
    val vsay = csay StdConfig.verbose
    val dsay = csay StdConfig.debug

ViewVC Help
Powered by ViewVC 1.0.0