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/Controls/control-util-sig.sml
ViewVC logotype

View of /sml/trunk/src/smlnj-lib/Controls/control-util-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1207 - (download) (annotate)
Tue May 21 01:42:14 2002 UTC (17 years, 3 months ago) by jhr
File size: 658 byte(s)
  New files.
(* control-util-sig.sml
 *
 * COPYRIGHT (c) 2002 Bell Labs, Lucent Technologies
 *)

signature CONTROL_UTIL =
  sig

    structure Cvt : sig
      (* for primitive types, using respective {from,to}String functions: *)
	val int : int Controls.value_cvt
	val bool : bool Controls.value_cvt
	val real : real Controls.value_cvt

      (* comma-separated tokens *)
	val stringList : string list Controls.value_cvt

      (* for completeness' sake: *)
	val string : string Controls.value_cvt
      end

    structure EnvName : sig
      (* convert lower case to upper case and #"-" to #"_", add prefix *)
	val toUpper : string -> string -> string
      end

  end

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