[MLton-commit] r6179
Vesa Karvonen
vesak at mlton.org
Mon Nov 19 09:11:08 PST 2007
Instructions for running the example.
----------------------------------------------------------------------
U mltonlib/trunk/org/mlton/vesak/tech/oo/imperative-shapes/README
----------------------------------------------------------------------
Modified: mltonlib/trunk/org/mlton/vesak/tech/oo/imperative-shapes/README
===================================================================
--- mltonlib/trunk/org/mlton/vesak/tech/oo/imperative-shapes/README 2007-11-19 16:59:22 UTC (rev 6178)
+++ mltonlib/trunk/org/mlton/vesak/tech/oo/imperative-shapes/README 2007-11-19 17:11:08 UTC (rev 6179)
@@ -8,6 +8,25 @@
http://onestepback.org/articles/poly/
http://www.angelfire.com/tx4/cus/shapes/
+ To try this example, first check out the mltonlib repository:
+
+ svn co svn://mlton.org/mltonlib/trunk mltonlib
+
+ To run the example with Alice ML, Moscow ML, Poly/ML, or SML/NJ, you
+ first need to build the UseLib library:
+
+ cd <mltonlib>/org/mlton/vesak/use-lib/unstable
+ ./Make.sh
+
+ This generates a compiler specific version of the UseLib library. To
+ run the example, write the following in the REPL of your SML
+ implementation:
+
+ use "<mltonlib>/org/mlton/vesak/use-lib/unstable/<compiler>.use" ;
+ use "<mltonlib>/org/mlton/vesak/tech/oo/imperative-shapes/main.use" ;
+
+ Replace <mltonlib> and <compiler> appropriately.
+
I might write a more thorough explanation of this code at some point,
but below are some random notes for starters.
More information about the MLton-commit
mailing list