flatten method

Option<(A, B, C, D)> flatten()

Flattens an option into a single tuple.

Implementation

Option<(A, B, C, D)> flatten() {
  return map((e) => (e.$1.$1.$1, e.$1.$1.$2, e.$1.$2, e.$2));
}