Open ggreif opened 6 years ago
This allows us to write
SVG.marker #= [ (SVG.id, "arrow") , (SVG.viewBox, "0 0 10 10") , (SVG.refx, "5") , (SVG.refy, "5") , (SVG.markerWidth, "6") , (SVG.markerHeight, "6") , (SVG.orient, "auto")] #+ [SVG.path # set SVG.d "M0 0L10 5L0 10z"]
Importantly, the attribute list can come from any Foldable container.
Foldable
Stuff to check:
(#=)
foldl
This allows us to write
Importantly, the attribute list can come from any
Foldable
container.Stuff to check:
(#=)
?foldl
the correct way to do it?