Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] infix functions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] infix functions
Hi,

I see some pervasive functions are infix, and I'm wondering if there's
any plan to support making any arbitrary infix functions?

For instance, the Int32 (etc) modules are horrible to use cause of the
prefix functions. These are perfect candidates for being infix. And
being an OS project, there are a lot of instances where we need the
extra precision, and having to do things like add some_int32
another_int32 complex. Especially when you have to throw in
bitshifting, AND and OR, and other magic.

Jonathan