Re: [Haskell] a quick question

2011-02-02 Thread Ramy Abdel-Azim
thanks, > Navin > ------ > *From:* Ramy Abdel-Azim > *To:* Navin Rustagi > *Cc:* Haskell@haskell.org > *Sent:* Wed, February 2, 2011 7:55:09 PM > *Subject:* Re: [Haskell] a quick question > > Missing else? > > On Wed, Feb 2, 2011 at 8:49 PM, Navin Rustagi w

Re: [Haskell] a quick question

2011-02-02 Thread Ramy Abdel-Azim
Missing else? On Wed, Feb 2, 2011 at 8:49 PM, Navin Rustagi wrote: > Hi all, > > I am stuck at a piece of code and am not able to figure out the error. > > > uptable::[[Char]]->[([Char],Int,Int,Int,Int)]->[([Char],Int,Int,Int,Int)] > uptable (xf:xs) main_array = map (\(x,y,z,r,t)-> do if x==xf t