{"action":"created","issue":{"url":"https://api.github.com/repos/Tieske/binaryheap.lua/issues/12","labels_url":"https://api.github.com/repos/Tieske/binaryheap.lua/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/Tieske/binaryheap.lua/issues/12/comments","events_url":"https://api.github.com/repos/Tieske/binaryheap.lua/issues/12/events","html_url":"https://github.com/Tieske/binaryheap.lua/issues/12","id":70159966,"number":12,"title":"Allow nil for payloads","user":{"login":"Tieske","id":1077043,"avatar_url":"https://avatars.githubusercontent.com/u/1077043?v=3","gravatar_id":"","url":"https://api.github.com/users/Tieske","html_url":"https://github.com/Tieske","followers_url":"https://api.github.com/users/Tieske/followers","following_url":"https://api.github.com/users/Tieske/following{/other_user}","gists_url":"https://api.github.com/users/Tieske/gists{/gist_id}","starred_url":"https://api.github.com/users/Tieske/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tieske/subscriptions","organizations_url":"https://api.github.com/users/Tieske/orgs","repos_url":"https://api.github.com/users/Tieske/repos","events_url":"https://api.github.com/users/Tieske/events{/privacy}","received_events_url":"https://api.github.com/users/Tieske/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-22T15:28:25Z","updated_at":"2015-04-25T18:49:30Z","closed_at":null,"body":"requires additional tests, and no length checking on the `payload` table as it is no longer a valid list/array\r\n"},"comment":{"url":"https://api.github.com/repos/Tieske/binaryheap.lua/issues/comments/96259389","html_url":"https://github.com/Tieske/binaryheap.lua/issues/12#issuecomment-96259389","issue_url":"https://api.github.com/repos/Tieske/binaryheap.lua/issues/12","id":96259389,"user":{"login":"starius","id":920155,"avatar_url":"https://avatars.githubusercontent.com/u/920155?v=3","gravatar_id":"","url":"https://api.github.com/users/starius","html_url":"https://github.com/starius","followers_url":"https://api.github.com/users/starius/followers","following_url":"https://api.github.com/users/starius/following{/other_user}","gists_url":"https://api.github.com/users/starius/gists{/gist_id}","starred_url":"https://api.github.com/users/starius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starius/subscriptions","organizations_url":"https://api.github.com/users/starius/orgs","repos_url":"https://api.github.com/users/starius/repos","events_url":"https://api.github.com/users/starius/events{/privacy}","received_events_url":"https://api.github.com/users/starius/received_events","type":"User","site_admin":false},"created_at":"2015-04-25T18:49:30Z","updated_at":"2015-04-25T18:49:30Z","body":"> The idea was to use the same implementation for a heap with payload as one without a payload (in the latter case payload == nil)\r\n\r\nI think, type of a heap should be determined when a heap is created. Otherwise, how to deal with same heap being used as both plain heap and unique heap?"}}