def ttf.take

gralha-truetype@0.1.0.1 · font.bend:492

import gralha-truetype@0.1.0.1/font.bend as Font
import 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)}

Uses (3)

Used by (1)