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] OO syntax
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-08-26 (14:01)
From: Kontra, Gergely <kgergely@m...>
Subject: Re: [Caml-list] OO syntax
>> Hi all!
>> Is there a reason one couldn't directly write
>> let l = [1;2;3];;
>> l#length
>> I miss these OO-like stuff in the language.
>Jacques Garrigue wrote a libray which maps some standard modules
>in a OO way. There is no OO list yet, though, but there are already
>sets, hashtables, stacks, queues and more.
>Check it out:

Thanks. Will it be the part of the language anyway, or OO will stay just
an add-on? If it cost nothing (I think so, it does only cost in a little
compile time. Am I right?), I think it would be a nice feature. Anyway I
like the way Ruby deals with objects (and it has also nice libraries).


+-[Kontra, Gergely @ Budapest University of Technology and Economics]-+
|         Email:,          |
|  URL:    Mobile: (+36 20) 356 9656     |
+-------"Olyan langesz vagyok, hogy poroltoval kellene jarnom!"-------+
Magyar php mirror es magyar php dokumentacio:

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