Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Replace ocp:with_child_spawn/* with macros #112

Open
hauleth opened this issue Dec 5, 2018 · 0 comments
Open

Replace ocp:with_child_spawn/* with macros #112

hauleth opened this issue Dec 5, 2018 · 0 comments

Comments

@hauleth
Copy link
Contributor

hauleth commented Dec 5, 2018

While functions are nice, I think that for end user, macros could be more useful, as we could automatically add context information to the span, like:

  • module name
  • file name
  • call line
  • calling function with arity

Other languages (like Elixir) could provide their own macros on top of that "bare" functions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant