What to stack eq with

What you implemented (rather, what you think you implemented) is a function that works only on lists of Integer s, what the assignment wants you to do is create one that works on lists of all types provided they are equality-comparable (so that your function will also work on lists of booleans or strings). You probably don't have to change a lot: Try removing the explicit type signatures from your code and ask ghci about the type that it would infer from your code ( :l and then :t deleteAll_list_comp ). Unless you use arithmetic operations or similar things, you will most likely find that your functions already work for all Eq a .

What to stack eq with

what to stack eq with

Media:

what to stack eq withwhat to stack eq withwhat to stack eq withwhat to stack eq withwhat to stack eq with

http://buy-steroids.org