{"action":"created","issue":{"url":"https://api.github.com/repos/augustss/tuple/issues/1","labels_url":"https://api.github.com/repos/augustss/tuple/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/augustss/tuple/issues/1/comments","events_url":"https://api.github.com/repos/augustss/tuple/issues/1/events","html_url":"https://github.com/augustss/tuple/pull/1","id":53148237,"number":1,"title":"New operation: prepend","user":{"login":"orlitzky","id":1432135,"avatar_url":"https://avatars.githubusercontent.com/u/1432135?v=3","gravatar_id":"","url":"https://api.github.com/users/orlitzky","html_url":"https://github.com/orlitzky","followers_url":"https://api.github.com/users/orlitzky/followers","following_url":"https://api.github.com/users/orlitzky/following{/other_user}","gists_url":"https://api.github.com/users/orlitzky/gists{/gist_id}","starred_url":"https://api.github.com/users/orlitzky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orlitzky/subscriptions","organizations_url":"https://api.github.com/users/orlitzky/orgs","repos_url":"https://api.github.com/users/orlitzky/repos","events_url":"https://api.github.com/users/orlitzky/events{/privacy}","received_events_url":"https://api.github.com/users/orlitzky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-30T21:23:36Z","updated_at":"2015-01-07T03:04:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/augustss/tuple/pulls/1","html_url":"https://github.com/augustss/tuple/pull/1","diff_url":"https://github.com/augustss/tuple/pull/1.diff","patch_url":"https://github.com/augustss/tuple/pull/1.patch"},"body":"This adds a new module supporting a \"prepend\" operation, graciously copy/pasted from the other modules. I'm also interested in \"append\" and their associated inverses -- drop-first and drop-last, so I'm looking for feedback. Does this approach make sense, or would it be better to implement \"insert\" and \"drop\" generically?\r\n"},"comment":{"url":"https://api.github.com/repos/augustss/tuple/issues/comments/68972919","html_url":"https://github.com/augustss/tuple/pull/1#issuecomment-68972919","issue_url":"https://api.github.com/repos/augustss/tuple/issues/1","id":68972919,"user":{"login":"dylex","id":106587,"avatar_url":"https://avatars.githubusercontent.com/u/106587?v=3","gravatar_id":"","url":"https://api.github.com/users/dylex","html_url":"https://github.com/dylex","followers_url":"https://api.github.com/users/dylex/followers","following_url":"https://api.github.com/users/dylex/following{/other_user}","gists_url":"https://api.github.com/users/dylex/gists{/gist_id}","starred_url":"https://api.github.com/users/dylex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylex/subscriptions","organizations_url":"https://api.github.com/users/dylex/orgs","repos_url":"https://api.github.com/users/dylex/repos","events_url":"https://api.github.com/users/dylex/events{/privacy}","received_events_url":"https://api.github.com/users/dylex/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T03:04:00Z","updated_at":"2015-01-07T03:04:00Z","body":"I'd been thinking of something like this, too. It does seem like the same class should handle both adding and removing.  Perhaps `ConsT a (b,...) (a,b,...)` and `SnocT (a,...) z (a,...,z)`?  (This would then allow building the function I want out of it: `takeUncurry3 :: (a -> b -> c -> out) -> (a, b, ...) -> (out, (d, e, ...))` though probably I should just be using `HList`.)"}}