June 29, 2015
Release 0.3.0 of Ocf is available from the
Download page.
Changes:
- add
Ocf.Wrapper.bool and
Ocf.bool
to create options with boolean values,
- add
Ocf.Wrapper.string_map
and
Ocf.string_map
to create options whose values are maps from string to
'a,
- distinguish, using types, open and closed groups (groups and options
can only be added to open groups),
- add
Ocf.as_group to convert
an option to a (closed) group,
- to_json
wrapper
functions now have a ?with_doc: bool parameter,
- new [@ocf.doc] attribute for record fields to that the wrapper
generated by ppx extension dumps documentation strings if with_doc=true.