[Omake] bug in documentation?

Aleksey Nogin nogin at metaprl.org
Mon Jan 29 09:27:27 PST 2007


On 28.01.2007 15:29, Erick Tryzelaar wrote:

> I think there's a typo on this page of the documentation:
> 
> http://omake.metaprl.org/omake-pervasives.html#toc95
> 
> The description for object-foreach has this in it for a function to 
> print out an object:
> 
>   PrintObject(o) =
>      o.foreach(v, x)
>         println($(v) = $(x))
> 
> Shouldn't it be this?
> 
>   PrintObject(o) =
>      o.object-foreach(v, x)
>         println($(v) = $(x))

Fixed, thanks!

> The first one doesn't work for me, but the second does. Also, would 
> there be a chance to add this to Pervasives.om? 

I am not sure - it's probably easier to simply use printvln.

Aleksey



More information about the Omake mailing list