Skip to main content

SET_METHODS

Constant SET_METHODS 

Source
pub const SET_METHODS: &[&str];
Expand description

The built-in Set[E] methods this codegen lowers natively per target.

Mirrors the checker’s Set method resolution (checker.rs): add/remove/ union/intersection/difference/filter/map return the (receiver) set; contains/is_subset/is_superset/is_empty a Bool; len/length/ count an Int; to_list a List; for_each Void. contains here is the set-membership test — distinct from List.contains, disambiguated by the recv_kind = "Set" annotation.