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
Having '<<', why to use '|>' ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-18 (20:40)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] Having '<<', why to use '|>' ?
On Tue, 2007-09-18 at 17:42 +0100, Jon Harrop wrote:

> If an OCaml front-end handled unicode with appropriate symbol settings then 
> you could use an "o" symbol to mean that infix operator. I think that is a 
> good solution, provided you use an editor that supports suitable unicode and 
> there is an easy way to enter such things.

Actually no, I tried this. I used gvim and ignored the difficulty
of entering the Unicode characters I wanted.

The problem I found was that the fonts were such that the
character was almost unreadable. And I think i tried,
for example, the high school division sign.. 

If you tried that with a 'small o' it would just look like a
small 'o' and not the composition operator.

I think this problem might be fixed with lexical coloring though!

John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: