Skip to content

Conversation

@FlufflesTheMicrosaur
Copy link
Contributor

This is quite incomplete, not all coercion cases are handled yet, and some stuff needs to be moved into other classes (ex, c++ operators for CCVector)

# Conflicts:
#	Alchemy/CodeChain/DefPrimitives.h
… (now also partially includes Vectors, Functions, and AtomTables, even though at the moment I dont think you can get an atom table stored in an Atom (Variable)), not completed yet. Also distinguishes between declining and erroring out in a comparison.
@FlufflesTheMicrosaur FlufflesTheMicrosaur marked this pull request as draft November 26, 2025 23:02
….) for the three different type coercion levels
…ternSubst for doubles (%r) - a bug was discovered in inequality vs equality (all versions, just using (= for example) where (not (= is NOT consistent with (!=, because due to an oversight with a shortcircuit in the code, (!= 1 1 1 0) returns False while (not (= 1 1 1 0)) returns true (essentially instead of not-ing the equality result, its instead failing if any two elements are equal, which really should be its own function
…ny elements were not equal (consistent with their documentation), to be paired with the unit tests in the last commit
…parisons

# Conflicts:
#	Alchemy/CodeChain/Functions.h
@FlufflesTheMicrosaur FlufflesTheMicrosaur marked this pull request as ready for review November 27, 2025 07:42
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.

1 participant