Recursion over lists

TOPE KAREM topekarem at gmail.com
Mon Feb 18 03:43:47 EST 2008


Hello everyone,

I am just learning to program in Haskell, and I found recursion very
interesting.
However, I need to write a recursive function over two lists.

The function must  check the  elements in the  two lists and  return an
element that is common to both lists if there is any.

Any assistance would be appreciated.

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20080218/80112318/attachment.htm


More information about the Glasgow-haskell-users mailing list