(arity
(cond ((memq head '(rmoveto rlineto lineto moveto)) 2)
((memq head '(rcurveto curveto)) 6)
+ ((eq? head 'closepath) 0)
(else 1)))
(args (take rest arity))
(svg-head (assoc-get head
(curveto . C)
(moveto . M)
(lineto . L)
- (rlineto . l))
+ (rlineto . l)
+ (closepath . z))
"")))
(cons (format "~a~a"