Add intrinsics.type_is_comparable; Add sort.linear_search

This commit is contained in:
gingerBill committed 2020-05-23 14:02:21 +01:00
1 parent 99e6eba20f
commit cbfbff7240
4 files changed
+16 -1

No files matched your search

+1
View File
@@ -103,6 +103,7 @@ type_is_ordered :: proc($T: typeid) -> bool ---
type_is_ordered_numeric :: proc($T: typeid) -> bool ---
type_is_indexable :: proc($T: typeid) -> bool ---
type_is_sliceable :: proc($T: typeid) -> bool ---
type_is_comparable :: proc($T: typeid) -> bool ---
type_is_simple_compare :: proc($T: typeid) -> bool --- // easily compared using memcmp
type_is_dereferenceable :: proc($T: typeid) -> bool ---
type_is_valid_map_key :: proc($T: typeid) -> bool ---