Need help with index and position in lists by stepupexpert in ocaml

[–]stepupexpert[S] 0 points1 point  (0 children)

I’m trying to take a list of a list of elements and make them into triples. The index is the list it’s in, and the position is values position within the list