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

Guidance + tooling around handling functions that dispatch on a particular type #22

Open
ashton314 opened this issue May 25, 2023 · 0 comments

Comments

@ashton314
Copy link
Member

ashton314 commented May 25, 2023

See feedback from RxInfer.jl#116 and their datavars comment.

During the development of FloatTracker we ran into lots of functions like floatmin, eps, one, etc. (see TrackedFloat.jl for more examples, search "Type-based functions") that we had to wrap specifically to handle the TrackedFloatN types.

We should

  1. Improve the docs on handling functions like this in third-party code
  2. Maybe provide some tooling to make that work easier/more automatic for users of FloatTracker
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

No branches or pull requests

1 participant