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 /tests/trunk/bugs/tests.obsolete/bug414.sml
ViewVC logotype

View of /tests/trunk/bugs/tests.obsolete/bug414.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2460 - (download) (annotate)
Sat Apr 28 20:18:10 2007 UTC (12 years, 2 months ago) by gkuan
File size: 249 byte(s)
(* bug414.sml *)

fun test path =
    let
       val cwd = OS.FileSys.getDir ()
    in
       { cd_in = fn () => (OS.FileSys.chDir path),
	 cd_out = fn () => (OS.FileSys.chDir cwd) }
    end

val {cd_in,cd_out} = test "/tmp";

cd_in ();

cd_out ();

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