{"action":"closed","issue":{"url":"https://api.github.com/repos/pixie-lang/pixie/issues/179","labels_url":"https://api.github.com/repos/pixie-lang/pixie/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/pixie-lang/pixie/issues/179/comments","events_url":"https://api.github.com/repos/pixie-lang/pixie/issues/179/events","html_url":"https://github.com/pixie-lang/pixie/issues/179","id":57503981,"number":179,"title":"An Index function","user":{"login":"gigasquid","id":340299,"avatar_url":"https://avatars.githubusercontent.com/u/340299?v=3","gravatar_id":"","url":"https://api.github.com/users/gigasquid","html_url":"https://github.com/gigasquid","followers_url":"https://api.github.com/users/gigasquid/followers","following_url":"https://api.github.com/users/gigasquid/following{/other_user}","gists_url":"https://api.github.com/users/gigasquid/gists{/gist_id}","starred_url":"https://api.github.com/users/gigasquid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gigasquid/subscriptions","organizations_url":"https://api.github.com/users/gigasquid/orgs","repos_url":"https://api.github.com/users/gigasquid/repos","events_url":"https://api.github.com/users/gigasquid/events{/privacy}","received_events_url":"https://api.github.com/users/gigasquid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-02-12T19:02:28Z","updated_at":"2015-02-23T01:41:31Z","closed_at":"2015-02-23T01:41:31Z","body":"An new index function that will take advantage of pixie performance and give us a more feature rich nth.\r\n\r\n`(index coll n)`\r\n\r\nThe difference between nth and index would be that you could give it negative numbers.\r\nIf given a negative number, it would take the result from the end of the list, rather than the front.\r\n\r\nExample: \r\n```clojure\r\n(index [1 2 3 4] 2) ;=> 3\r\n\r\n(index [1 2 3 4 5 6 7] -2) ;=> 6\r\n```\r\n\r\nMore discussion here\r\nhttps://github.com/pixie-lang/pixie/pull/174\r\n\r\nNote: this would get rid of the over-specialized `penultimate`"}}