{"action":"closed","issue":{"url":"https://api.github.com/repos/nany-lang/nany/issues/20","repository_url":"https://api.github.com/repos/nany-lang/nany","labels_url":"https://api.github.com/repos/nany-lang/nany/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/nany-lang/nany/issues/20/comments","events_url":"https://api.github.com/repos/nany-lang/nany/issues/20/events","html_url":"https://github.com/nany-lang/nany/issues/20","id":133600970,"number":20,"title":"minimal support for generic type parameters","user":{"login":"milipili","id":5516919,"avatar_url":"https://avatars.githubusercontent.com/u/5516919?v=3","gravatar_id":"","url":"https://api.github.com/users/milipili","html_url":"https://github.com/milipili","followers_url":"https://api.github.com/users/milipili/followers","following_url":"https://api.github.com/users/milipili/following{/other_user}","gists_url":"https://api.github.com/users/milipili/gists{/gist_id}","starred_url":"https://api.github.com/users/milipili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milipili/subscriptions","organizations_url":"https://api.github.com/users/milipili/orgs","repos_url":"https://api.github.com/users/milipili/repos","events_url":"https://api.github.com/users/milipili/events{/privacy}","received_events_url":"https://api.github.com/users/milipili/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nany-lang/nany/labels/bootstrap","name":"bootstrap","color":"bfdadc"},{"url":"https://api.github.com/repos/nany-lang/nany/labels/feature","name":"feature","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"milipili","id":5516919,"avatar_url":"https://avatars.githubusercontent.com/u/5516919?v=3","gravatar_id":"","url":"https://api.github.com/users/milipili","html_url":"https://github.com/milipili","followers_url":"https://api.github.com/users/milipili/followers","following_url":"https://api.github.com/users/milipili/following{/other_user}","gists_url":"https://api.github.com/users/milipili/gists{/gist_id}","starred_url":"https://api.github.com/users/milipili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milipili/subscriptions","organizations_url":"https://api.github.com/users/milipili/orgs","repos_url":"https://api.github.com/users/milipili/repos","events_url":"https://api.github.com/users/milipili/events{/privacy}","received_events_url":"https://api.github.com/users/milipili/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/nany-lang/nany/milestones/3","html_url":"https://github.com/nany-lang/nany/milestones/0.2.x","labels_url":"https://api.github.com/repos/nany-lang/nany/milestones/3/labels","id":1754499,"number":3,"title":"0.2.x","description":"* Test Automation\r\n* Tests for all existing features\r\n* Website\r\n* Bug fixes","creator":{"login":"milipili","id":5516919,"avatar_url":"https://avatars.githubusercontent.com/u/5516919?v=3","gravatar_id":"","url":"https://api.github.com/users/milipili","html_url":"https://github.com/milipili","followers_url":"https://api.github.com/users/milipili/followers","following_url":"https://api.github.com/users/milipili/following{/other_user}","gists_url":"https://api.github.com/users/milipili/gists{/gist_id}","starred_url":"https://api.github.com/users/milipili/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milipili/subscriptions","organizations_url":"https://api.github.com/users/milipili/orgs","repos_url":"https://api.github.com/users/milipili/repos","events_url":"https://api.github.com/users/milipili/events{/privacy}","received_events_url":"https://api.github.com/users/milipili/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":6,"state":"open","created_at":"2016-05-09T07:56:16Z","updated_at":"2016-06-05T15:15:25Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-02-15T01:27:57Z","updated_at":"2016-06-05T15:15:25Z","closed_at":"2016-06-05T15:15:25Z","body":"In order to implement essential classes in the NSL, it would be nice to already have generic type parameters for classes (even if it seems easier to have it for functions)\r\n\r\nThe syntax uses `<:` and `:>`\r\n\r\n```nany\r\nclass A<:A1, A2:>\r\n{\r\n    typedef T1: A1;\r\n    typedef T2: A2;\r\n}\r\n\r\nfunc foo<:P1, P2, P3:> -> new P1<:P2, P3:>;\r\n\r\npublic func main\r\n{\r\n    ref x = foo<:A, i32, bool:>();\r\n}\r\n\r\n```"}}
{"actor":{"display_login":"milipili"}}