But lists only contain one type, so I am not sure what you want to do here. Get elements that are true for all filters? For at least one filter? There is no sub typing relationship...
Hum.. really sorry about the grammar mistakes.2013/7/7 Igor Pinheiro Leão <ivpcl@cin.ufpe.br>
IgorHi Guys,Kind regards,
sorry in upsetting you again.
Is there a way in which I can filter one list of function, one function at time, to a list of elements, declaring this and only this function.
It would be exactly like this:
specifcFilter :: [(a->Bool)] -> [a] -> [a]
where for each element of type 'a' on the second list it would exist a function on the first list that would be applied to it filtering.
--
Igor Vinícius
Graduando em Ciência da Computação
--
Igor Vinícius
Graduando em Ciência da Computação
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners