diff options
author | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2017-04-05 16:39:47 -0400 |
---|---|---|
committer | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2017-04-05 16:39:47 -0400 |
commit | 56bc37f69d92a37cea8b6f0e3ca1ebbf970397a1 (patch) | |
tree | 882f503f24ad94885d06f44516005a9957054b8d /concurrentreadandprint.rkt | |
parent | 819c6a9f7479a743d16b66dbfda31817b1502bd4 (diff) |
I can read and process input iteratively
Diffstat (limited to 'concurrentreadandprint.rkt')
-rw-r--r-- | concurrentreadandprint.rkt | 6 |
1 files 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)) |