I am trying to write a function which takes in val:nat, votes: set<nat>, N: nat
where N
is the maximum size of the set, votes
, and returns a string which concatenates the val
and votes
.
Example: H(val: 23, votes:{1,3}, N: 3) will return "23-1-0-3"
Any leads is appreciated. Thanks.