From 91f177c912c7825532fa5ef3efab85d0dd3d9d9b Mon Sep 17 00:00:00 2001 From: elioat Date: Sat, 3 Dec 2022 11:20:01 -0500 Subject: questions --- src/pokedex.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pokedex.rkt b/src/pokedex.rkt index f014f0c..02523b0 100644 --- a/src/pokedex.rkt +++ b/src/pokedex.rkt @@ -25,7 +25,7 @@ "queries the api, returns a butt ton of info" (call/input-url (string->url (~a *POKE-API* id)) ; ~a, like string-append but appends *either* strings or numbers to a string get-pure-port - (compose string->jsexpr port->string))) + (compose string->jsexpr port->string))) ;; QUESTION: could I use read-json here, instead? (define (dex-entry id) "selects the info we need from the api, builds a hash table of the data that will build the entry" -- cgit 1.4.1-2-gfad0