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
RE: [Caml-list] operator overloading
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Issac Trotts <ITrotts@I...>
Subject: RE: [Caml-list] operator overloading

> > Looking at the Google results, operator overloading has come up 
> > as a frequently discussed topic.  Still I didn't find anything 
> > very useful in the posts that Google brought up.  Can anyone 
> > recommend a way to work around OCaml's lack of operator overloading
> > when dealing with matrices, vectors, and spinors?  Is there a 
> > way to implement this with ocamlp4?
> As already someone has mentioned, you can try G'Caml: O'Caml with
> Extensional Polymorphism Extension. You can overload values
> over identifiers (including constants and operators),
> in the style of the pattern matching on types. Its experimental
> implementation is found at 
> Regards,
> --------------------------------------------------------------
> ---------
> Jun P. Furuse 					 

This looks like a very useful variant of OCaml.  Are there any plans
to merge it with the main OCaml source after the bugs are worked out?

Issac Trotts
Idol Minds

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