On Sun, Jan 12, 2014 at 9:47 AM, Gareth Morgan <gmorgan1984@gmail.com> wrote:
Won't show include all the components? I wanted to include only the type name.

Types only exist at compile time normally. But if you add a Typeable constraint (see Data.Typeable and the DeriveDataTypeable extension) you can get type names at runtime.

--
brandon s allbery kf8nh                               sine nomine associates
allbery.b@gmail.com                                  ballbery@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net