9.0.0.2
Access Path for Racket🔗ℹ
This basically provides !.
1 Example and usage🔗ℹ
| #! /usr/bin/env racket |
| #lang racket |
| (require access) |
| |
| (define x (hash 'abc '(777 888))) |
| (! x (hash-ref ! 'abc) (list-ref ! 1)) ;; equivalent to (list-ref (hash-ref x 'abc) 1) |
| ;; ==> 888 |