12345678910111213141516171819202122232425262728293031323334(******************************************************************************)(* *)(* Monolith *)(* *)(* François Pottier *)(* *)(* Copyright Inria. All rights reserved. This file is distributed under the *)(* terms of the GNU Lesser General Public License as published by the Free *)(* Software Foundation, either version 3 of the License, or (at your *)(* option) any later version, as described in the file LICENSE. *)(* *)(******************************************************************************)openSpecopenSupport(* This file offers ready-made functions that help deal with tuples. *)letconstructible_triplespec1spec2spec3=map_outofTuple.unnest3Tuple.Unnest3.code(spec1***(spec2***spec3))letdeconstructible_triplespec1spec2spec3=map_intoTuple.nest3Tuple.Nest3.code(spec1***(spec2***spec3))lettriplespec1spec2spec3=ifpol(constructible_triplespec1spec2spec3)(deconstructible_triplespec1spec2spec3)