Module Middle.Type

A type which unifies SizedTypes and UnsizedTypes for declarations

type 'a t =
  1. | Sized of 'a SizedType.t
  2. | Unsized of UnsizedType.t
val sexp_of_t : 'a. ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
val map : ('a -> 'b) -> 'a t -> 'b t
val fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
val pp : 'a Fmt.t -> Stdlib.Format.formatter -> 'a t -> unit
val to_unsized : 'a t -> UnsizedType.t