SVG2 gradient mesh rendering in Haskell