lean4-htt/tests/playground/hash.lean
2019-04-03 04:01:36 -07:00

7 lines
173 B
Text

import init.data.hashable
def main (xs : List String): IO Unit :=
do IO.println $ hash xs.head,
IO.println $ hash xs.head.toNat,
IO.println $ mixHash 1 2,
pure ()