I need to read 2 lists to get the difference set to get a third list, where A contains what B = C does not have

前端 未结 0 1423
情书的邮戳
情书的邮戳 2021-01-29 11:59

i have this code

dif::[Int]->[Int]->[Int]
dif [] [] = []
dif (lista) (l:ls) = fun2 lista l

fun2::[Int]->Int->[Int]
fun2 [] p = []
fun2 (x:y:zs) p = i         


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