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
[Bug/Feature]: (#meth) syntax is gone ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1998-08-24 (13:11)
From: boos@a...
Subject: [Bug/Feature]: (#meth) syntax is gone ?


I realize that this feature was never
documented in the reference manual (at least not in version 1.07).
But it was quite usefull for me, the main usage for it being :

  List.iter (#meth) [ obj1; obj2; obj3 ]

instead of the following :

  List.iter (fun o -> o#meth) [ obj1; obj2; obj3 ]

Will this be avaible again in the future, 
or should I start fixing my sources (or patching parser.mly :) ?

-- Christian