code: function fromPairs(pairs) {
      return Z.reduce (function(strMap, pair) {
        strMap[pair.fst] = pair.snd;
        return strMap;
      }, {}, pairs);
    }
docs: # fromPairs :: Foldable f => f (Pair String a) -> StrMap a . . Returns a string map containing the key–value pairs specified by the . given [Foldable][]. If a key appears in multiple pairs, the rightmost . pair takes precedence. . . ```javascript . > S.fromPairs ([S.Pair ('a') (1), S.Pair ('b') (2), S.Pair ('c') (3)]) . {a: 1, b: 2, c: 3} . . > S.fromPairs ([S.Pair ('x') (1), S.Pair ('x') (2)]) . {x: 2} . ```