Welcome to the CHICKEN Scheme pasting service

working! added by LewisCowper on Wed Jan 14 15:25:09 2015

(use http-client)

;; Will get put in the user-agent header if non-#f...
(client-software '(("scheme-swapi" #f #f)))


;; ... so we can use the "easy" variant of the API:
(define planets
  (lambda ()
    (with-input-from-request "http://swapi.co/api/planets/" #f read-string)))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Which one-argument R5RS procedure returns 3 when given `'(1 2 3 4)' as input?
Visually impaired? Let me spell it for you (wav file) download WAV