[Omake] bug in documentation?

Erick Tryzelaar erickt at dslextreme.com
Sun Jan 28 15:29:02 PST 2007


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))

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 find it pretty handy.

-e


More information about the Omake mailing list