Source

ocaml-core / base / core / lib / t.ml

1
2
3
4
5
6
7
8
9
(* This module defines various abstract interfaces that are convenient when one needs a
   module that matches a bare signature with just a type.  This sometimes occurs in
   functor arguments and in interfaces. *)

module type T  = sig type t end
module type T1 = sig type 'a t end
module type T2 = sig type ('a, 'b) t end

module type T_bin = sig type t with bin_io end