
9 Jun
2009
9 Jun
'09
12:25 p.m.
Sterling Clover
Try it with the following type signature and it should work fine:
convert :: (Data a) => Int -> a -> a
Of course, as has been noted, SYB is a rather big sledgehammer for the insect in question.
Cheers, S.
Thank you Sterling. That is the answer I was looking for. I was trying out things from the various Scrap your Boilerplate papers, and got stuck doing something that I thought should be easy. Now it makes sense. Thanks again. Best wishes, Henry Laxen