Subject: Using Gofer on Unix

While we are waiting for Gofer to be installed on Unix properly, I have
compiled a version in my Bin directory.  Try

	cs26% ~j-hamer/Bin/gofer

This version provides a ``trace'' instruction that may be useful for
debugging.  For example, if test.g contains

	-- A wrapper to trace the calls to fact
	fact' n = trace ("fact "++show n++"\n") (fact n)

	-- The ``real'' fact program
	fact 0 = 1
	fact n = n * fact' (n-1)   -- note call to fact'

then invoking fact' 5 will show each call to fact' like this:

	cs26% gofer test.g
	...
	? fact' 5
	fact 5
	fact 4
	fact 3
	fact 2
	fact 1
	fact 0
	120
	(95 reductions, 256 cells)
	? 

-- 
-- John Hamer                                Email: J.Hamer@cs.auckland.ac.nz
-- Department of Computer Science            Phone: +64 9 3737 599 x8758
-- University of Auckland                    Fax:   +64 9 3737 453
-- Private Bag 92019, Auckland, New Zealand.