26 Mar
2004
26 Mar
'04
4:51 a.m.
Alex Gontcharov wrote:
I am writing a function, It's my first Haskell program in output function I will be working on [[3,4],[1,2,3,2],[3,9,9,4],[8,3,3,4] type structures I'd like to know how to index a particular element at run-time as I don't know on which element of which sublist I am at the moment in pullHelper function which starts with values !! ind p xs !!
Note that Haskell has arrays as well as lists. Arrays may be better suited to your problem. -- Glynn Clements <glynn.clements@virgin.net>