那么接下来

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module type S = sig
type t [@@immediate]
end

type t = (module S with type t = int)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
(*
Error: In this with constraint, the new definition of t
does not match its original definition in the constrained signature:
Type declarations do not match:
type t
is not included in
type t [@@immediate]
The first is not an immediate type.
*)

论文

帖子/文章

视频

值得注意的项目

有趣的项目