{"action":"created","issue":{"url":"https://api.github.com/repos/gap-system/gap/issues/831","repository_url":"https://api.github.com/repos/gap-system/gap","labels_url":"https://api.github.com/repos/gap-system/gap/issues/831/labels{/name}","comments_url":"https://api.github.com/repos/gap-system/gap/issues/831/comments","events_url":"https://api.github.com/repos/gap-system/gap/issues/831/events","html_url":"https://github.com/gap-system/gap/pull/831","id":161077395,"number":831,"title":"Alternative to handle functions returning no value","user":{"login":"frankluebeck","id":6473002,"avatar_url":"https://avatars.githubusercontent.com/u/6473002?v=3","gravatar_id":"","url":"https://api.github.com/users/frankluebeck","html_url":"https://github.com/frankluebeck","followers_url":"https://api.github.com/users/frankluebeck/followers","following_url":"https://api.github.com/users/frankluebeck/following{/other_user}","gists_url":"https://api.github.com/users/frankluebeck/gists{/gist_id}","starred_url":"https://api.github.com/users/frankluebeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankluebeck/subscriptions","organizations_url":"https://api.github.com/users/frankluebeck/orgs","repos_url":"https://api.github.com/users/frankluebeck/repos","events_url":"https://api.github.com/users/frankluebeck/events{/privacy}","received_events_url":"https://api.github.com/users/frankluebeck/received_events","type":"User","site_admin":false},"labels":[{"id":314698938,"url":"https://api.github.com/repos/gap-system/gap/labels/DO%20NOT%20MERGE!","name":"DO NOT MERGE!","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-06-19T15:14:51Z","updated_at":"2016-11-02T00:48:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gap-system/gap/pulls/831","html_url":"https://github.com/gap-system/gap/pull/831","diff_url":"https://github.com/gap-system/gap/pull/831.diff","patch_url":"https://github.com/gap-system/gap/pull/831.patch"},"body":"This is an experiment to allow users statements like\n  a := fu();\neven if fu() does not return a value. In this case the statement\nunbinds 'a' so that one can detect that fu() did not return a value\nby 'IsBound(a);'.\n\nThe behaviour is similar for assignments to lists or record components\nwhere statements like\n  l[i] := fu();\n  r.comp := fu();\nin case of fu() not returning a value have the effect of\n  Unbind(l[i]);\n  Unbind(r.comp);\n"},"comment":{"url":"https://api.github.com/repos/gap-system/gap/issues/comments/257742319","html_url":"https://github.com/gap-system/gap/pull/831#issuecomment-257742319","issue_url":"https://api.github.com/repos/gap-system/gap/issues/831","id":257742319,"user":{"login":"frankluebeck","id":6473002,"avatar_url":"https://avatars.githubusercontent.com/u/6473002?v=3","gravatar_id":"","url":"https://api.github.com/users/frankluebeck","html_url":"https://github.com/frankluebeck","followers_url":"https://api.github.com/users/frankluebeck/followers","following_url":"https://api.github.com/users/frankluebeck/following{/other_user}","gists_url":"https://api.github.com/users/frankluebeck/gists{/gist_id}","starred_url":"https://api.github.com/users/frankluebeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankluebeck/subscriptions","organizations_url":"https://api.github.com/users/frankluebeck/orgs","repos_url":"https://api.github.com/users/frankluebeck/repos","events_url":"https://api.github.com/users/frankluebeck/events{/privacy}","received_events_url":"https://api.github.com/users/frankluebeck/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T00:48:49Z","updated_at":"2016-11-02T00:48:49Z","body":"I still think this is  an interesting idea. But I have no objections if this experimental pull request is rejected and  ChrisJefferson's variant of `CallFuncList` is implemented. (In python and Maple it is more important to have a `None` or `NULL` object because these systems have sequences, that is lists without surrounding []'s or ()'s, as data types and an object is needed that represents the empty sequence.)"}}
{"actor":{"display_login":"frankluebeck"}}