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

Provide automatic backwards compatibility support #140

Open
2 tasks
edsko opened this issue Sep 3, 2024 · 1 comment
Open
2 tasks

Provide automatic backwards compatibility support #140

edsko opened this issue Sep 3, 2024 · 1 comment
Labels
enhancement New feature or request versioning

Comments

@edsko
Copy link
Collaborator

edsko commented Sep 3, 2024

It is of course not possible in the general case to provide a single Haskell API (bindings) that can work with different versions of the underlying C library. However, one could imagine that for simple changes, there are things we can do:

  • Provide default values for new parameters
  • Do implicit conversions for simple type changes

etc.

@edsko edsko added enhancement New feature or request versioning labels Sep 3, 2024
@edsko edsko added this to the 4: Additional features milestone Sep 3, 2024
@phadej
Copy link
Collaborator

phadej commented Sep 3, 2024

This and other multi-version related issues need a diffing and merging support (not only figure out what's different, but also how to make a whole from two - or - more inputs). I'm afraid this can be come very tricky very fast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request versioning
Projects
None yet
Development

No branches or pull requests

2 participants