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

Make cut method more generic #5

Closed
propensive opened this issue Jan 19, 2022 · 2 comments
Closed

Make cut method more generic #5

propensive opened this issue Jan 19, 2022 · 2 comments

Comments

@propensive
Copy link
Owner

Use a Cuttable typeclass parameterized on the type being cut, and the type used to do the cutting.

@propensive
Copy link
Owner Author

This could support cutting on either a Text or a Regex.

@propensive
Copy link
Owner Author

Implemented here and in Kaleidoscope.

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