Skip to content

Commit

Permalink
chore: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
2chevskii committed Jan 23, 2024
1 parent 5490312 commit 7346c01
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Dvchevskii.Unit

> Simple Unit type
## What is it?

This package provides a type which can only have a single instance.
While it is basically a singleton, the correct usage for it is to
represent the *absense* of a value (i.e. when you need to return **something**, which should never be used)

Basically this is a `void` which can be used as a type argument

0 comments on commit 7346c01

Please sign in to comment.