{"action":"created","issue":{"url":"https://api.github.com/repos/aol/cyclops-react/issues/350","repository_url":"https://api.github.com/repos/aol/cyclops-react","labels_url":"https://api.github.com/repos/aol/cyclops-react/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/aol/cyclops-react/issues/350/comments","events_url":"https://api.github.com/repos/aol/cyclops-react/issues/350/events","html_url":"https://github.com/aol/cyclops-react/issues/350","id":186171764,"number":350,"title":"Create external Higher Kinded Type constructors for a small number of cyclops-react types","user":{"login":"johnmcclean-aol","id":9964792,"avatar_url":"https://avatars.githubusercontent.com/u/9964792?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmcclean-aol","html_url":"https://github.com/johnmcclean-aol","followers_url":"https://api.github.com/users/johnmcclean-aol/followers","following_url":"https://api.github.com/users/johnmcclean-aol/following{/other_user}","gists_url":"https://api.github.com/users/johnmcclean-aol/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmcclean-aol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmcclean-aol/subscriptions","organizations_url":"https://api.github.com/users/johnmcclean-aol/orgs","repos_url":"https://api.github.com/users/johnmcclean-aol/repos","events_url":"https://api.github.com/users/johnmcclean-aol/events{/privacy}","received_events_url":"https://api.github.com/users/johnmcclean-aol/received_events","type":"User","site_admin":false},"labels":[{"id":168369456,"url":"https://api.github.com/repos/aol/cyclops-react/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"johnmcclean-aol","id":9964792,"avatar_url":"https://avatars.githubusercontent.com/u/9964792?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmcclean-aol","html_url":"https://github.com/johnmcclean-aol","followers_url":"https://api.github.com/users/johnmcclean-aol/followers","following_url":"https://api.github.com/users/johnmcclean-aol/following{/other_user}","gists_url":"https://api.github.com/users/johnmcclean-aol/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmcclean-aol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmcclean-aol/subscriptions","organizations_url":"https://api.github.com/users/johnmcclean-aol/orgs","repos_url":"https://api.github.com/users/johnmcclean-aol/repos","events_url":"https://api.github.com/users/johnmcclean-aol/events{/privacy}","received_events_url":"https://api.github.com/users/johnmcclean-aol/received_events","type":"User","site_admin":false},"assignees":[{"login":"johnmcclean-aol","id":9964792,"avatar_url":"https://avatars.githubusercontent.com/u/9964792?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmcclean-aol","html_url":"https://github.com/johnmcclean-aol","followers_url":"https://api.github.com/users/johnmcclean-aol/followers","following_url":"https://api.github.com/users/johnmcclean-aol/following{/other_user}","gists_url":"https://api.github.com/users/johnmcclean-aol/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmcclean-aol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmcclean-aol/subscriptions","organizations_url":"https://api.github.com/users/johnmcclean-aol/orgs","repos_url":"https://api.github.com/users/johnmcclean-aol/repos","events_url":"https://api.github.com/users/johnmcclean-aol/events{/privacy}","received_events_url":"https://api.github.com/users/johnmcclean-aol/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aol/cyclops-react/milestones/27","html_url":"https://github.com/aol/cyclops-react/milestones/1.0.2","labels_url":"https://api.github.com/repos/aol/cyclops-react/milestones/27/labels","id":2080427,"number":27,"title":"1.0.2","description":null,"creator":{"login":"johnmcclean-aol","id":9964792,"avatar_url":"https://avatars.githubusercontent.com/u/9964792?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmcclean-aol","html_url":"https://github.com/johnmcclean-aol","followers_url":"https://api.github.com/users/johnmcclean-aol/followers","following_url":"https://api.github.com/users/johnmcclean-aol/following{/other_user}","gists_url":"https://api.github.com/users/johnmcclean-aol/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmcclean-aol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmcclean-aol/subscriptions","organizations_url":"https://api.github.com/users/johnmcclean-aol/orgs","repos_url":"https://api.github.com/users/johnmcclean-aol/repos","events_url":"https://api.github.com/users/johnmcclean-aol/events{/privacy}","received_events_url":"https://api.github.com/users/johnmcclean-aol/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":25,"state":"open","created_at":"2016-10-19T16:40:11Z","updated_at":"2016-11-07T13:07:28Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-10-30T22:59:47Z","updated_at":"2016-11-07T13:09:09Z","closed_at":"2016-10-31T20:40:45Z","body":"To start with \n- List\n- Stream\n- Maybe\n- Set\n\nImplement Higher on appropriate cyclops-react types (ListX, SetX, ReactiveSeq, LazyFutureStream and Maybe)\n\nFuture releases will add more. And cyclops-typeclasses will add some type classes that can work with them.\n\nexample Higher implementation for Lists, that facilitates a generalized Type Class implementations\n\n``` java\npublic final class ListType<T> implements  Higher<ListType.listx,T>,To<ListType<T>>{\n\n\n    public static <T> ListType<T> widen(List<T> list){\n        return new ListType<>(ListX.fromIterable(list));\n    }\n\n    public static <T> ListX<T> narrow(Higher<ListType.listx, T> list){\n        return ((ListType<T>)list).narrow();\n    }\n\n\n    private final ListX<T> boxed;\n\n    /**\n     * Witness type\n     */\n    public static class listx{}\n\n    public ListX<T> narrow(){\n        return boxed;\n    }\n\n}\n```\n"},"comment":{"url":"https://api.github.com/repos/aol/cyclops-react/issues/comments/258831029","html_url":"https://github.com/aol/cyclops-react/issues/350#issuecomment-258831029","issue_url":"https://api.github.com/repos/aol/cyclops-react/issues/350","id":258831029,"user":{"login":"johnmcclean-aol","id":9964792,"avatar_url":"https://avatars.githubusercontent.com/u/9964792?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmcclean-aol","html_url":"https://github.com/johnmcclean-aol","followers_url":"https://api.github.com/users/johnmcclean-aol/followers","following_url":"https://api.github.com/users/johnmcclean-aol/following{/other_user}","gists_url":"https://api.github.com/users/johnmcclean-aol/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmcclean-aol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmcclean-aol/subscriptions","organizations_url":"https://api.github.com/users/johnmcclean-aol/orgs","repos_url":"https://api.github.com/users/johnmcclean-aol/repos","events_url":"https://api.github.com/users/johnmcclean-aol/events{/privacy}","received_events_url":"https://api.github.com/users/johnmcclean-aol/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T13:09:09Z","updated_at":"2016-11-07T13:09:09Z","body":"Moved to cyclops-higherkindedtypes : https://github.com/aol/cyclops/issues/228"}}
{"actor":{"display_login":"johnmcclean-aol"}}