mirror of
https://github.com/janet-lang/janet
synced 2025-11-04 17:43:02 +00:00
Remove ==, not==, and order[<,<=,>,>=].
This unifies equality and comparison checking. Before, we had separate functions and vm opcodes for comparing general values vs. for comparing numbers, where the numberic functions were polymorphic and had special cases for handling NaNs. By unfiying them, abstract types can now better integrate with other number types and behave as keys. For now, the old functions are aliased but will eventually be removed.
This commit is contained in:
@@ -393,6 +393,8 @@ static JanetAbstractType Thread_AT = {
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user