Tally.Core
Core
A tally is a list of counts. This module defines the type and the two functions the rest of the
project reasons about: total and append.
A list of counts.
Declare Scope tally_scope.
Delimit Scope tally_scope with tally.
Infix "::" := cons (at level 60, right associativity) : tally_scope.Open Scope tally_scope.
The sum of every count in a tally.
Arguments
t : tally
the tally summed.
Arguments
t : tally
the tally summed.
The counts of a, followed by the counts of b.
How many counts a tally holds.
Arguments
t : tally
the tally measured.
Arguments
t : tally
the tally measured.