[Haskell-cafe] Matrix as list of list

Pajo Patak brutalbanal at hotmail.com
Mon Jan 26 23:50:18 EST 2004


Hello i am new to Haskell and i could need some help :)
I want to make a function getElement which returns me an Element from a 
martix, which ist represented as a list of lists, e.g. [[1,2,3] [4,5,6]] is 
a 2x3 Matrix.

The Type of the function getElement is Int->Int->[[a]]->a

Can someone help me please?

_________________________________________________________________
5 neue Buddies = 50 FreeSMS. http://messenger-mania.msn.de MSN Messenger 
empfehlen und kräftig abräumen!



More information about the Haskell-Cafe mailing list