{"action":"opened","issue":{"url":"https://api.github.com/repos/ldionne/hana/issues/85","labels_url":"https://api.github.com/repos/ldionne/hana/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/ldionne/hana/issues/85/comments","events_url":"https://api.github.com/repos/ldionne/hana/issues/85/events","html_url":"https://github.com/ldionne/hana/issues/85","id":85911907,"number":85,"title":"Add a variadic function object","user":{"login":"ldionne","id":700834,"avatar_url":"https://avatars.githubusercontent.com/u/700834?v=3","gravatar_id":"","url":"https://api.github.com/users/ldionne","html_url":"https://github.com/ldionne","followers_url":"https://api.github.com/users/ldionne/followers","following_url":"https://api.github.com/users/ldionne/following{/other_user}","gists_url":"https://api.github.com/users/ldionne/gists{/gist_id}","starred_url":"https://api.github.com/users/ldionne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldionne/subscriptions","organizations_url":"https://api.github.com/users/ldionne/orgs","repos_url":"https://api.github.com/users/ldionne/repos","events_url":"https://api.github.com/users/ldionne/events{/privacy}","received_events_url":"https://api.github.com/users/ldionne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ldionne/hana/labels/feature","name":"feature","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-07T15:38:00Z","updated_at":"2015-06-07T15:38:00Z","closed_at":null,"body":"Similar to `fit::variadic`. The idea is that sometimes you want interface functions to be variadic but you really need a tuple internally to process the arguments, for example in the `switchAny` example of the quick start. Instead of receiving variadic arguments and then creating a tuple, that could be handled by a combinator:\r\n\r\n```c++\r\nauto f = variadic([](auto args) { ... });\r\nf(1, 2, 3, 4); // args = [1, 2, 3, 4]\r\n```\r\n"}}