Skip to content

Commit

Permalink
Mention These type from Haskell
Browse files Browse the repository at this point in the history
  • Loading branch information
florianpircher committed Sep 21, 2024
1 parent d32186e commit 673c8ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ A Swift package for a type `Delta<Element>` with three cases:

Such a delta value is useful to represent an inclusive OR relation for the presence of a source and a target element.
Either element (delta side) may be absent, but never both.
In other languages, this type is also known as `These`.

The type also offers useful properties for accessing either side’s element as optionals, initializing a `Delta` from optionals, and mapping methods returning transformed delta values.

0 comments on commit 673c8ec

Please sign in to comment.