4 ms·
How would you write a general function that prints out the values of all fields of any object (without reflection)?
by pron 14y ago
How would you write a general function that prints out the values of all fields of any object (without reflection)?
- stuffihavemade 14y agohttp://www.haskell.org/haskellwiki/Template_Haskell http://www.haskell.org/haskellwiki/Template_Haskell
- pron 14y agoI'm not quite sure, but I don't think this has anything to do with structural typing.