{"action":"opened","issue":{"url":"https://api.github.com/repos/VinylRecords/Vinyl/issues/101","repository_url":"https://api.github.com/repos/VinylRecords/Vinyl","labels_url":"https://api.github.com/repos/VinylRecords/Vinyl/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/VinylRecords/Vinyl/issues/101/comments","events_url":"https://api.github.com/repos/VinylRecords/Vinyl/issues/101/events","html_url":"https://github.com/VinylRecords/Vinyl/issues/101","id":202407991,"number":101,"title":"Helper for records using type-level strings","user":{"login":"guaraqe","id":8742040,"avatar_url":"https://avatars.githubusercontent.com/u/8742040?v=3","gravatar_id":"","url":"https://api.github.com/users/guaraqe","html_url":"https://github.com/guaraqe","followers_url":"https://api.github.com/users/guaraqe/followers","following_url":"https://api.github.com/users/guaraqe/following{/other_user}","gists_url":"https://api.github.com/users/guaraqe/gists{/gist_id}","starred_url":"https://api.github.com/users/guaraqe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guaraqe/subscriptions","organizations_url":"https://api.github.com/users/guaraqe/orgs","repos_url":"https://api.github.com/users/guaraqe/repos","events_url":"https://api.github.com/users/guaraqe/events{/privacy}","received_events_url":"https://api.github.com/users/guaraqe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-22T20:36:59Z","updated_at":"2017-01-22T20:36:59Z","closed_at":null,"body":"I think it would be a nice addition to `Data.Vinyl.Derived` a function like:\r\n\r\n```\r\n(=.) :: forall proxy s a . KnownSymbol s => proxy s -> a -> FieldRec '[ '(s, a)]\r\n(=.) p x = (Proxy :: Proxy '(s,a)) =: x\r\n```\r\n\r\nWhich allows anonymous-like records to have well inferred types and be not too bad to write:\r\n\r\n```\r\nrecord =\r\n  Proxy @ \"age\"  =. 27 <+>\r\n  Proxy @ \"name\" =. \"me\" <+>\r\n  Proxy @ \"exists\" =. False\r\n```\r\n\r\nIs there something like that already? (Maybe in other module?)"}}
{"actor":{"display_login":"guaraqe"}}