Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Maxence Guesdon <maxence.guesdon@i...>
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:
http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/classes/

-- 
Maxence Guesdon
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners