{"action":"closed","issue":{"url":"https://api.github.com/repos/buaya91/basil/issues/1","repository_url":"https://api.github.com/repos/buaya91/basil","labels_url":"https://api.github.com/repos/buaya91/basil/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/buaya91/basil/issues/1/comments","events_url":"https://api.github.com/repos/buaya91/basil/issues/1/events","html_url":"https://github.com/buaya91/basil/issues/1","id":377158256,"node_id":"MDU6SXNzdWUzNzcxNTgyNTY=","number":1,"title":"Is it possible to retain the return type of ParseOps ?","user":{"login":"buaya91","id":6303687,"node_id":"MDQ6VXNlcjYzMDM2ODc=","avatar_url":"https://avatars3.githubusercontent.com/u/6303687?v=4","gravatar_id":"","url":"https://api.github.com/users/buaya91","html_url":"https://github.com/buaya91","followers_url":"https://api.github.com/users/buaya91/followers","following_url":"https://api.github.com/users/buaya91/following{/other_user}","gists_url":"https://api.github.com/users/buaya91/gists{/gist_id}","starred_url":"https://api.github.com/users/buaya91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buaya91/subscriptions","organizations_url":"https://api.github.com/users/buaya91/orgs","repos_url":"https://api.github.com/users/buaya91/repos","events_url":"https://api.github.com/users/buaya91/events{/privacy}","received_events_url":"https://api.github.com/users/buaya91/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-04T14:29:14Z","updated_at":"2018-11-25T17:43:23Z","closed_at":"2018-11-25T17:43:23Z","author_association":"OWNER","body":"It would be nice to retain the return type of each `ParseOps` at compile time, eg.\r\n\r\n```scala\r\n@ Start.getKey(\"x\").getString\r\n> res0: (Fix[ParseOps], String)\r\n```\r\n\r\nThe problem is that `Fix` does not retain the information of the tree's leaf in it's type\r\n\r\nRetaining return type provides better typesafety and **might** allow composing multiple ParseOps and map to case class automatically"}}
{"actor":{"display_login":"buaya91"}}