4 ms·
This would be the equivalent in Kal: http://goo.gl/TwsL2h http://goo.gl/TwsL2h It's a different approach, but it doesn't require ES6 or any libraries (once com
by rzimmerman 13y ago
This would be the equivalent in Kal: http://goo.gl/TwsL2h http://goo.gl/TwsL2h
It's a different approach, but it doesn't require ES6 or any libraries (once compiled). Forgive the slight funkiness with the indentation.
try
wait for tweets from getTweetsFor "swannodette"
url = parseUrls(tweets)[0]
wait for responseBody from httpGet url
print "Most recent link text: " + responseBody
catch error
console.error "Error with the twitterverse: " + error
- swannodette 13y agoThis is nice but I am of course biased about the CSP model. While `wait` is good for one off tasks, I now prefer CSP channels as they just as easily capture Rx style interactive event programming.