FSharpPlus


IReadOnlyDictionary Module

Functions and values

Function or value Description

IReadOnlyDictionary._item i f t

Full Usage: IReadOnlyDictionary._item i f t

Parameters:
Returns: 'd
Modifiers: inline

Given a specific key, produces a Lens from a IReadOnlyDictionary to an Option. When setting, a Some(value) will insert or replace the value into the dictionary at the given key. Setting a value of None will delete the value at the specified key. Works well together with non.

i : 'a
f : 'b option -> ^c
t : IReadOnlyDictionary<'a, 'b>
Returns: 'd