Skip to content

constrain type t to unit#38

Merged
avsm merged 1 commit intomirage:masterfrom
hannesm:t-is-unit
Dec 27, 2018
Merged

constrain type t to unit#38
avsm merged 1 commit intomirage:masterfrom
hannesm:t-is-unit

Conversation

@hannesm
Copy link
Copy Markdown
Member

@hannesm hannesm commented Dec 21, 2018

there are some reasons for proposing this change
(a) all implementations satisfy this interface
(b) each unikernel will ever only have a single mclock / pclock
(c) it is more compatible with ocaml-webmachine clock interface
this change is fully backward-compatible.

//cc @linse @samoht @dinosaure

@avsm avsm merged commit 2e27c50 into mirage:master Dec 27, 2018
@avsm
Copy link
Copy Markdown
Member

avsm commented Dec 27, 2018

lgtm, merged!

avsm added a commit to avsm/opam-repository that referenced this pull request Dec 27, 2018
…wt and mirage-clock-unix (2.0.0)

CHANGES:

* Constrain the clock type `t` to `unit` to improve compatability with
  the webmachine CLOCK interface. All current implementations satisfy
  this interface so there shouldn't be an issue, but bumping the
  library major version number to reflect the interface change (mirage/mirage-clock#38 @hannesm)

* Port library to Dune from jbuilder and use `dune-release` and the builtin
  `dune.configurator` to reduce the build dependency cone (mirage/mirage-clock#39 @avsm).

* Remove unused variable warnings (mirage/mirage-clock#39 @avsm).

* Update opam package metadata to 2.0 format (mirage/mirage-clock#39 @avsm).

* Fixes to the ocamldoc comment headers for odoc compatibility (@avsm)
@hannesm hannesm deleted the t-is-unit branch October 30, 2019 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants