Page MenuHomePhabricator

Provide a pre-defined function and built-in implementation for a function that checks object equality
Open, LowestPublic

Description

From the meeting today - it's likely that not all objects can be easily checked for equality - functions in particular. However in principle a generic object equality function could be created. More discussion may be needed here on what should be possible.

Event Timeline

DVrandecic subscribed.

Moving it to a later phase as it shouldn't block anything in the current one.

Jdforrester-WMF renamed this task from Builtin for object equality to Provide a pre-defined function and built-in implementation for a function that checks object equality.Aug 31 2023, 4:36 PM
Jdforrester-WMF lowered the priority of this task from Low to Lowest.

Just adding a note that I've made a user-built function aiming for this same outcome: https://www.wikifunctions.org/view/en/Z13052

At the moment it is used for some element testing where others don't seem to work (e.g. here https://www.wikifunctions.org/view/en/Z13237 I have tried both list equality and code point equality as alternative element testers). I'd appreciate if someone can show me how to solve this in a different way.