Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] include with
@ 2001-08-24 21:37 Winfried Dreckmann
  2001-08-25  7:45 ` Xavier Leroy
  0 siblings, 1 reply; 2+ messages in thread
From: Winfried Dreckmann @ 2001-08-24 21:37 UTC (permalink / raw)
  To: caml-list

Andreas Rossberg wrote:

> PS: The docs seem to be somewhat `conservative' on include for
> signatures: they say the syntax is
>
>         include modtype-path
>
> but obviously it is the more general
>
>         include module-type

Is is safe to use the less conservative version? I believe it's quite
useful.

Winfried Dreckmann

-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] include with
  2001-08-24 21:37 [Caml-list] include with Winfried Dreckmann
@ 2001-08-25  7:45 ` Xavier Leroy
  0 siblings, 0 replies; 2+ messages in thread
From: Xavier Leroy @ 2001-08-25  7:45 UTC (permalink / raw)
  To: Winfried Dreckmann; +Cc: caml-list

> > PS: The docs seem to be somewhat `conservative' on include for
> > signatures: they say the syntax is
> >
> >         include modtype-path
> >
> > but obviously it is the more general
> >
> >         include module-type
> 
> Is is safe to use the less conservative version? I believe it's quite
> useful.

The documentation is wrong and will be corrected.  The intended
operation is indeed "include module-type", and that's what the
compiler implements.  Feel free to use it.

- Xavier Leroy
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-08-25  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-24 21:37 [Caml-list] include with Winfried Dreckmann
2001-08-25  7:45 ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox