xtmdoc-generictype-handler   scheme


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/runtime/llvmti.xtm

Implementation

(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))))


Back to Index