# `( )` — Group / Rows / Train

`(Y)` groups an expression, whatever it holds: `(1 2)` is `1 2`, `(x)` is `x`, and `(-)` is [`-`](https://bpl.fast.ai//glyphs/minus.html). Inside parentheses, spaces separate runs, and a line break means [`◇`](https://bpl.fast.ai//glyphs/diamond.html). Parentheses hold one expression wherever they appear, including inside brackets.

```bpl
(2×3)+4            ⍝ 10
x←2 4 9
[(+/x ÷ ≢x) ≢x]   ⍝ 5 3ₓ
(-)3               ⍝ ¯3
f←- ◇ (f)3         ⍝ ¯3
```

Parentheses group a derived function between its arguments, as in `2(+⍣3)1`. Without them, `2+⍣3 1` takes `3 1` as the operand. With only a right argument, the [token separator `⁝`](tricolon.md) keeps the literals apart without grouping: `≥⍣3⁝5`.

```bpl
2(+⍣3)1           ⍝ 7
```

`(A◇B)` is a vector of the rows `A` and `B`. Each row is a vector, even a row with one item, and rows can differ in length. `(A◇)` is a one-item vector holding the row `A`. In `(…)ₓ`, every number is exact, and fractions are floored.

```bpl
(4◇4 5◇4 5 6)  ⍝ [[4] [4 5] [4 5 6]]
(1 2◇)            ⍝ [[1 2]]
(0 1◇2 3)ₓ       ⍝ [[0 1]ₓ [2 3]ₓ]
```

`(f g)Y` is the atop `f(g Y)`, and `(f g h)Y` is the fork `(f Y)g(h Y)`. [Trains](../evaluation.md#trains) gives the rules for longer trains and dyadic calls.

```bpl
(- +/)1 2 3        ⍝ ¯6
(+/÷≢)2 4 9        ⍝ 5
```

For a scalar, use [`⊂`](left-shoe.md) on a subject or [`ˢ`](../scripts.md#making-a-scalar) on a subject or function. [Types of brackets](../bracket-types.md) compares parentheses with brackets and braces.
