Sterling Clover <s.clover <at> gmail.com> writes: > > 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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe