[Haskell-cafe] HStringTemplate and syb-with-class usage

2010-12-03 Thread Christopher Lewis
I've seen questions on using HStringTemplate with syb-with-class on the list before, but haven't seen this issue addressed. I'm hoping it's a noob issue, and, therefore, thought I would check with the list before spending too much time digging around for solutions. I'm attempting to use HStringTem

Re: [Haskell-cafe] HSTringTemplate and syb-with-class

2009-03-23 Thread Sterling Clover
You don't need to derive ToSElem -- you get the instance for free if you derive Data. Import GenericWithClass to get the instance for Data from syb-with-class, and import GenericStandard for use with Data from the vanilla syb that comes with GHC. Cheers, Sterl. 2009/3/23 Kemps-Benedix Torsten : >

[Haskell-cafe] HSTringTemplate and syb-with-class

2009-03-23 Thread Kemps-Benedix Torsten
Hello all, I'm trying to use the generic capabilities of HSTringTemplate. The documentation claims that the package is able to automatically generate instances of ToSElem if syb-with-class is installed but gives no further details. I installed syb-with-class and then installed HSTringTemplate w