From 56bc37f69d92a37cea8b6f0e3ca1ebbf970397a1 Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Wed, 5 Apr 2017 16:39:47 -0400 Subject: I can read and process input iteratively --- concurrentreadandprint.rkt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/concurrentreadandprint.rkt b/concurrentreadandprint.rkt index 709dd18..84882b4 100644 --- a/concurrentreadandprint.rkt +++ b/concurrentreadandprint.rkt @@ -5,11 +5,13 @@ ;; author: Ibrahim Mkusa ;; about: print and read concurrently ;; notes: output may need to be aligned and formatted nicely +;; look into +;; https://docs.racket-lang.org/gui/text-field_.html#%28meth._%28%28%28lib._mred%2Fmain..rkt%29._text-field~25%29._get-editor%29%29 ;; create custodian for managing all resources ;; so we can shutdown everything at once -(define guard (make-custodian (current-custodian))) -(current-custodian guard) +;(define guard (make-custodian (current-custodian))) +;(current-custodian guard) ;; reads values continously from stdin and redisplays them (define (read-loop) (display (read-line)) -- cgit v1.2.3