Class FactorialTest

java.lang.Object
  extended by FactorialTest

public class FactorialTest
extends java.lang.Object

A class containing a main program for testing out the evaluator.


Constructor Summary
FactorialTest()
           
 
Method Summary
static void main(java.lang.String[] args)
          When this program is run, it does the equivalent of the following ML program:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactorialTest

public FactorialTest()
Method Detail

main

public static void main(java.lang.String[] args)
When this program is run, it does the equivalent of the following ML program:
 fun f n = if n = 0 then 1 else f(n-1)*n;
 val five = 6-1;
 f five;