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

typed Equalizer #2

Open
bsr203 opened this issue Oct 30, 2019 · 0 comments
Open

typed Equalizer #2

bsr203 opened this issue Oct 30, 2019 · 0 comments

Comments

@bsr203
Copy link

bsr203 commented Oct 30, 2019

https://github.com/adithyaxx/animated-stream-list/blob/master/lib/src/myers_diff.dart#L5

Can the Equalizer interface be typed too, something like

typedef bool Equalizer<E>(E item1, E item2);

Thanks.

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