PasteRack.org
Paste # 19601
2021-10-11 00:56:13

Fork as a new paste.

Paste viewed 229 times.


Embed:

positive-integer-hash

  1. #lang typed/racket
  2.  
  3. (: my-hash (HashTable Positive-Integer Positive-Integer))
  4. (define my-hash '#hash((1 . 10)
  5.                        (2 . 20)
  6.                        (3 . 30)))
  7.  

=>