View source

abstract thx.fp.Map<K, V>(MapImpl<K, V>) from MapImpl<K, V> to MapImpl<K, V>

Available on all platforms

Class Fields

inline function bin<K, V>(k:K, v:V, lhs:Map<K, V>, rhs:Map<K, V>):Map<K, V>

inline function empty<K, V>():Map<K, V>

function fromNative<K, V>(map:IMap<K, V>, comparator:Ord<K>):Map<K, V>

inline function singleton<K, V>(k:K, v:V):Map<K, V>

Instance Fields

function delete(key:K, comparator:Ord<K>):Map<K, V>

function foldLeft<B>(b:B, f:B -> V -> B):B

function foldLeftKeys<B>(b:B, f:B -> K -> B):B

function foldLeftTuples<B>(b:B, f:B -> Tuple<K, V> -> B):B

function insert(kx:K, x:V, comparator:Ord<K>):Map<K, V>

function lookup(key:K, comparator:Ord<K>):Option<V>

function lookupTuple(key:K, comparator:Ord<K>):Option<Tuple<K, V>>

function size():Int