Cartesian product of two sets that are available as lists in haskell

前端 未结 0 1860
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-17 05:51

how can I implement that fonction in Haskell? Calculate the Cartesian product of two sets that are available as lists 1 ∗Main> cProd [1..3] [’a’, ’b’] 2 [(1,’a’),(2,’a’),

相关标签:
回答
  • 消灭零回复
提交回复
热议问题