{"action":"created","issue":{"url":"https://api.github.com/repos/mindplay-dk/php-generics-rfc/issues/3","repository_url":"https://api.github.com/repos/mindplay-dk/php-generics-rfc","labels_url":"https://api.github.com/repos/mindplay-dk/php-generics-rfc/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/mindplay-dk/php-generics-rfc/issues/3/comments","events_url":"https://api.github.com/repos/mindplay-dk/php-generics-rfc/issues/3/events","html_url":"https://github.com/mindplay-dk/php-generics-rfc/issues/3","id":339214117,"node_id":"MDU6SXNzdWUzMzkyMTQxMTc=","number":3,"title":"Upper/lower bounds","user":{"login":"mindplay-dk","id":103348,"node_id":"MDQ6VXNlcjEwMzM0OA==","avatar_url":"https://avatars0.githubusercontent.com/u/103348?v=4","gravatar_id":"","url":"https://api.github.com/users/mindplay-dk","html_url":"https://github.com/mindplay-dk","followers_url":"https://api.github.com/users/mindplay-dk/followers","following_url":"https://api.github.com/users/mindplay-dk/following{/other_user}","gists_url":"https://api.github.com/users/mindplay-dk/gists{/gist_id}","starred_url":"https://api.github.com/users/mindplay-dk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindplay-dk/subscriptions","organizations_url":"https://api.github.com/users/mindplay-dk/orgs","repos_url":"https://api.github.com/users/mindplay-dk/repos","events_url":"https://api.github.com/users/mindplay-dk/events{/privacy}","received_events_url":"https://api.github.com/users/mindplay-dk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-08T10:15:42Z","updated_at":"2018-07-08T10:44:20Z","closed_at":null,"author_association":"OWNER","body":"The RFC currently describes upper bounds only.\r\n\r\nDecide whether to support both upper and lower bounds.\r\n\r\nDecide on the syntax.\r\n\r\n> Scala spells an upper bound as `T <: A`. A lower bound is `T >: A`.\r\n>\r\n> C# spells an upper bound as `T: A`. It does not support lower bounds directly. In some cases there can be two type parameters and you can specify one is the upper bound for the other, effectively making the reverse a lower-bound:\r\n>\r\n> `void F<T,U> (T source, U dest) where T : U`\r\n\r\nAdd/update relevant sections of the RFC as needed.\r\n"},"comment":{"url":"https://api.github.com/repos/mindplay-dk/php-generics-rfc/issues/comments/403278848","html_url":"https://github.com/mindplay-dk/php-generics-rfc/issues/3#issuecomment-403278848","issue_url":"https://api.github.com/repos/mindplay-dk/php-generics-rfc/issues/3","id":403278848,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzI3ODg0OA==","user":{"login":"mindplay-dk","id":103348,"node_id":"MDQ6VXNlcjEwMzM0OA==","avatar_url":"https://avatars0.githubusercontent.com/u/103348?v=4","gravatar_id":"","url":"https://api.github.com/users/mindplay-dk","html_url":"https://github.com/mindplay-dk","followers_url":"https://api.github.com/users/mindplay-dk/followers","following_url":"https://api.github.com/users/mindplay-dk/following{/other_user}","gists_url":"https://api.github.com/users/mindplay-dk/gists{/gist_id}","starred_url":"https://api.github.com/users/mindplay-dk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mindplay-dk/subscriptions","organizations_url":"https://api.github.com/users/mindplay-dk/orgs","repos_url":"https://api.github.com/users/mindplay-dk/repos","events_url":"https://api.github.com/users/mindplay-dk/events{/privacy}","received_events_url":"https://api.github.com/users/mindplay-dk/received_events","type":"User","site_admin":false},"created_at":"2018-07-08T10:44:20Z","updated_at":"2018-07-08T10:44:20Z","author_association":"OWNER","body":"Note that the \"Generic Types\" section currently doesn't mention lower bounds - if we support both upper and lower bounds, will the `is` syntax suffice, or do we need something different?\r\n"}}
{"actor":{"display_login":"mindplay-dk"}}