def dedup

ezx@1.11.0.0 · src/pkg/pkg.bend:545

import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg
import Base

545# a sorted file list with the repeats dropped
546def dedup(fs: List<&2, Item>) -> List<&2, Item>:
547  match fs:
548    case []:
549      []
550    case Con{h, t}:
551      dedup.head(h, dedup(t))

Uses (3)

Used by (1)