[Libguestfs] [PATCH 0/2] (mainly for discussion) Add ‘return’ statement.

Richard W.M. Jones rjones at redhat.com
Sun Nov 5 17:54:00 UTC 2017


When rewriting the heavily imperative original inspection code, I
longed for a ‘return’ statement so I could keep the new code as close
as possible to the original.  OCaml of course does not have such a
statement, but it's relatively simply to implement it in the language.
The first patch does so, and the second patch rewrites a sample of the
inspection code to use it.

Rich.




More information about the Libguestfs mailing list