{"action":"created","issue":{"url":"https://api.github.com/repos/toeb/cmakepp/issues/68","labels_url":"https://api.github.com/repos/toeb/cmakepp/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/toeb/cmakepp/issues/68/comments","events_url":"https://api.github.com/repos/toeb/cmakepp/issues/68/events","html_url":"https://github.com/toeb/cmakepp/issues/68","id":56128779,"number":68,"title":"Add map function for lists","user":{"login":"neothemachine","id":530988,"avatar_url":"https://avatars.githubusercontent.com/u/530988?v=3","gravatar_id":"","url":"https://api.github.com/users/neothemachine","html_url":"https://github.com/neothemachine","followers_url":"https://api.github.com/users/neothemachine/followers","following_url":"https://api.github.com/users/neothemachine/following{/other_user}","gists_url":"https://api.github.com/users/neothemachine/gists{/gist_id}","starred_url":"https://api.github.com/users/neothemachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neothemachine/subscriptions","organizations_url":"https://api.github.com/users/neothemachine/orgs","repos_url":"https://api.github.com/users/neothemachine/repos","events_url":"https://api.github.com/users/neothemachine/events{/privacy}","received_events_url":"https://api.github.com/users/neothemachine/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-31T15:44:27Z","updated_at":"2015-02-03T10:22:22Z","closed_at":"2015-02-03T00:24:48Z","body":"I have a list of filenames without file extensions, and now I want to create two new derived lists which each add different file extensions to each list entry. E.g. in pseudocode:\r\n\r\nset(files filea fileb)\r\nset(sources lists_map(${files}, function(el) {return el ++ \".c\"}))\r\nset(headers lists_map(${files}, function(el) {return el ++ \".h\"}))"},"comment":{"url":"https://api.github.com/repos/toeb/cmakepp/issues/comments/72626765","html_url":"https://github.com/toeb/cmakepp/issues/68#issuecomment-72626765","issue_url":"https://api.github.com/repos/toeb/cmakepp/issues/68","id":72626765,"user":{"login":"neothemachine","id":530988,"avatar_url":"https://avatars.githubusercontent.com/u/530988?v=3","gravatar_id":"","url":"https://api.github.com/users/neothemachine","html_url":"https://github.com/neothemachine","followers_url":"https://api.github.com/users/neothemachine/followers","following_url":"https://api.github.com/users/neothemachine/following{/other_user}","gists_url":"https://api.github.com/users/neothemachine/gists{/gist_id}","starred_url":"https://api.github.com/users/neothemachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neothemachine/subscriptions","organizations_url":"https://api.github.com/users/neothemachine/orgs","repos_url":"https://api.github.com/users/neothemachine/repos","events_url":"https://api.github.com/users/neothemachine/events{/privacy}","received_events_url":"https://api.github.com/users/neothemachine/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T10:22:22Z","updated_at":"2015-02-03T10:22:22Z","body":"What's the `assign(var = ..)` syntax? Haven't seen that before.\r\nCan you write an example how the lambda syntax would look like with list_select?"}}