NLA-lib Explorer

NLAlib.Ops.Tools.tally

Library · def

Count the entries of a list of keys, in the order of their first occurrence.

NLAlib.Ops.Tools.tally {Op Tst : Type} [DecidableEq Op] [DecidableEq Tst]
  (l : List (Ops.Tools.Key Op Tst)) : List (Ops.Tools.Key Op Tst × ℕ)

Full source on GitHub

Import NLAlib.Ops.Tools.Run.