hi,how do I define a function to test whether a number is an element of a list of lists of numbers. elem :: Int -> [[Int]] -> Bool __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com