NAME

t/library/coroutine.t -- Test the Parrot::Coroutine class

SYNOPSIS

  ./parrot t/library/coroutine.t

DESCRIPTION

This script tests the Parrot::Coroutine class using an implementation of the "same fringe" problem.

Note: In order to see how coroutine calling works in detail, insert trace 4 before and trace 0 after one of the same_fringe calls in the body of the main program.

SEE ALSO

http://swiss.csail.mit.edu/classes/symbolic/spring06/psets/ps6/samefringe.scm -- a collection of "same fringe" implementations in Scheme.