{"action":"created","issue":{"url":"https://api.github.com/repos/bakpakin/fnl/issues/11","repository_url":"https://api.github.com/repos/bakpakin/fnl","labels_url":"https://api.github.com/repos/bakpakin/fnl/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/bakpakin/fnl/issues/11/comments","events_url":"https://api.github.com/repos/bakpakin/fnl/issues/11/events","html_url":"https://github.com/bakpakin/fnl/pull/11","id":297976314,"number":11,"title":"Add lambda for arity-checked functions.","user":{"login":"technomancy","id":141,"avatar_url":"https://avatars2.githubusercontent.com/u/141?v=4","gravatar_id":"","url":"https://api.github.com/users/technomancy","html_url":"https://github.com/technomancy","followers_url":"https://api.github.com/users/technomancy/followers","following_url":"https://api.github.com/users/technomancy/following{/other_user}","gists_url":"https://api.github.com/users/technomancy/gists{/gist_id}","starred_url":"https://api.github.com/users/technomancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technomancy/subscriptions","organizations_url":"https://api.github.com/users/technomancy/orgs","repos_url":"https://api.github.com/users/technomancy/repos","events_url":"https://api.github.com/users/technomancy/events{/privacy}","received_events_url":"https://api.github.com/users/technomancy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-17T03:51:49Z","updated_at":"2018-02-17T04:12:06Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/bakpakin/fnl/pulls/11","html_url":"https://github.com/bakpakin/fnl/pull/11","diff_url":"https://github.com/bakpakin/fnl/pull/11.diff","patch_url":"https://github.com/bakpakin/fnl/pull/11.patch"},"body":"This checks for all non-?-beginning parameters to be non-nil. It doesn't check for cases where there are too many parameters, as I don't believe it's possible to know how many params are passed in unless using var-args."},"comment":{"url":"https://api.github.com/repos/bakpakin/fnl/issues/comments/366414909","html_url":"https://github.com/bakpakin/fnl/pull/11#issuecomment-366414909","issue_url":"https://api.github.com/repos/bakpakin/fnl/issues/11","id":366414909,"user":{"login":"bakpakin","id":6185660,"avatar_url":"https://avatars1.githubusercontent.com/u/6185660?v=4","gravatar_id":"","url":"https://api.github.com/users/bakpakin","html_url":"https://github.com/bakpakin","followers_url":"https://api.github.com/users/bakpakin/followers","following_url":"https://api.github.com/users/bakpakin/following{/other_user}","gists_url":"https://api.github.com/users/bakpakin/gists{/gist_id}","starred_url":"https://api.github.com/users/bakpakin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakpakin/subscriptions","organizations_url":"https://api.github.com/users/bakpakin/orgs","repos_url":"https://api.github.com/users/bakpakin/repos","events_url":"https://api.github.com/users/bakpakin/events{/privacy}","received_events_url":"https://api.github.com/users/bakpakin/received_events","type":"User","site_admin":false},"created_at":"2018-02-17T04:12:06Z","updated_at":"2018-02-17T04:12:06Z","author_association":"OWNER","body":"It is actually possible.\r\n```lua\r\nlocal function returnnothing()\r\n  return\r\nend\r\n\r\nlocal function returnnil()\r\n  return nil\r\nend\r\n\r\nprint(select('#', returnnothing())) -- prints 0\r\nprint(select('#', returnnil())) -- prints 1\r\n```\r\nShouldn't be hard to add checking for extra parameters, but this is a good start."}}
{"actor":{"display_login":"bakpakin"}}