Skip to content

Commit

Permalink
A word on why optional empty
Browse files Browse the repository at this point in the history
  • Loading branch information
markusschlegel committed Jun 10, 2024
1 parent 82348ab commit 57dc1a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/active/clojure/lens.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,8 @@ right-most element where they were before."} merge
sequence of tuples, of a lens on the new value and lens over the
'outer' value the lens is used on.
Example:
The optional `empty` will default to `nil`, so you can nil-pun your
way to blissful oblivion:
```
(projection {(at-index 0) :a
(at-index 1) :b})
Expand Down

0 comments on commit 57dc1a7

Please sign in to comment.