(define xtmdoc-generictype-handler
(lambda (name-sym)
(list
'(category . "generic type")
(cons 'name (symbol->string name-sym))
(list 'args)
(cons 'type (impc:ti:simplify-generictype-pretty-type
(symbol->string (impc:ti:get-generictype-candidate-types name-sym))))
(list 'docstring))))