{"action":"created","issue":{"url":"https://api.github.com/repos/ubsan/cafe/issues/12","repository_url":"https://api.github.com/repos/ubsan/cafe","labels_url":"https://api.github.com/repos/ubsan/cafe/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ubsan/cafe/issues/12/comments","events_url":"https://api.github.com/repos/ubsan/cafe/issues/12/events","html_url":"https://github.com/ubsan/cafe/issues/12","id":393964666,"node_id":"MDU6SXNzdWUzOTM5NjQ2NjY=","number":12,"title":"Polymorphism","user":{"login":"ubsan","id":3479021,"node_id":"MDQ6VXNlcjM0NzkwMjE=","avatar_url":"https://avatars1.githubusercontent.com/u/3479021?v=4","gravatar_id":"","url":"https://api.github.com/users/ubsan","html_url":"https://github.com/ubsan","followers_url":"https://api.github.com/users/ubsan/followers","following_url":"https://api.github.com/users/ubsan/following{/other_user}","gists_url":"https://api.github.com/users/ubsan/gists{/gist_id}","starred_url":"https://api.github.com/users/ubsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubsan/subscriptions","organizations_url":"https://api.github.com/users/ubsan/orgs","repos_url":"https://api.github.com/users/ubsan/repos","events_url":"https://api.github.com/users/ubsan/events{/privacy}","received_events_url":"https://api.github.com/users/ubsan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-25T05:30:29Z","updated_at":"2018-12-25T05:31:11Z","closed_at":null,"author_association":"OWNER","body":"syntax: `type Array[T: type, N: UInt]`\r\n\r\n```cafe\r\nfunc iter_map[\r\n  T: type,\r\n  U: type,\r\n  E: effect,\r\n](\r\n  lst: List[T],\r\n  f: func(T) E -> U,\r\n)\r\n  Yield[Int32] | E\r\n{\r\n  ...\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/ubsan/cafe/issues/comments/449804334","html_url":"https://github.com/ubsan/cafe/issues/12#issuecomment-449804334","issue_url":"https://api.github.com/repos/ubsan/cafe/issues/12","id":449804334,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTgwNDMzNA==","user":{"login":"ubsan","id":3479021,"node_id":"MDQ6VXNlcjM0NzkwMjE=","avatar_url":"https://avatars1.githubusercontent.com/u/3479021?v=4","gravatar_id":"","url":"https://api.github.com/users/ubsan","html_url":"https://github.com/ubsan","followers_url":"https://api.github.com/users/ubsan/followers","following_url":"https://api.github.com/users/ubsan/following{/other_user}","gists_url":"https://api.github.com/users/ubsan/gists{/gist_id}","starred_url":"https://api.github.com/users/ubsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubsan/subscriptions","organizations_url":"https://api.github.com/users/ubsan/orgs","repos_url":"https://api.github.com/users/ubsan/repos","events_url":"https://api.github.com/users/ubsan/events{/privacy}","received_events_url":"https://api.github.com/users/ubsan/received_events","type":"User","site_admin":false},"created_at":"2018-12-25T05:31:11Z","updated_at":"2018-12-25T05:31:11Z","author_association":"OWNER","body":"Additionally, implicit polymorphism:\r\n\r\n```cafe\r\nfunc iter_map(lst: List['t], f: func('t) 'e -> 'u)\r\n  Yield[Int32] | 'e\r\n{\r\n  ...\r\n}\r\n```"}}
{"actor":{"display_login":"ubsan"}}