Displaying 5 results from an estimated 5 matches for "cug2010".
2017 Sep 24
0
Minimum OCaml compiler version
...phisticated" used of
modules, although I tend to think that these will just make the
code more confusing so I would push back on people trying to use if
they were being too clever. (OCaml >= 3.12 and especially >= 4.00
https://forge.ocamlcore.org/docman/view.php/77/112/leroy-cug2010.pdf
https://ocaml.org/meetings/ocaml/2012/slides/oud2012-leroy-slides.pdf)
Also it would be nice to reduce the number of warnings, especially
about the new "noalloc" syntax:
File "common_utils.ml", line 26, characters 0-85:
Warning 3: deprecated: [@@noalloc] should be u...
2018 Mar 16
0
[PATCH v2 3/5] v2v: cmdline: Replace { foo = foo } with { foo } in record expression.
See:
https://forge.ocamlcore.org/docman/view.php/77/112/leroy-cug2010.pdf
---
v2v/cmdline.ml | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/v2v/cmdline.ml b/v2v/cmdline.ml
index 6aba4afb5..fdd0f2614 100644
--- a/v2v/cmdline.ml
+++ b/v2v/cmdline.ml
@@ -627,11 +627,9 @@ read the man page virt-v2v(1).
output_format, output_alloc i...
2018 Mar 16
7
[PATCH v2 0/5] Add --print-target with machine-readable version.
This adds --print-target. In addition, v2 provides a machine-readable
version (in JSON format).
All of the record -> JSON boilerplate in this patch could be
eliminated if we moved the baseline to OCaml 4.02.
Rich.
2017 Oct 04
0
[PATCH 2/9] ocaml: Replace pattern matching { field = field } with { field }.
...the OCaml compiler sources, and is
briefer than the long form, so it makes sense to use it. Furthermore
there was one place in virt-dib where we are already using this new
style, so the old code did not compile on OCaml < 3.12.
See also:
https://forge.ocamlcore.org/docman/view.php/77/112/leroy-cug2010.pdf
---
builder/builder.ml | 22 ++++++++++------------
builder/index.ml | 19 ++++---------------
builder/index_parser.ml | 3 +--
builder/list_entries.ml | 27 +++++++--------------------
builder/simplestreams_parser.ml | 3 +--
common/mltools/curl.m...
2017 Oct 04
11
[PATCH 0/9] build: Require OCaml >= 4.02.
Per my previous email:
https://www.redhat.com/archives/libguestfs/2017-September/msg00203.html
I'd like to talk about requiring a more modern version of the OCaml
compiler.
These commits show some of the code changes which would be possible
with OCaml >= 3.12 [which it turns out we already require by accident]
and also with OCaml >= 4.02. The latter is my favoured option.
Rich.