heptagon/global/types.ml

18 lines
793 B
OCaml
Raw Normal View History

(**************************************************************************)
(* *)
(* Heptagon *)
(* *)
(* Author : Marc Pouzet *)
(* Organization : Demons, LRI, University of Paris-Sud, Orsay *)
(* *)
(**************************************************************************)
open Static
open Names
type ty =
| Tprod of ty list | Tid of longname | Tarray of ty * size_exp
2010-06-16 17:03:45 +02:00
let invalid_type = Tprod []
2010-06-16 17:03:45 +02:00
let const_array_of ty n = Tarray (ty, SConst n)