{"action":"created","issue":{"url":"https://api.github.com/repos/Soostone/uri-bytestring/issues/2","labels_url":"https://api.github.com/repos/Soostone/uri-bytestring/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Soostone/uri-bytestring/issues/2/comments","events_url":"https://api.github.com/repos/Soostone/uri-bytestring/issues/2/events","html_url":"https://github.com/Soostone/uri-bytestring/issues/2","id":69897868,"number":2,"title":"Lens support","user":{"login":"mf59816","id":216437,"avatar_url":"https://avatars.githubusercontent.com/u/216437?v=3","gravatar_id":"","url":"https://api.github.com/users/mf59816","html_url":"https://github.com/mf59816","followers_url":"https://api.github.com/users/mf59816/followers","following_url":"https://api.github.com/users/mf59816/following{/other_user}","gists_url":"https://api.github.com/users/mf59816/gists{/gist_id}","starred_url":"https://api.github.com/users/mf59816/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mf59816/subscriptions","organizations_url":"https://api.github.com/users/mf59816/orgs","repos_url":"https://api.github.com/users/mf59816/repos","events_url":"https://api.github.com/users/mf59816/events{/privacy}","received_events_url":"https://api.github.com/users/mf59816/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-21T16:53:47Z","updated_at":"2015-04-21T18:21:03Z","closed_at":null,"body":"I can (probably) write some code, but I wanted to ask your opinion first.  I see two options:\r\n\r\n1. depend on lens and use it like in e.g. snap\r\n2. provide extra package uri-bytestring-lens on top of uri-bytestring\r\n\r\nWould you accept a PR for 1.?  Did I overlook somebody having solved this already?\r\n\r\nthanks,\r\nmatthias"},"comment":{"url":"https://api.github.com/repos/Soostone/uri-bytestring/issues/comments/94894984","html_url":"https://github.com/Soostone/uri-bytestring/issues/2#issuecomment-94894984","issue_url":"https://api.github.com/repos/Soostone/uri-bytestring/issues/2","id":94894984,"user":{"login":"MichaelXavier","id":15840,"avatar_url":"https://avatars.githubusercontent.com/u/15840?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelXavier","html_url":"https://github.com/MichaelXavier","followers_url":"https://api.github.com/users/MichaelXavier/followers","following_url":"https://api.github.com/users/MichaelXavier/following{/other_user}","gists_url":"https://api.github.com/users/MichaelXavier/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelXavier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelXavier/subscriptions","organizations_url":"https://api.github.com/users/MichaelXavier/orgs","repos_url":"https://api.github.com/users/MichaelXavier/repos","events_url":"https://api.github.com/users/MichaelXavier/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelXavier/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T18:21:03Z","updated_at":"2015-04-21T18:21:03Z","body":"@mf59816 We discussed this a bit and we would want a URI.ByteString.Lens module with generic lenses. It would also be really nice to have a `Prism URI ByteString` that uses the parser/serializer provided in the main module. Lens has a great writeup of all the generic types for lens here:\r\n\r\nhttps://github.com/ekmett/lens/wiki/How-can-I-write-lenses-without-depending-on-lens%3F\r\n\r\nI may take a crack at this today if I have the time. I'll tag this ticket with the fix for everyone's review."}}