[Haskell-cafe] elementsinlist

Jenny678 mestor1 at gmx.de
Tue Jun 13 18:32:25 EDT 2006

I search a code for 


I have a code
elements_in_List :: Eq a => [a] -> [a] -> Bool
elements_in_List [] _ = True
elements_in_List _ [] = False
elements_in_List (x:xs) (y:ys)
 | x == y = elements_in_List xs ys
 | True = elements_in_List (x:xs) ys

but it failed at 

I hope somebody can help me 
Please don't use built-in-Functions.

Thanks for Help 

View this message in context: http://www.nabble.com/elementsinlist-t1782975.html#a4855615
Sent from the Haskell - Haskell-Cafe forum at Nabble.com.

More information about the Haskell-Cafe mailing list