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

ÅÏ sometimes doesn't work correctly #191

Open
kcruijss opened this issue Apr 28, 2022 · 0 comments
Open

ÅÏ sometimes doesn't work correctly #191

kcruijss opened this issue Apr 28, 2022 · 0 comments

Comments

@kcruijss
Copy link

kcruijss commented Apr 28, 2022

There seems to be an issue in ÅÏ with certain list arguments. It seems to be an issue within the Elixir code itself instead of the list's data.

Here a way to reproduce the issue, as well as a (+2 bytes) bug-fix to prevent it:
ā¨Ć≠ÅÏžMм} to remove all vowels in a string, ignoring the leading/trailing characters. With terror as input, I'd expect trrr as output, but it's trror instead. Adding = as debug-lines shows the o is ignored instead of the trailing r: try it online.
As temp bug-fix I've added a no-op before the ÅÏ: try it online.

The --no-lazy flag doesn't seem to fix the issue unfortunately.

Found in this codegolf answer of mine.

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