-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change in Core_bench interface? #37
Comments
I believe this is what the
|
What about this? :-)
Also commented here: realworldocaml/book#2714 |
If someone doesn't care about the display style, using [ Bench.Test.create ~name:"plus_one_match" (fun () ->
ignore (plus_one_match 10))
; Bench.Test.create ~name:"plus_one_if" (fun () ->
ignore (plus_one_if 10)) ]
|> Bench.bench
;; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to run the code in https://github.com/realworldocaml/examples/blob/master/code/lists-and-patterns/main.topscript#L62. However, it looks like the type signature of
Bench.bench
has changed since the example was written:The
core_bench
version I have installed is 112.35.00The text was updated successfully, but these errors were encountered: