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

Non-strings #47

Closed
jtrakk opened this issue Jun 14, 2021 · 4 comments
Closed

Non-strings #47

jtrakk opened this issue Jun 14, 2021 · 4 comments

Comments

@jtrakk
Copy link

jtrakk commented Jun 14, 2021

I see these functions ask for AbstractStrings. I'm curious if that is a necessary restriction, or could they also apply to AbstractVectors and other types?

@matthieugomez
Copy link
Owner

No, these functions do not ask for AbstractStrings. What made you think it was the case?

@jtrakk
Copy link
Author

jtrakk commented Jun 23, 2021

The readme says

Distances are defined for AbstractStrings

@matthieugomez
Copy link
Owner

matthieugomez commented Jun 23, 2021

It says

Distances are defined for AbstractStrings, and any iterator that define length() (e.g. graphemes, AbstractVector...)

@jtrakk
Copy link
Author

jtrakk commented Jun 23, 2021

Sorry I just misread it.

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

2 participants