let print pp_elt f ls = fprintf f "@[<2>[@ "; let _ = fold_left begin fun first elt -> if not first then fprintf f ";@ "; pp_elt f elt; false end true ls in fprintf f "@ ]@]"