def ttf.take
import gralha-truetype@0.1.0.1/font.bend as Fontimport Base
492def ttf.take(n: Nat, pts: List<&2, TTPoint>) -> List<&2, TTPoint>:
493 match n pts:
494 case 0n _: Nil{}
495 case 1n+d Nil{}: Nil{}
496 case 1n+d Con{h, t}: Con{h, ttf.take(d, t)}