8.16
Access Path for Racket🔗ℹ
Link to this document with
@other-doc['(lib "access/access.scrbl")]
Link to this document with
@other-doc['(lib "access/access.scrbl")]
This basically provides !, and !-debug.
1 Example and usage🔗ℹ
Link to this section with
@secref["Example_and_usage" #:doc '(lib "access/access.scrbl")]
Link to this section with
@secref["Example_and_usage" #:doc '(lib "access/access.scrbl")]
#! /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 |