{"action":"opened","issue":{"url":"https://api.github.com/repos/zackernel/zackernel/issues/17","repository_url":"https://api.github.com/repos/zackernel/zackernel","labels_url":"https://api.github.com/repos/zackernel/zackernel/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/zackernel/zackernel/issues/17/comments","events_url":"https://api.github.com/repos/zackernel/zackernel/issues/17/events","html_url":"https://github.com/zackernel/zackernel/issues/17","id":175385609,"number":17,"title":"Implement zFor","user":{"login":"zacky1972","id":1518283,"avatar_url":"https://avatars.githubusercontent.com/u/1518283?v=3","gravatar_id":"","url":"https://api.github.com/users/zacky1972","html_url":"https://github.com/zacky1972","followers_url":"https://api.github.com/users/zacky1972/followers","following_url":"https://api.github.com/users/zacky1972/following{/other_user}","gists_url":"https://api.github.com/users/zacky1972/gists{/gist_id}","starred_url":"https://api.github.com/users/zacky1972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacky1972/subscriptions","organizations_url":"https://api.github.com/users/zacky1972/orgs","repos_url":"https://api.github.com/users/zacky1972/repos","events_url":"https://api.github.com/users/zacky1972/events{/privacy}","received_events_url":"https://api.github.com/users/zacky1972/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zackernel/zackernel/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"zacky1972","id":1518283,"avatar_url":"https://avatars.githubusercontent.com/u/1518283?v=3","gravatar_id":"","url":"https://api.github.com/users/zacky1972","html_url":"https://github.com/zacky1972","followers_url":"https://api.github.com/users/zacky1972/followers","following_url":"https://api.github.com/users/zacky1972/following{/other_user}","gists_url":"https://api.github.com/users/zacky1972/gists{/gist_id}","starred_url":"https://api.github.com/users/zacky1972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacky1972/subscriptions","organizations_url":"https://api.github.com/users/zacky1972/orgs","repos_url":"https://api.github.com/users/zacky1972/repos","events_url":"https://api.github.com/users/zacky1972/events{/privacy}","received_events_url":"https://api.github.com/users/zacky1972/received_events","type":"User","site_admin":false},"assignees":[{"login":"zacky1972","id":1518283,"avatar_url":"https://avatars.githubusercontent.com/u/1518283?v=3","gravatar_id":"","url":"https://api.github.com/users/zacky1972","html_url":"https://github.com/zacky1972","followers_url":"https://api.github.com/users/zacky1972/followers","following_url":"https://api.github.com/users/zacky1972/following{/other_user}","gists_url":"https://api.github.com/users/zacky1972/gists{/gist_id}","starred_url":"https://api.github.com/users/zacky1972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacky1972/subscriptions","organizations_url":"https://api.github.com/users/zacky1972/orgs","repos_url":"https://api.github.com/users/zacky1972/repos","events_url":"https://api.github.com/users/zacky1972/events{/privacy}","received_events_url":"https://api.github.com/users/zacky1972/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/zackernel/zackernel/milestones/2","html_url":"https://github.com/zackernel/zackernel/milestones/Code%20Name%20%22Kagoshima-Chuo%22:%20Implementing%20Basic%20Loop%20Functions","labels_url":"https://api.github.com/repos/zackernel/zackernel/milestones/2/labels","id":1987589,"number":2,"title":"Code Name \"Kagoshima-Chuo\": Implementing Basic Loop Functions","description":"Code Name \"Kagoshima-Chuo\": Implementing Basic Loop Functions\r\n\r\nSample Client Code:\r\n\r\n```c++\r\nzLoop([&] {\r\n  // calculate something forever with calling other tasks\r\n});\r\n\r\nbool flag = true;\r\nzWhile([&] { return flag; }, [&] {\r\n  // calculate something while flag is true with calling other tasks\r\n});\r\n\r\nbool flag = true;\r\nzDoWhile([&] {\r\n  // calculate something once and while flag is true with calling other tasks\r\n}, [&] { return flag; });\r\n\r\nint i;\r\nzFor([&] { i = 1; }, [&] { i < NUM; }, [&] { i++; }, [&] {\r\n  // calculate something while i < NUM with calling other tasks.\r\n});\r\n```","creator":{"login":"zacky1972","id":1518283,"avatar_url":"https://avatars.githubusercontent.com/u/1518283?v=3","gravatar_id":"","url":"https://api.github.com/users/zacky1972","html_url":"https://github.com/zacky1972","followers_url":"https://api.github.com/users/zacky1972/followers","following_url":"https://api.github.com/users/zacky1972/following{/other_user}","gists_url":"https://api.github.com/users/zacky1972/gists{/gist_id}","starred_url":"https://api.github.com/users/zacky1972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacky1972/subscriptions","organizations_url":"https://api.github.com/users/zacky1972/orgs","repos_url":"https://api.github.com/users/zacky1972/repos","events_url":"https://api.github.com/users/zacky1972/events{/privacy}","received_events_url":"https://api.github.com/users/zacky1972/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2016-09-06T23:06:51Z","updated_at":"2016-09-07T00:37:22Z","due_on":"2016-09-16T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-09-07T00:37:22Z","updated_at":"2016-09-07T00:37:22Z","closed_at":null,"body":"Sample Code:\r\n\r\n```c++\r\nint i;\r\nzFor([&] { i = 1; }, [&] { i < NUM; }, [&] { i++; }, [&] {\r\n  // calculate something while i < NUM with calling other tasks.\r\n});\r\n```"}}
{"actor":{"display_login":"zacky1972"}}