Recursion over lists

2008-02-18 Thread TOPE KAREM
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

Re: 2-days old in Haskell

2007-06-04 Thread TOPE KAREM
Thanks to all ( Stefan, Ketil and Brown). It works both on Linux and Windows. Tope On 6/2/07, Stefan O'Rear [EMAIL PROTECTED] wrote: On Fri, Jun 01, 2007 at 04:00:51PM +0200, TOPE KAREM wrote: I am very new to Haskell, and I am using this webpage as a learning source: http

2-days old in Haskell

2007-06-01 Thread TOPE KAREM
I am very new to Haskell, and I am using this webpage as a learning source: http://www.haskell.org/haskellwiki/Haskell_in_5_steps#Install_Haskell I downloaded and instal GHC and it works as was said. I tried to write my first Haskell program: prelude Hello World! Hello World, World! it works

Re: scoped tyvar

2006-10-17 Thread TOPE KAREM
Hi, After downloading Haskell 98 (current version), I tried to load stdm by typing :load stdm I kept gettin command line could not find module 'stdm' Iadded path under system variables under environment variables like this: control panel/system/Aadvanced/(under system variable)Environment