{"action":"created","issue":{"url":"https://api.github.com/repos/purescript/purescript/issues/1579","labels_url":"https://api.github.com/repos/purescript/purescript/issues/1579/labels{/name}","comments_url":"https://api.github.com/repos/purescript/purescript/issues/1579/comments","events_url":"https://api.github.com/repos/purescript/purescript/issues/1579/events","html_url":"https://github.com/purescript/purescript/issues/1579","id":113940217,"number":1579,"title":"Type inference issue with lenses in records","user":{"login":"garyb","id":693642,"avatar_url":"https://avatars.githubusercontent.com/u/693642?v=3","gravatar_id":"","url":"https://api.github.com/users/garyb","html_url":"https://github.com/garyb","followers_url":"https://api.github.com/users/garyb/followers","following_url":"https://api.github.com/users/garyb/following{/other_user}","gists_url":"https://api.github.com/users/garyb/gists{/gist_id}","starred_url":"https://api.github.com/users/garyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyb/subscriptions","organizations_url":"https://api.github.com/users/garyb/orgs","repos_url":"https://api.github.com/users/garyb/repos","events_url":"https://api.github.com/users/garyb/events{/privacy}","received_events_url":"https://api.github.com/users/garyb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/purescript/purescript/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/purescript/purescript/labels/typechecker","name":"typechecker","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/purescript/purescript/milestones/10","html_url":"https://github.com/purescript/purescript/milestones/0.9.0","labels_url":"https://api.github.com/repos/purescript/purescript/milestones/10/labels","id":858709,"number":10,"title":"0.9.0","description":"","creator":{"login":"paf31","id":630306,"avatar_url":"https://avatars.githubusercontent.com/u/630306?v=3","gravatar_id":"","url":"https://api.github.com/users/paf31","html_url":"https://github.com/paf31","followers_url":"https://api.github.com/users/paf31/followers","following_url":"https://api.github.com/users/paf31/following{/other_user}","gists_url":"https://api.github.com/users/paf31/gists{/gist_id}","starred_url":"https://api.github.com/users/paf31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paf31/subscriptions","organizations_url":"https://api.github.com/users/paf31/orgs","repos_url":"https://api.github.com/users/paf31/repos","events_url":"https://api.github.com/users/paf31/events{/privacy}","received_events_url":"https://api.github.com/users/paf31/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":11,"state":"open","created_at":"2014-11-08T21:18:46Z","updated_at":"2015-10-28T22:55:47Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-10-28T22:33:46Z","updated_at":"2015-10-28T23:00:14Z","closed_at":null,"body":"Not specific to lenses obviously, I assume it's to do with the treatment of fields in records generally, but encountered here: https://github.com/garyb/slamdata-notebook/blob/c56e99b5e09e279e1fabafe38659be505b393bc3/src/SlamData/Notebook/Cell/Component.purs#L82\r\n\r\nThe `_State` and `_Query` prisms are unusable if provided in the `Def` record due to an error about unifying a constrained type when trying to do anything with them.\r\n\r\nMaybe there's another issue for this already, but I wasn't sure what it falls under."},"comment":{"url":"https://api.github.com/repos/purescript/purescript/issues/comments/152023187","html_url":"https://github.com/purescript/purescript/issues/1579#issuecomment-152023187","issue_url":"https://api.github.com/repos/purescript/purescript/issues/1579","id":152023187,"user":{"login":"garyb","id":693642,"avatar_url":"https://avatars.githubusercontent.com/u/693642?v=3","gravatar_id":"","url":"https://api.github.com/users/garyb","html_url":"https://github.com/garyb","followers_url":"https://api.github.com/users/garyb/followers","following_url":"https://api.github.com/users/garyb/following{/other_user}","gists_url":"https://api.github.com/users/garyb/gists{/gist_id}","starred_url":"https://api.github.com/users/garyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garyb/subscriptions","organizations_url":"https://api.github.com/users/garyb/orgs","repos_url":"https://api.github.com/users/garyb/repos","events_url":"https://api.github.com/users/garyb/events{/privacy}","received_events_url":"https://api.github.com/users/garyb/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T23:00:14Z","updated_at":"2015-10-28T23:00:14Z","body":"Ah no I didn't, I'll give that a try.\r\n\r\nThat will be a little awkward, it'll break Halogen for one. What's the rationale?"}}