Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

lodash-fp support #3

Merged
merged 4 commits into from
Aug 9, 2015
Merged

lodash-fp support #3

merged 4 commits into from
Aug 9, 2015

Conversation

megawac
Copy link
Contributor

@megawac megawac commented Aug 8, 2015

No description provided.

@megawac megawac changed the title Initial lodash-fp support lodash-fp support Aug 8, 2015

var mapper = _lodashFp.map(_lodashFp.add(1));
var result = mapper([1, 2, 3]);
_lodashFp.take(1, _lodashFp.reject(Boolean, result));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you get a second @jdalton mind sanity checking this output. It seems correct to me.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fp part? It looks good.
This is so crazy cool.

@megawac megawac force-pushed the lodash-fp branch 2 times, most recently from 91c294b to dadf7ee Compare August 8, 2015 23:39

var _lodashFpConvert2 = _interopRequireDefault(_lodashFpConvert);

var _lodashFp = (0, _lodashFpConvert2['default'])({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the 0 in (0, _lodashFpConvert2['default']) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe in case it's an eval so it would be an indirect eval?

@megawac megawac merged commit 1fea757 into master Aug 9, 2015
@megawac megawac deleted the lodash-fp branch August 14, 2015 19:53
@jadbox
Copy link

jadbox commented Oct 19, 2015

Awesome!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

3 participants