Skip to content

Commit

Permalink
Merge pull request #32 from fantasyland/davidchambers/compose
Browse files Browse the repository at this point in the history
revert breaking change to ‘compose’
  • Loading branch information
davidchambers authored Jan 23, 2022
2 parents 7f2e1f9 + e9703b0 commit cea7d80
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/internal/compose_.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
// compose :: (b -> c) -> (a -> b) -> a -> c
export default f => g => x => f (g (x));
import Z from 'sanctuary-type-classes';

import curry2 from './curry2.js';

// compose :: Semigroupoid c => c j k -> c i j -> c i k
export default curry2 (Z.compose);

0 comments on commit cea7d80

Please sign in to comment.