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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2144 - (download) (annotate)
Thu Nov 2 16:23:11 2006 UTC (12 years, 10 months ago) by blume
File size: 658 byte(s)
moved smlnj-lib to toplevel
(* 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