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

Wrong result type for ŒG #84

Closed
jacobly0 opened this issue Dec 2, 2018 · 1 comment
Closed

Wrong result type for ŒG #84

jacobly0 opened this issue Dec 2, 2018 · 1 comment

Comments

@jacobly0
Copy link

jacobly0 commented Dec 2, 2018

ŒG seems to return a python string instead of a jellified python string (array of length 1 strings), and I can't even figure out a reasonable way to work around it because everything I've tried calls iterable which turns the string into a wrapped string.

@DennisMitchell
Copy link
Owner

Thank you for catching this.

Most calls on Python strings won't work as expected; they break too many things internally.

An easy way to convert a Python string into a Jelly string is ṾḊ, which turns the Python string abc into the Jelly string ”abc (which doesn't make any sense), then chops off the first character.

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