Add debug statements in rpc-stream-map-sum example
authorAhmet Artu Yildirim <ahmet@artulab.com>
Sun, 13 Jun 2021 06:04:29 +0000 (23:04 -0700)
committerAhmet Artu Yildirim <ahmet@artulab.com>
Fri, 8 Oct 2021 05:11:03 +0000 (22:11 -0700)
README.md
examples/rpc-stream-map-sum.scm

index 5579337..d92eb35 100644 (file)
--- a/README.md
+++ b/README.md
@@ -58,6 +58,6 @@ See `examples` directory for more examples.
 This project is licensed under the GNU Lesser General Public License - see
 the COPYING.LESSER file for details.
 
 This project is licensed under the GNU Lesser General Public License - see
 the COPYING.LESSER file for details.
 
-Please send comments on orca to **ahmetartu at gmail dot com**
+Please send comments on orca to **ahmet@artulab.com**
 
 Copyright (C) 2020  Ahmet Artu Yildirim
 
 Copyright (C) 2020  Ahmet Artu Yildirim
index 14ee84f..6e33ec9 100755 (executable)
@@ -20,6 +20,8 @@
 (define counter 0)
 
 (define (sum-all return a b)
 (define counter 0)
 
 (define (sum-all return a b)
+ (format #t "a: ~a b: ~a~%" a b)
+
  (set! counter (1+ counter))
  (if (> counter 4)
   (return)
  (set! counter (1+ counter))
  (if (> counter 4)
   (return)