def outline.edges
import gralha-svg-render@0.1.0.1/svg.bend as Svgimport Base
1596# The closed polygon through the points, as edges.
1597def outline.edges(pts: List<&2, Point>, acc: List<&2, Edge>) -> List<&2, Edge>:
1598 match pts:
1599 case Nil{}: acc
1600 case Con{p, rest}:
1601 +pp = p
1602 outline.edges.go(pp, rest, pp, acc)