コード例 #1
0
 public static NonEmptyList <A> Flatten <A>(this NonEmptyList <NonEmptyList <A> > o) =>
 o.SelectMany(z => z);
コード例 #2
0
 public static NonEmptyList <A> Flatten <A>(this NonEmptyList <NonEmptyList <A> > o)
 {
     return(o.SelectMany(z => z));
 }