def test_sequence_map(self):
        from sebastian.core import HSeq, Point

        s1 = (HSeq(Point(a=3, c=5)) +
              HSeq([Point(d=x) for x in range(10)]) +
              HSeq(Point(a=5)))

        def double_a(point):
            if 'a' in point:
                point['a'] *= 2
            return point

        s2 = s1.map_points(double_a)

        self.assertEqual(s2[0]['a'], 6)
        self.assertEqual(s2[-1]['a'], 10)
Return the value of a result.
dataset/ETHPy150Open jtauber/sebastian/tests/test_sequences.py/TestSequences.test_sequence_map--crossover with--dataset/ETHPy150Open yourlabs/django-autocomplete-light/src/dal/views.py/BaseQuerySetView.get_result_value