Skip to content

Comments

Make operator candidates for Enumeration RHS#496

Merged
FCO merged 1 commit intoFCO:masterfrom
jonathanstowe:issue-495
Jun 10, 2022
Merged

Make operator candidates for Enumeration RHS#496
FCO merged 1 commit intoFCO:masterfrom
jonathanstowe:issue-495

Conversation

@jonathanstowe
Copy link
Contributor

It would seem that there are more specific core operator candidates
for '==' and 'eq' with an Enumeration RHS so these won't be handled by
Red leading to suprising results.

Only implemented for equality operators (and IN,) as I'm not sure
whether any other operators make sense.

Fixes the #495

It would seem that there are more specific core operator candidates
for '==' and 'eq' with an Enumeration RHS so these won't be handled by
Red leading to suprising results.

Only implemented for equality operators (and IN,) as I'm not sure
whether any other operators make sense.

Fixes the FCO#495
@FCO
Copy link
Owner

FCO commented Jul 19, 2021

I was trying to make new operators alternatives for infix<==>(Red::Column $a, $b) and all other possibilities to set the column attribute on $b's ast-value, making it use the column defined deflator for making the query.

@FCO
Copy link
Owner

FCO commented Jul 19, 2021

I am thinking about something like this, what do you think? (that's not working yet)

@jonathanstowe
Copy link
Contributor Author

If it can be made to work like that, then all good. It's better to have it in the core of the value handling than adding new operators all the time.

@FCO
Copy link
Owner

FCO commented Jul 19, 2021

Would you like to help with that? It's being difficult to find time to that currently (I'll probably only have time for that on the weekend)

@jonathanstowe
Copy link
Contributor Author

I'll take a look, but I'm trying to have a slack week :-D

@FCO FCO merged commit eb5ed16 into FCO:master Jun 10, 2022
@FCO
Copy link
Owner

FCO commented Jun 10, 2022

Thank you very much!

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

Successfully merging this pull request may close these issues.

2 participants