SeqUtils
Value members
Concrete methods
filterOptions((1,Some('a')),(2,None),(3,Some('c'))) = List((1,'a'),(3,'c'))
filterOptions((1,Some('a')),(2,None),(3,Some('c'))) = List((1,'a'),(3,'c'))
Similar to Haskel's intersperse intersperse(",",List("A","B","C") = "A,B,C"
Similar to Haskel's intersperse intersperse(",",List("A","B","C") = "A,B,C"
transpose(List(("A",List(1,2)), ("B",List(2,3)),("C",List(4)))) = List(List(("A",1),("B",2),("C",4)), List(("A",1),("B",3),("C",4)), List(("A",2),("B",2),("C",4)), List(("A",2),("B",3),("C",4))) TODO: Generalize this function using a Monoid to return a Stream...
transpose(List(("A",List(1,2)), ("B",List(2,3)),("C",List(4)))) = List(List(("A",1),("B",2),("C",4)), List(("A",1),("B",3),("C",4)), List(("A",2),("B",2),("C",4)), List(("A",2),("B",3),("C",4))) TODO: Generalize this function using a Monoid to return a Stream...