A set of optics specific to sets.
all/0 | |
all/1 | Focus on all elements of a set. |
all() -> optic:optic()
See also: all/1.
all(Options) -> optic:optic()
Options = optic:variations()
Options
: Common optic options.
returns: An opaque optic record.
Focus on all elements of a set.
Example:
> optic:get([optic_sets:all()], sets:from_list([1,2,3])).
{ok,[1,2,3]}