3 (* Checks parsing
of where type ... and derived form
. *)
5 signature S
= sig type t
and u
end
7 signature T
= S
where type t
= int and type u
= bool
8 and U
= S
where type t
= int and type u
= bool
12 structure A
: S
where type t
= int and type u
= bool
13 and B
: S
where type t
= int and type u
= bool
16 structure A
: S
where type t
= int and type u
= bool =
22 structure B
= A
: S
where type t
= int and type u
= bool
23 and C
= A
: S
where type t
= int and type u
= bool
25 functor F(X
: S
where type t
= int and type u
= bool) :
26 S
where type t
= int and type u
= bool =
27 X
: S
where type t
= int and type u
= bool
28 and G(Y
: S
where type t
= int and type u
= bool) :
29 S
where type t
= int and type u
= bool =
30 Y
: S
where type t
= int and type u
= bool
37 signature W
' = W
where type t
= int and type u
= int where type v
= int