FSharpPlus


Map Module

Functions and values

Function or value Description

Map._item i f t

Full Usage: Map._item i f t

Parameters:
    i : 'a
    f : 'b option -> ^c
    t : Map<'a, 'b>

Returns: 'd
Modifiers: inline

Given a specific key, produces a Lens from a Map to an Option. When setting, a Some(value) will insert or replace the value into the map 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 : Map<'a, 'b>
Returns: 'd