Update TCO example
commit52bc137a2869c56e6682a58d43d3f4401db49b49
authorPhil Freeman <paf31@cantab.net>
dateTue 11 Feb 2014, 16:50 (13 years ago)
parentf225cd8
examples/passing/TailCall.purs+4−1
@@ -14,4 +14,7 @@ notATailCall = \x ->
1414
1515module Main where
1616
17−main = Trace.trace "Done"
17+import Prelude
18+import TailCall
19+
20+main = Trace.print (test 0 [1, 2, 3])