I'm trying to write something like this
[(x,y)|x<- [1,2,3], y <- [βaβ,βbβ]] => [(1,βaβ),(1,βbβ),(2,βaβ),(2,βbβ),(3,βaβ),(3,βbβ)]
[for x in [1;2;3] do for y in ['a';'b'] do yield x,y]
just another interesting way
[1;2;3] |> List.map ( fun X -> ['a';'b'] |> List.map (fun A -> X,A) )
equivalent to F #.
List.zip [1;2;3] ['a';'b';'c']