Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Yelling
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Neel Krishnaswami <neelk@a...>
Subject: Re: [Caml-list] Yelling

Anton Moscal writes:
> This isn't true: you can abbrevaite the later declaration as:
>    module type BAR = (* This is a subtype of FOO *)
>      sig
>        include FOO
>        val v' : t
>      end
> AFAIK this is not documented and relatively new feature, but its
> works.

I just tried this out, and it's really cool!

Are there any plans to document this feature and make it permanent?
If so, I might try functorizing Haskell's Edison data structure
libraries (the endless copying of interfaces was the reason I gave up
the last time I tried this).

Neel Krishnaswami

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: