{"action":"closed","issue":{"url":"https://api.github.com/repos/argius/minestra/issues/11","labels_url":"https://api.github.com/repos/argius/minestra/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/argius/minestra/issues/11/comments","events_url":"https://api.github.com/repos/argius/minestra/issues/11/events","html_url":"https://github.com/argius/minestra/issues/11","id":108642335,"number":11,"title":"Some predicates in ImmArray are invariant","user":{"login":"argius","id":1262991,"avatar_url":"https://avatars.githubusercontent.com/u/1262991?v=3","gravatar_id":"","url":"https://api.github.com/users/argius","html_url":"https://github.com/argius","followers_url":"https://api.github.com/users/argius/followers","following_url":"https://api.github.com/users/argius/following{/other_user}","gists_url":"https://api.github.com/users/argius/gists{/gist_id}","starred_url":"https://api.github.com/users/argius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argius/subscriptions","organizations_url":"https://api.github.com/users/argius/orgs","repos_url":"https://api.github.com/users/argius/repos","events_url":"https://api.github.com/users/argius/events{/privacy}","received_events_url":"https://api.github.com/users/argius/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/argius/minestra/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"argius","id":1262991,"avatar_url":"https://avatars.githubusercontent.com/u/1262991?v=3","gravatar_id":"","url":"https://api.github.com/users/argius","html_url":"https://github.com/argius","followers_url":"https://api.github.com/users/argius/followers","following_url":"https://api.github.com/users/argius/following{/other_user}","gists_url":"https://api.github.com/users/argius/gists{/gist_id}","starred_url":"https://api.github.com/users/argius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argius/subscriptions","organizations_url":"https://api.github.com/users/argius/orgs","repos_url":"https://api.github.com/users/argius/repos","events_url":"https://api.github.com/users/argius/events{/privacy}","received_events_url":"https://api.github.com/users/argius/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/argius/minestra/milestones/1","html_url":"https://github.com/argius/minestra/milestones/v1.0.0%20beta2","labels_url":"https://api.github.com/repos/argius/minestra/milestones/1/labels","id":1326826,"number":1,"title":"v1.0.0 beta2","description":"","creator":{"login":"argius","id":1262991,"avatar_url":"https://avatars.githubusercontent.com/u/1262991?v=3","gravatar_id":"","url":"https://api.github.com/users/argius","html_url":"https://github.com/argius","followers_url":"https://api.github.com/users/argius/followers","following_url":"https://api.github.com/users/argius/following{/other_user}","gists_url":"https://api.github.com/users/argius/gists{/gist_id}","starred_url":"https://api.github.com/users/argius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/argius/subscriptions","organizations_url":"https://api.github.com/users/argius/orgs","repos_url":"https://api.github.com/users/argius/repos","events_url":"https://api.github.com/users/argius/events{/privacy}","received_events_url":"https://api.github.com/users/argius/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-09-28T13:37:03Z","updated_at":"2015-09-29T14:32:59Z","due_on":"2015-10-10T15:00:00Z","closed_at":null},"comments":0,"created_at":"2015-09-28T11:49:16Z","updated_at":"2015-09-29T14:32:59Z","closed_at":"2015-09-29T14:32:59Z","body":"In class `ImmArray`, some predicates are invariant.\r\nFor instance, `indexWhere` of `ImmArray<String>` can't accept `Predicate<CharSequence>`.\r\n\r\n```\r\nPredicate<CharSequence> pred = x -> x.length() >= 5;\r\nassertEquals(4, arr(\"java\", \"scala\", \"perl\", \"ruby\", \"python\").indexWhere(pred));\r\n// compilation error\r\n```\r\n\r\nThe signature of `indexWhere` must be `default int indexWhere(Predicate<? super T> pred)`.\r\n\r\n\r\n\r\nAs an exception, `filter` has already been a covariant predicate.\r\n"}}