patch_seq_map_set

Function patch_seq_map_set 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn patch_seq_map_set(stack: Stack) -> Stack
Expand description

Set a key-value pair in the map (functional style)

Stack effect: ( Map key value – Map )

Returns a new map with the key-value pair added/updated. Panics if the key type is not hashable.

§Safety

Stack must have value on top, key below, and Map at third position