about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2022-12-01 12:25:54 -0500
committerelioat <elioat@tilde.institute>2022-12-01 12:25:54 -0500
commit66a0ba16caa3a650eaa5a6e601e98251573e57b3 (patch)
tree31cf41900d4db7e401acf2e99e2ffeb66137b0e2 /src
parent55071038ef6d6587693248ea0669eebe551e70e3 (diff)
downloaddecember-2022-66a0ba16caa3a650eaa5a6e601e98251573e57b3.tar.gz
*
Diffstat (limited to 'src')
-rw-r--r--src/pokedex.rkt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokedex.rkt b/src/pokedex.rkt
index a9c7f89..2a6230b 100644
--- a/src/pokedex.rkt
+++ b/src/pokedex.rkt
@@ -17,7 +17,7 @@
 ;; info about this form, 
 ;; https://medium.com/chris-opperwall/practical-racket-using-a-json-rest-api-3d85eb11cc2d
 (define (get-pokemon id)
-	(call/input-url (string->url (~a "https://pokeapi.co/api/v2/pokemon/" id))
+	(call/input-url (string->url (~a "https://pokeapi.co/api/v2/pokemon/" id)) ; ~a, like string-append but appends *either* strings or numbers to a string
                 get-pure-port
                 port->string))