List Info

Thread: Re: "ocaml_beginners"::[] Multiple inclusion




Re: "ocaml_beginners"::[] Multiple inclusion
country flaguser name
Moldova, Republic of
2007-03-28 00:04:46

Shalom, Ronan.

RD> I have the following simplified situation:

RD>; module type B = sig
RD> type t
RD> val f : t -> ...
RD> val g : t -> ...
RD> end

RD> module type CD = sig
RD> include C
RD> include D

The most simple way is to define type t outside of
module B.

--
WBR,
dmitry mailto: gds-mlsts%40moldavcable.com">gds-mlstsmoldavcable.com

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] Multiple inclusion
country flaguser name
United States
2007-03-28 05:43:01

Hi there,

dmitry grebeniuk wrote:
> Shalom, Ronan.
>
> The most simple way is to define type t outside of
> module B
Unfortunately, I'm trying to work inside an existing framework, where
module B has already been defined. If I move t out, then I guess
anything that refers to B.t will break. In the end though, I might just
have to bite the bullet!

Cheers,

Rónán

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )