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 275 - (download) (annotate)
Sat May 15 09:54:52 1999 UTC (20 years, 10 months ago) by blume
File size: 536 byte(s)
skeleton stuff added (works); error messages improved; SML export analysis
(*
 * 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 EnvConfig.verbose
    val dsay = csay EnvConfig.debug
end

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