Haskell: How to combine two pair of tuple into a single tuple

后端 未结 0 1202
忘掉有多难
忘掉有多难 2021-01-28 07:50

I have for let\'s say

foo :: (a,b) -> (c,d) -> (a,b,c,d)
foo (a,b) (c,d) = undefined

how should I input in the undefined

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