{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7896","repository_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7896/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7896/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7896/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/7896","id":130130305,"number":7896,"title":"Definition request: lodash/fp","user":{"login":"willfrew","id":521750,"avatar_url":"https://avatars.githubusercontent.com/u/521750?v=3","gravatar_id":"","url":"https://api.github.com/users/willfrew","html_url":"https://github.com/willfrew","followers_url":"https://api.github.com/users/willfrew/followers","following_url":"https://api.github.com/users/willfrew/following{/other_user}","gists_url":"https://api.github.com/users/willfrew/gists{/gist_id}","starred_url":"https://api.github.com/users/willfrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willfrew/subscriptions","organizations_url":"https://api.github.com/users/willfrew/orgs","repos_url":"https://api.github.com/users/willfrew/repos","events_url":"https://api.github.com/users/willfrew/events{/privacy}","received_events_url":"https://api.github.com/users/willfrew/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels/Definition:Request","name":"Definition:Request","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-01-31T14:04:41Z","updated_at":"2016-04-20T17:05:03Z","closed_at":null,"body":"In Lodash 4.X, they introduced core support for a more functional version of the library.\r\nBy importing [`'lodash/fp'`](https://github.com/lodash/lodash/tree/master/fp), you get access \"to an immutable, auto-curried, iteratee-first, data-last version.\"\r\n\r\nThe conversion is done automatically, and basically just uses their own [`rearg`](https://lodash.com/docs#rearg) method to move around the arguments in a [standard way](https://github.com/lodash/lodash/blob/master/fp/_mapping.js#L119)*.\r\n\r\nI'm pretty new to writing Typescript defintions but I hope that we wouldn't need a full-blown, modified version of the existing [`lodash.d.ts`](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/lodash/lodash.d.ts) and that we could just describe the conversion function and 'transform' the existing definition, if that's even possible.\r\n\r\n\\* It looks like there are a few [exceptions](https://github.com/lodash/lodash/blob/master/fp/_mapping.js#L133), but I don't think they'd be too problematic."},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments/212516210","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/7896#issuecomment-212516210","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7896","id":212516210,"user":{"login":"stepancar","id":2854910,"avatar_url":"https://avatars.githubusercontent.com/u/2854910?v=3","gravatar_id":"","url":"https://api.github.com/users/stepancar","html_url":"https://github.com/stepancar","followers_url":"https://api.github.com/users/stepancar/followers","following_url":"https://api.github.com/users/stepancar/following{/other_user}","gists_url":"https://api.github.com/users/stepancar/gists{/gist_id}","starred_url":"https://api.github.com/users/stepancar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepancar/subscriptions","organizations_url":"https://api.github.com/users/stepancar/orgs","repos_url":"https://api.github.com/users/stepancar/repos","events_url":"https://api.github.com/users/stepancar/events{/privacy}","received_events_url":"https://api.github.com/users/stepancar/received_events","type":"User","site_admin":false},"created_at":"2016-04-20T17:05:03Z","updated_at":"2016-04-20T17:05:03Z","body":"@artaommahe @artaommahe  @willfrew  check this [PR](https://github.com/DefinitelyTyped/DefinitelyTyped/pull/9052)\r\n please"}}