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

Feature request: Symbol functions in `expr` #787

danfuzz opened this issue Nov 13, 2019 · 1 comment

Feature request: Symbol functions in `expr` #787

danfuzz opened this issue Nov 13, 2019 · 1 comment


Copy link

@danfuzz danfuzz commented Nov 13, 2019

It's great that expr allows symbols to be used as inlet values. It's unfortunate, though, that you can't actually do much with them. It'd be great if there were a set of functions which could operate on symbols, and if the comparison operators could process symbols in the expected manner.

Straw-man suggestions for functions:

  • symbol length (in characters)
  • extract nth character of symbol
  • extract range of characters from symbol
  • append / prepend character to symbol
  • concatenate symbols

This comment has been minimized.

Copy link

@Spacechild1 Spacechild1 commented Nov 14, 2019

again, [expr] is meant for mathematical expressions. there are other objects for symbol manipulation, e.g. [list fromsymbol], [list tosymbol] + various list methods.

@umlaeute umlaeute added the feature label Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.