summaryrefslogtreecommitdiff
path: root/docs/type_system/unique.md
blob: 30d0812e99849ed3319e8ec25c2d285876273ebc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Unique

---

A type based on a complete template or an alias that is not interchangeable with what it is based on

## \`unique

# Example

```text
Inches `unique U64

Centimeters `unique U64

i : Inches $ 1

c : Centimeters $ 1

i = c // Type Error
```