[Haskell-cafe] Lists of Lists
Jens Fisseler
jens.fisseler at FernUni-Hagen.de
Wed Mar 8 06:31:36 EST 2006
> How would I get the value of, lets say, the 9th object in ["4179355","
> 567412"] ?
>
> (in this case, that should return 6)
>
> Any help/adivce would be great :)
Just concatenate the list elements and index the resulting list, but
note that list indices start from 0. Nevertheless I would say this is a
strange way to index such a list.
Regards,
Jens
More information about the Haskell-Cafe
mailing list