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

Function Util.brack is not used #228

Closed
ivanperez-keera opened this issue Apr 20, 2023 · 0 comments
Closed

Function Util.brack is not used #228

ivanperez-keera opened this issue Apr 20, 2023 · 0 comments
Labels
re: cosmetics Cosmetic code changes
Milestone

Comments

@ivanperez-keera
Copy link
Contributor

ivanperez-keera commented Apr 20, 2023

The function Util.brack is not used by any part of alex. A quick search through the tree can show this:

$ grep -nHre '\<brack\>' src/
src/Util.hs:16:  , brack
src/Util.hs:40:brack :: (String -> String) -> String -> String
src/Util.hs:41:brack s = char '[' . s . char ']'

Since alex doesn't expose an API and the function is not used internally, it might as well be removed from the module completely.

@andreasabel andreasabel added the re: cosmetics Cosmetic code changes label Apr 20, 2023
@andreasabel andreasabel added this to the 3.2.7.4 milestone Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
re: cosmetics Cosmetic code changes
Projects
None yet
Development

No branches or pull requests

2 participants