code: function getAllowedMovesFromArray(moves) {
      var from = Position.getPositionFromArray(_ramda2.default.head(moves));
      return _ramda2.default.tail(moves).map(function (to) {
          return { from: from, to: Position.getPositionFromArray(to) };
      });
  }
docs: Takes an array like:
  
  [[fromX, fromY], ...[toX, toY]]
  
  and return IMove[]