A safe and immutable alternative to
Map
which incorporates withMaybe
. Inspired by http://facebook.github.io/immutable-js/docs/#/Map
Constructs a new SafeMap
from entries
.
-
Signature
of<A>(entries: Entries<string, A>): SafeMap<A>
-
Example:
SafeMap.of([])