diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tmp.rkt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/tmp.rkt b/src/tmp.rkt index 655c567..f63055d 100644 --- a/src/tmp.rkt +++ b/src/tmp.rkt @@ -53,7 +53,15 @@ ;; NEXT STEPS -> https://stackoverflow.com/questions/13504302/racket-scheme-filtering +(hash-ref test-data "stats") ; all stats +(hash-ref (car (hash-ref test-data "stats")) 'base_stat) ; value for a given stat +(hash-ref (hash-ref (car (hash-ref test-data "stats")) 'stat) 'name) ; name for a given stat + + +(map + (lambda (x) (displayln "t")) ;; need a way to not use car, but just hit every item in the sequence + (hash-ref test-data "stats")) + + -(displayln (hash-ref (car (hash-ref test-data "stats")) 'base_stat)) ;; just show the specific stat -(displayln (car (hash-ref test-data "stats"))) ;; show tne entire hash table! |