Glynn Clements writes: >> module Main where Thanks for the example, Glynn. I suspected that something like this was possible, but it's always helpful to see concrete code. Peter