flatten method

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

Flattens an option into a single tuple.

Implementation

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