{"action":"created","issue":{"url":"https://api.github.com/repos/sass/sass/issues/183","labels_url":"https://api.github.com/repos/sass/sass/issues/183/labels{/name}","comments_url":"https://api.github.com/repos/sass/sass/issues/183/comments","events_url":"https://api.github.com/repos/sass/sass/issues/183/events","html_url":"https://github.com/sass/sass/issues/183","id":1794304,"number":183,"title":"Add increment and decrement operators","user":{"login":"Petah","id":134799,"avatar_url":"https://avatars.githubusercontent.com/u/134799?v=3","gravatar_id":"","url":"https://api.github.com/users/Petah","html_url":"https://github.com/Petah","followers_url":"https://api.github.com/users/Petah/followers","following_url":"https://api.github.com/users/Petah/following{/other_user}","gists_url":"https://api.github.com/users/Petah/gists{/gist_id}","starred_url":"https://api.github.com/users/Petah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Petah/subscriptions","organizations_url":"https://api.github.com/users/Petah/orgs","repos_url":"https://api.github.com/users/Petah/repos","events_url":"https://api.github.com/users/Petah/events{/privacy}","received_events_url":"https://api.github.com/users/Petah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2011-10-02T04:20:15Z","updated_at":"2015-01-05T21:44:04Z","closed_at":"2011-10-04T20:12:29Z","body":"It would be nice to have ++ and -- included.\r\n\r\nHere is my use case:\r\n\r\n```\r\n.ui-toolbar > .editor-ui-button {\r\n    $i = 1;\r\n    \r\n    &-save,\r\n    &-cancel {\r\n        @include box-ordinal-group($i++);\r\n    }\r\n\r\n    &-undo,\r\n    &-redo {\r\n        @include box-ordinal-group($i++);\r\n    }\r\n\r\n    &-bold,\r\n    &-italic,\r\n    &-underline {\r\n        @include box-ordinal-group($i++);\r\n    }\r\n    \r\n    &-text-size-inc,\r\n    &-text-size-dec {\r\n        @include box-ordinal-group($i++);\r\n    }\r\n    \r\n    &-horizontal-rule {\r\n        @include box-ordinal-group($i++);\r\n    }\r\n\r\n    &-float-left,\r\n    &-float-none,\r\n    &-float-right {\r\n        @include box-ordinal-group($i++);\r\n    }\r\n\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/sass/sass/issues/comments/68787261","html_url":"https://github.com/sass/sass/issues/183#issuecomment-68787261","issue_url":"https://api.github.com/repos/sass/sass/issues/183","id":68787261,"user":{"login":"nex3","id":188,"avatar_url":"https://avatars.githubusercontent.com/u/188?v=3","gravatar_id":"","url":"https://api.github.com/users/nex3","html_url":"https://github.com/nex3","followers_url":"https://api.github.com/users/nex3/followers","following_url":"https://api.github.com/users/nex3/following{/other_user}","gists_url":"https://api.github.com/users/nex3/gists{/gist_id}","starred_url":"https://api.github.com/users/nex3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nex3/subscriptions","organizations_url":"https://api.github.com/users/nex3/orgs","repos_url":"https://api.github.com/users/nex3/repos","events_url":"https://api.github.com/users/nex3/events{/privacy}","received_events_url":"https://api.github.com/users/nex3/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T21:44:04Z","updated_at":"2015-01-05T21:44:04Z","body":"@davevasquez for use-specific examples like that, it's very easy to write a function that does it more semantically:\r\n\r\n```scss\r\n$z-index: 0;\r\n@function next-z-index() {\r\n  $z-index: $z-index + 1;\r\n  @return $z-index;\r\n}\r\n```"}}