Skip to content
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

ppx_trace #23

Merged
merged 8 commits into from
Jan 9, 2024
Merged

ppx_trace #23

merged 8 commits into from
Jan 9, 2024

Conversation

c-cube
Copy link
Owner

@c-cube c-cube commented Dec 23, 2023

this adds a ppx that can be used like that:

let%trace f x y z =
    do_sth x;
    do_sth y;
    begin
      let%trace () = "sub-span" in
      do_sth z
    end

@c-cube c-cube requested a review from ELLIOTTCABLE January 3, 2024 01:50
@c-cube c-cube merged commit 6e217e0 into main Jan 9, 2024
3 checks passed
@c-cube c-cube deleted the wip-ppx branch January 9, 2024 15:43
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.

1 participant