News for hackers. Stuff that matters.
Re:Asynchronous Error Handling by rzimmerman on Saturday August 31, 2013 @04:49PM (#6308027)
This would be the equivalent in Kal: 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
Re:Asynchronous Error Handling by swannodette on Saturday August 31, 2013 @05:41PM (#6308237)
This 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.