PasteRack.org
Paste # 58771
2021-10-13 03:32:55

Fork as a new paste.

Paste viewed 455 times.


Embed:

  1. #lang racket
  2.  
  3. (struct foo (bar))
  4. (define my-hash #hash([1 . (foo 2)]))
  5. (define my-foo (hash-ref my-hash 1))
  6. my-foo
  7. (foo? my-foo)

=>

'(foo 2)

#f