let typ_l (l: P.union_typ) = {
  P.name = "__tagged__" ^ l.P.name;
  P.fields = P.([("tag", TBase TUInt32); ("union", TUnion l)]);
}
let typ_l (l: P.union_typ) =
{
  P.name = "__tagged__" ^ l.P.name;
  P.fields = let open P in [("tag", TBase TUInt32); ("union", TUnion l)]
}
FStar.TaggedUnion.fst.checked
prims.fst.checked FStar.UInt32.fsti.checked FStar.Pointer.fst.checked FStar.Pervasives.Native.fst.checked FStar.Pervasives.fsti.checked FStar.List.Tot.fst.checked FStar.HyperStack.ST.fsti.checked FStar.HyperStack.fst.checked
FStar.TaggedUnion.fst
FStar.Pointer.Base.union_typ FStar.Pointer.Base.Mkstruct_typ Prims.op_Hat FStar.Pointer.Base.__proj__Mkstruct_typ__item__name Prims.Cons FStar.Pervasives.Native.tuple2 Prims.string FStar.Pointer.Base.typ FStar.Pervasives.Native.Mktuple2 FStar.Pointer.Base.TBase FStar.Pointer.Base.TUInt32 FStar.Pointer.Base.TUnion Prims.Nil FStar.Pointer.Base.struct_typ
(*
   Copyright 2008-2018 Microsoft Research

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*)
module FStar.TaggedUnion

module P = FStar.Pointer
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST

(** Code of a tagged union *)
val typ_l : l: FStar.Pointer.Base.union_typ -> FStar.Pointer.Base.struct_typ
l: FStar.Pointer.Base.union_typ -> FStar.Pointer.Base.struct_typ