{"action":"created","issue":{"url":"https://api.github.com/repos/davidedc/livecodelab/issues/237","labels_url":"https://api.github.com/repos/davidedc/livecodelab/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/davidedc/livecodelab/issues/237/comments","events_url":"https://api.github.com/repos/davidedc/livecodelab/issues/237/events","html_url":"https://github.com/davidedc/livecodelab/issues/237","id":34401588,"number":237,"title":"shortcut notation for pushMatrix/popMatrix combo","user":{"login":"davidedc","id":769568,"avatar_url":"https://avatars.githubusercontent.com/u/769568?v=3","gravatar_id":"","url":"https://api.github.com/users/davidedc","html_url":"https://github.com/davidedc","followers_url":"https://api.github.com/users/davidedc/followers","following_url":"https://api.github.com/users/davidedc/following{/other_user}","gists_url":"https://api.github.com/users/davidedc/gists{/gist_id}","starred_url":"https://api.github.com/users/davidedc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidedc/subscriptions","organizations_url":"https://api.github.com/users/davidedc/orgs","repos_url":"https://api.github.com/users/davidedc/repos","events_url":"https://api.github.com/users/davidedc/events{/privacy}","received_events_url":"https://api.github.com/users/davidedc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidedc/livecodelab/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-05-27T18:50:49Z","updated_at":"2015-02-02T16:11:04Z","closed_at":null,"body":"instead of doing\r\n\r\n```\r\npushMatrix\r\nblock\r\npopMatrix\r\n```\r\n\r\nwe could use a special notation, something like the (with-state) of Fluxus\r\n\r\n```\r\nsomethingSomething\r\n  block\r\n```\r\n\r\n.\r\n\r\nYou'd think that this is never needed given we already expose matrix operations that are block-scoped (I thought so) but actually take this example (found looking at https://github.com/xinaesthete/livecodelab/commit/a532582b8d5b18ba2853a5bc3c3db094e068ba39#diff-568408f5e3594dce731522f377b2ac5aR87\r\n ):\r\n\r\n```\r\nsomethingSomething\r\n  5 times\r\n    rotate\r\n    box\r\notherCode // not affected by any of the rotates above\r\n```\r\n\r\nthis is a case when such command would be useful.\r\n\r\nAny suggestIons for the name? just 'pushMatrix'? Would that be confusing?\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/davidedc/livecodelab/issues/comments/72483609","html_url":"https://github.com/davidedc/livecodelab/issues/237#issuecomment-72483609","issue_url":"https://api.github.com/repos/davidedc/livecodelab/issues/237","id":72483609,"user":{"login":"Richard-Mineall","id":10713819,"avatar_url":"https://avatars.githubusercontent.com/u/10713819?v=3","gravatar_id":"","url":"https://api.github.com/users/Richard-Mineall","html_url":"https://github.com/Richard-Mineall","followers_url":"https://api.github.com/users/Richard-Mineall/followers","following_url":"https://api.github.com/users/Richard-Mineall/following{/other_user}","gists_url":"https://api.github.com/users/Richard-Mineall/gists{/gist_id}","starred_url":"https://api.github.com/users/Richard-Mineall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Richard-Mineall/subscriptions","organizations_url":"https://api.github.com/users/Richard-Mineall/orgs","repos_url":"https://api.github.com/users/Richard-Mineall/repos","events_url":"https://api.github.com/users/Richard-Mineall/events{/privacy}","received_events_url":"https://api.github.com/users/Richard-Mineall/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T16:11:04Z","updated_at":"2015-02-02T16:11:04Z","body":"What about Reversing the order matrixPush or matrixPop that seems to make a bit more sense to me"}}