listtools.join_sublists_by_sign — Abjad v1.1.1 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »

# listtools.join_sublists_by_sign

`abjad.tools.listtools.` `join_sublists_by_sign`(l)

  Join sublists in list l by sign.

      abjad> l = [[1, 2], [3, 4], [-5, -6, -7], [-8, -9, -10], [11, 12]]
      abjad> t = listtools.join_sublists_by_sign(l)
      [[1, 2, 3, 4], [-5, -6, -7, -8, -9, -10], [11, 12]]

      abjad> l = [[1, 2], [], [], [3, 4, 5], [6, 7]]
      abjad> t = listtools.join_sublists_by_sign(l)
      [[1, 2], [], [3, 4, 5, 6, 7]]

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »