{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nix/issues/1045","repository_url":"https://api.github.com/repos/NixOS/nix","labels_url":"https://api.github.com/repos/NixOS/nix/issues/1045/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nix/issues/1045/comments","events_url":"https://api.github.com/repos/NixOS/nix/issues/1045/events","html_url":"https://github.com/NixOS/nix/issues/1045","id":173661916,"number":1045,"title":"A bug in __functor?","user":{"login":"domenkozar","id":126339,"avatar_url":"https://avatars.githubusercontent.com/u/126339?v=3","gravatar_id":"","url":"https://api.github.com/users/domenkozar","html_url":"https://github.com/domenkozar","followers_url":"https://api.github.com/users/domenkozar/followers","following_url":"https://api.github.com/users/domenkozar/following{/other_user}","gists_url":"https://api.github.com/users/domenkozar/gists{/gist_id}","starred_url":"https://api.github.com/users/domenkozar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenkozar/subscriptions","organizations_url":"https://api.github.com/users/domenkozar/orgs","repos_url":"https://api.github.com/users/domenkozar/repos","events_url":"https://api.github.com/users/domenkozar/events{/privacy}","received_events_url":"https://api.github.com/users/domenkozar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nix/labels/bug","name":"bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":{"login":"shlevy","id":487050,"avatar_url":"https://avatars.githubusercontent.com/u/487050?v=3","gravatar_id":"","url":"https://api.github.com/users/shlevy","html_url":"https://github.com/shlevy","followers_url":"https://api.github.com/users/shlevy/followers","following_url":"https://api.github.com/users/shlevy/following{/other_user}","gists_url":"https://api.github.com/users/shlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/shlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlevy/subscriptions","organizations_url":"https://api.github.com/users/shlevy/orgs","repos_url":"https://api.github.com/users/shlevy/repos","events_url":"https://api.github.com/users/shlevy/events{/privacy}","received_events_url":"https://api.github.com/users/shlevy/received_events","type":"User","site_admin":false},"assignees":[{"login":"shlevy","id":487050,"avatar_url":"https://avatars.githubusercontent.com/u/487050?v=3","gravatar_id":"","url":"https://api.github.com/users/shlevy","html_url":"https://github.com/shlevy","followers_url":"https://api.github.com/users/shlevy/followers","following_url":"https://api.github.com/users/shlevy/following{/other_user}","gists_url":"https://api.github.com/users/shlevy/gists{/gist_id}","starred_url":"https://api.github.com/users/shlevy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shlevy/subscriptions","organizations_url":"https://api.github.com/users/shlevy/orgs","repos_url":"https://api.github.com/users/shlevy/repos","events_url":"https://api.github.com/users/shlevy/events{/privacy}","received_events_url":"https://api.github.com/users/shlevy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2016-08-28T19:06:48Z","updated_at":"2016-08-29T12:00:43Z","closed_at":"2016-08-29T11:49:03Z","body":"```\r\nnix-repl> a = { __functor = self: x: builtins.genList self x;}\r\n\r\nnix-repl> a\r\n{ __functor = «lambda»; }\r\n\r\nnix-repl> a 1\r\n[ Aborted\r\n```\r\n\r\ncc @shlevy "},"comment":{"url":"https://api.github.com/repos/NixOS/nix/issues/comments/243104594","html_url":"https://github.com/NixOS/nix/issues/1045#issuecomment-243104594","issue_url":"https://api.github.com/repos/NixOS/nix/issues/1045","id":243104594,"user":{"login":"domenkozar","id":126339,"avatar_url":"https://avatars.githubusercontent.com/u/126339?v=3","gravatar_id":"","url":"https://api.github.com/users/domenkozar","html_url":"https://github.com/domenkozar","followers_url":"https://api.github.com/users/domenkozar/followers","following_url":"https://api.github.com/users/domenkozar/following{/other_user}","gists_url":"https://api.github.com/users/domenkozar/gists{/gist_id}","starred_url":"https://api.github.com/users/domenkozar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenkozar/subscriptions","organizations_url":"https://api.github.com/users/domenkozar/orgs","repos_url":"https://api.github.com/users/domenkozar/repos","events_url":"https://api.github.com/users/domenkozar/events{/privacy}","received_events_url":"https://api.github.com/users/domenkozar/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T12:00:43Z","updated_at":"2016-08-29T12:00:43Z","body":"Thanks:\r\n\r\n```\r\n$ /nix/store/77fxdwjanjw3bh88vkqgza8r24b0fc4n-nix-1.12pre1234_abcdef/bin/nix-instantiate --eval --strict -E '{foo = \"lala\"; __functor = self: x: builtins.genList (b: self) x;} 3'\r\n[ { __functor = <LAMBDA>; foo = \"lala\"; } { __functor = <LAMBDA>; foo = \"lala\"; } { __functor = <LAMBDA>; foo = \"lala\"; } ]\r\n```"}}
{"actor":{"display_login":"domenkozar"}}