I need a list, or other structures, that enables insert elements of
different types.
I need a list like [("A",3);("B",[2;3;4]);("A",[[3;4];[1;2]])];.
or like
let st = ref ();;
let insert b = (st:=(b,!st));;
insert ("A",3);;
insert ("B",[1;2]);;or. let st = ();; let insert b = ( let st = (b,st) );; .. Can anybody help me? -- All the best and a happy new year: Ivo -- You received this message because you are subscribed to the Google Groups "ocaml-developer" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ocaml-developer?hl=en For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html
