Welcome to the CHICKEN Scheme pasting service

broken.scm added by tilpner on Sat Apr 30 18:12:50 2016

(use srfi-18 tcp linenoise)

(define (listen)
  (define l (tcp-listen 12345))
  (define-values (i o) (tcp-accept l))
  (parameterize [(current-input-port i)]
    (let loop ()
      (let [(line (read-line))]
        (print line)
        (loop)))))

(define (spawn thunk)
  (let [(t (make-thread thunk))]
    (thread-start! t)))

(spawn listen)

(parameterize [(current-input-port (make-linenoise-port))]
  (repl))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Name of the language CHICKEN compiles to:
Visually impaired? Let me spell it for you (wav file) download WAV