Tidied up the matching code in the previous commit.  This replaces some old imperative code with a cleaner functional version.
Tidied up the matching code in the previous commit.  This replaces some old imperative code with a cleaner functional version.

git-svn-id: 98787b36aaefbae4b30fa755be920954cd25e1e4@947 ae7d391e-3f74-4a2b-a0db-a8776840fd2a

mn200/polyml,polyml/polyml,polyml/polyml,mn200/polyml,polyml/polyml,polyml/polyml,dcjm/polyml,dcjm/polyml,dcjm/polyml,mn200/polyml,mn200/polyml,dcjm/polyml