Skip to content

Commit

Permalink
Merge pull request #226 from sanctuary-js/dc-pairs
Browse files Browse the repository at this point in the history
object: replace ‘toPairs’ with ‘pairs’
  • Loading branch information
davidchambers committed May 31, 2016
2 parents 93f6d9f + 0161e94 commit 65adab8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2899,7 +2899,7 @@
return Object.keys(strMap).map(function(key) { return strMap[key]; });
});

//# toPairs :: StrMap a -> Array (Pair String a)
//# pairs :: StrMap a -> Array (Pair String a)
//.
//. Returns the key–value pairs of the given string map, in arbitrary order.
//.
Expand Down
2 changes: 1 addition & 1 deletion test/pairs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var errorEq = require('./utils').errorEq;
var S = require('..');


describe('toPairs', function() {
describe('pairs', function() {

var comparePairsAsc = function(a, b) {
return a[0] < b[0] ? -1 : a[0] > b[0] ? 1 : 0;
Expand Down

0 comments on commit 65adab8

Please sign in to comment.