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

Can't use symbols in EEs? #3

Open
Michal-Martinek opened this issue Jun 24, 2024 · 1 comment
Open

Can't use symbols in EEs? #3

Michal-Martinek opened this issue Jun 24, 2024 · 1 comment

Comments

@Michal-Martinek
Copy link

I tried removing spaces from a string like this

for l r in String
	case Remove [l + [' ' + r]] [l + r] . Remove
trace Remove { '  a  b ' . }

But it gives me an error ERROR: expected boolean but got symbol l

I suspect the EEs are for actual computing with concrete values, but I don't see how to work with strings otherwise..

@rexim
Copy link
Member

rexim commented Jun 26, 2024

Oh yeah, you can't destructurize strings like this, sorry.

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