-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Dummy Variables #1417
Comments
Thanks for the suggestion! |
Are you aware that it is possible to create a custom operator (using Or are you suggesting this to complement the ability to do it that way, just for the convenience? |
these operators are not flexible enough, for example when we have three binary operators |
That kind of operation should definitely be possible to make as an operator though. It may indeed be more complicated than you might intuitively expect, but you can always ask for help in the discord. I suggest you go there if you have a specific scenario you'd need this mechanic for. But I'll leave this open for the reason that your suggestion could make things a little more convenient, if this is possible to implement. |
Issue type:
Short description:
A dummy variable that can be bound later so that some cards can be reused in recursing
For example, I have a list of Items
A
and an itemB
, I want to get the index ofB
withinA
. In Pseudo code we can saythen we get the index with
match_index(A, B)
. However the variable cards don't allow us to pass dummy variables(X
,Y
), instead we must pass real variables(A
,B
) so it is hard to getmatch_index(tail(X), Y)
part.I think some combinatory logic may be able to implement this, but that would be too complicated, a dummy variable can be much easier.
The text was updated successfully, but these errors were encountered: