Rob Zimmerman
Rob Zimmerman
I see the same thing. Doing `journo init` actually copies the bootstrap directory into the current folder without index.html. It looks like this was fixed in 4821dca but not published...
Maybe something like: ``` kal in parallel wait for x from taskA foo wait for y from taskB bar print x,y ``` would be useful?
@bcho, a lot of people share your sentiment that they prefer special characters, mainly for readability. I've decided instead to focus on making the language easy to pick up and...
Well right now (with the current build) you can do: ``` kal tasks = [[taskA,[1,2,3] [taskB,[0]] [taskC,[]]] returns = [] for parallel taskInfo in tasks wait for x from taskInfo[0].apply...
@Pomax, that is definitely more complicated but kind of cool. I think async.js does something like this. I worry about it getting too complicated for new users, but it does...
Also, @bcho, I do have on the list (gh-44) adding `wait for`s to list comprehensions, so you could eventually do something like: ``` kal task get_user(id) ... user_ids = [...]...
I added the `run in parallel` structure to master (not on npm yet). I'd like to keep the discussion open, but push the more complicated `wait for` block to a...
@bcho that should be working. This section from tests/parallel_block.kal has one (with multiple return values): ``` kal run in parallel c1() wait for y, yy from c2() z, zz from...
So I think it does compile to the latter syntax for statements like `return` and `throw`. I believe since this is an ExpressionStatement, it's just compiling the Expression, which thinks...
What's a good use case for `is empty`? Are you looking for something that equates to true for both an empty list/string and for `null`/`undefined`?