(define impc:ir:get-closure-type-from-str (lambda (string-type) (impc:ir:get-function-type-from-str (regex:replace string-type "^\\{\\s?i8\\*,\\s?i8\\*,(.*)\\}.*$" "$1"))))