triple_of_list
Lib.triple_of_list : 'a list -> 'a * 'a * 'a
Turns a three-element list into a triple.
triple_of_list [x, y, z]
returns
(x, y, z)
.
Fails if applied to a list that is not of length 3.
Lib.singleton_of_list
,
Lib.pair_of_list
, Lib.quadruple_of_list