On Mon, May 06, 2019 at 02:06:56PM -0700, C K Kashyap wrote:
> My mind is blown - yet again. I love it just looking at it. I'll have to
> look a little more to see what's going on.
> 
> How do I capture the output though - I mean this does not capture the
> output in J

I used 'pretty' in the example to view the result.

You can directly 'setq' it or use it in whatever way of course.

   (let J
      (pipe
         (in '("curl" "-s" "https://api.iextrading.com/1.0/stock/aapl/chart/3m";)
            (while
               (prin
                  (echo "volume" "unadjustedVolume") )
               (echo ",")
               (prin ".0,") ) )
         (readJson) )
      ....
      (doSomething J)
      ... )

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to