Check whether item is instance of class
8 Mar
2005
8 Mar
'05
3:04 a.m.
I plan to write an XML serialization routine and would like to have per field behavior depend on whether the datatype of the field implements ToElement. In particular I want things that do not derive ToElement to be rendered as attributes and things that do implement ToElement to be rendered as child nodes. Is that possible using template haskell or do I have to add some sort of naming convention that signals it? -Alex- ______________________________________________________________ S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
7607
Age (days ago)
7607
Last active (days ago)
0 comments
1 participants
participants (1)
-
S. Alexander Jacobson