{"action":"created","issue":{"url":"https://api.github.com/repos/thumphries/hgrep/issues/27","repository_url":"https://api.github.com/repos/thumphries/hgrep","labels_url":"https://api.github.com/repos/thumphries/hgrep/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/thumphries/hgrep/issues/27/comments","events_url":"https://api.github.com/repos/thumphries/hgrep/issues/27/events","html_url":"https://github.com/thumphries/hgrep/issues/27","id":263316107,"number":27,"title":"Prisms!","user":{"login":"thumphries","id":355756,"avatar_url":"https://avatars2.githubusercontent.com/u/355756?v=4","gravatar_id":"","url":"https://api.github.com/users/thumphries","html_url":"https://github.com/thumphries","followers_url":"https://api.github.com/users/thumphries/followers","following_url":"https://api.github.com/users/thumphries/following{/other_user}","gists_url":"https://api.github.com/users/thumphries/gists{/gist_id}","starred_url":"https://api.github.com/users/thumphries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thumphries/subscriptions","organizations_url":"https://api.github.com/users/thumphries/orgs","repos_url":"https://api.github.com/users/thumphries/repos","events_url":"https://api.github.com/users/thumphries/events{/privacy}","received_events_url":"https://api.github.com/users/thumphries/received_events","type":"User","site_admin":false},"labels":[{"id":707172142,"url":"https://api.github.com/repos/thumphries/hgrep/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-10-06T01:56:00Z","updated_at":"2017-10-20T09:52:23Z","closed_at":null,"author_association":"OWNER","body":"Need to write as many interesting prisms over HsDecl as we can. Import lists, export lists, patterns, bindings, use sites, weird cases I've missed thus far, etc etc.\r\n\r\nThese should be in the form `Prism' HsDecl RdrName` or `Prism' HsDecl [RdrName]` so they can be trivially added to queries."},"comment":{"url":"https://api.github.com/repos/thumphries/hgrep/issues/comments/338161126","html_url":"https://github.com/thumphries/hgrep/issues/27#issuecomment-338161126","issue_url":"https://api.github.com/repos/thumphries/hgrep/issues/27","id":338161126,"user":{"login":"bobbyrauchenberg","id":5950396,"avatar_url":"https://avatars1.githubusercontent.com/u/5950396?v=4","gravatar_id":"","url":"https://api.github.com/users/bobbyrauchenberg","html_url":"https://github.com/bobbyrauchenberg","followers_url":"https://api.github.com/users/bobbyrauchenberg/followers","following_url":"https://api.github.com/users/bobbyrauchenberg/following{/other_user}","gists_url":"https://api.github.com/users/bobbyrauchenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbyrauchenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbyrauchenberg/subscriptions","organizations_url":"https://api.github.com/users/bobbyrauchenberg/orgs","repos_url":"https://api.github.com/users/bobbyrauchenberg/repos","events_url":"https://api.github.com/users/bobbyrauchenberg/events{/privacy}","received_events_url":"https://api.github.com/users/bobbyrauchenberg/received_events","type":"User","site_admin":false},"created_at":"2017-10-20T09:52:23Z","updated_at":"2017-10-20T09:52:23Z","author_association":"NONE","body":"Hi @thumphries if you don't mind i have a lens question. I was looking at the export lists yesterday. I have the following prism:\r\n\r\n```haskell\r\n_HsModule . _2 . _Just . _unloc . folded . _unloc . _IEModuleContents . _unloc . to (compareModuleName name)\r\n```\r\nI added some debug to see the result of applying this to the module that I get from ```ParsedSource```. I can see that it's just checking the first entry in each export list. I'm guessing the issue is with how i'm using `folded`, but I'm not sure what i need to do to rectify it.\r\n\r\nSorry if this is basic stuff, but any pointers would be great :)"}}
{"actor":{"display_login":"bobbyrauchenberg"}}