Skip to main content

seq_to_map

Function seq_to_map 

Source
pub open spec fn seq_to_map<V>(s: Seq<V>, off: int) -> IMap<int, V>
Expand description
{ IMap::new(|i: int| off <= i < off + s.len(), |i: int| s[i - off]) }