impc:ti:simplify-genericfunc-pretty-type   scheme


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

Implementation

(define impc:ti:simplify-genericfunc-pretty-type
  (lambda (pretty-type)
    (string-append
     "["
     (string-join
      (map (lambda (x)
             (if (string-contains? x ":")
                 (impc:ir:pointer++ (car (regex:type-split x ":"))
                                    (impc:ir:get-ptr-depth x))
                 x))
           (impc:ir:get-pretty-closure-arg-strings pretty-type))
      ",")
     "]*")))


Back to Index