Skip to content

Conversation

@davidchambers
Copy link
Member

eq(S.contramap.length, 2);
eq(S.contramap.toString(), 'contramap :: Contravariant f => (b -> a) -> f a -> f b');

eq(S.contramap(S.prop('length'), Math.sqrt)('Sanctuary'), 3);
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@sadasant sadasant left a comment

Choose a reason for hiding this comment

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

Looks good to me ✌

@davidchambers davidchambers force-pushed the davidchambers/type-classes branch from 3359034 to b9e408e Compare April 4, 2017 12:10
Copy link
Member

@Avaq Avaq left a comment

Choose a reason for hiding this comment

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

🍏

@davidchambers davidchambers merged commit fe13274 into master Apr 4, 2017
@davidchambers davidchambers deleted the davidchambers/type-classes branch April 4, 2017 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants