[Haskell-cafe] elemt from list
Pajo Patak
brutalbanal at hotmail.com
Tue Jan 27 10:32:10 EST 2004
I want to return a list, from and list of lists (all integers), where is
the erroe in the code?
nthList :: [[a]] -> Int -> [a]
nthList ([x]:xs) 1 = [x]
nthList ([x]:xs) (n+1) = nthListh xs n
_________________________________________________________________
Schützen Sie Ihren Posteingang vor unerwünschten E-Mails.
http://www.msn.de/antispam/prevention/junkmailfilter Jetzt
Hotmail-Junk-Filter aktivieren!
More information about the Haskell-Cafe
mailing list