{"action":"created","issue":{"url":"https://api.github.com/repos/gap-system/gap/issues/824","repository_url":"https://api.github.com/repos/gap-system/gap","labels_url":"https://api.github.com/repos/gap-system/gap/issues/824/labels{/name}","comments_url":"https://api.github.com/repos/gap-system/gap/issues/824/comments","events_url":"https://api.github.com/repos/gap-system/gap/issues/824/events","html_url":"https://github.com/gap-system/gap/pull/824","id":159843258,"number":824,"title":"Add extra argument to CallListFunc, to wrap return value.","user":{"login":"ChrisJefferson","id":811527,"avatar_url":"https://avatars.githubusercontent.com/u/811527?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisJefferson","html_url":"https://github.com/ChrisJefferson","followers_url":"https://api.github.com/users/ChrisJefferson/followers","following_url":"https://api.github.com/users/ChrisJefferson/following{/other_user}","gists_url":"https://api.github.com/users/ChrisJefferson/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisJefferson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisJefferson/subscriptions","organizations_url":"https://api.github.com/users/ChrisJefferson/orgs","repos_url":"https://api.github.com/users/ChrisJefferson/repos","events_url":"https://api.github.com/users/ChrisJefferson/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisJefferson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-06-12T19:24:44Z","updated_at":"2016-11-18T12:05:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gap-system/gap/pulls/824","html_url":"https://github.com/gap-system/gap/pull/824","diff_url":"https://github.com/gap-system/gap/pull/824.diff","patch_url":"https://github.com/gap-system/gap/pull/824.patch"},"body":"This has been previously requested by @fingolfin and myself.\n\nBasically, CallListFunc (and GAP in general) doesn't provide a generic way of calling a function and capturing the return value of a function if one exists, but not breaking if there is not.\n\nThis adds `CallListFuncWrap` which is exactly the same as `CallListFunc`, except it returns a list of size 0 if the function returns nothing, and size 1 if there is a return value (containing that return value).\n### Description of changes (for the release notes)\n\nAdd CallListFuncWrap, an extension to CallListFunc which allows generic code to handle functions which may or may not return a value.\n"},"comment":{"url":"https://api.github.com/repos/gap-system/gap/issues/comments/261516896","html_url":"https://github.com/gap-system/gap/pull/824#issuecomment-261516896","issue_url":"https://api.github.com/repos/gap-system/gap/issues/824","id":261516896,"user":{"login":"ChrisJefferson","id":811527,"avatar_url":"https://avatars.githubusercontent.com/u/811527?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisJefferson","html_url":"https://github.com/ChrisJefferson","followers_url":"https://api.github.com/users/ChrisJefferson/followers","following_url":"https://api.github.com/users/ChrisJefferson/following{/other_user}","gists_url":"https://api.github.com/users/ChrisJefferson/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisJefferson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisJefferson/subscriptions","organizations_url":"https://api.github.com/users/ChrisJefferson/orgs","repos_url":"https://api.github.com/users/ChrisJefferson/repos","events_url":"https://api.github.com/users/ChrisJefferson/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisJefferson/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T12:05:22Z","updated_at":"2016-11-18T12:05:22Z","body":"I'm going to hold on this for a minute, as I think fixing 953 might fix this as part of the fallout."}}
{"actor":{"display_login":"ChrisJefferson"}}