summaryrefslogtreecommitdiff
path: root/Sora/Data
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-03-01 19:53:45 -0800
committerFuwn <[email protected]>2025-03-01 19:53:45 -0800
commit774087d67eb231cb603abc73069cd74f4aafefe3 (patch)
tree8f36b1b783d0ac9845ac2485a624ff775220952d /Sora/Data
parentfeat: Development commit (diff)
downloadsora-testing-774087d67eb231cb603abc73069cd74f4aafefe3.tar.xz
sora-testing-774087d67eb231cb603abc73069cd74f4aafefe3.zip
feat: Development commit
Diffstat (limited to 'Sora/Data')
-rw-r--r--Sora/Data/Either.swift4
1 files changed, 4 insertions, 0 deletions
diff --git a/Sora/Data/Either.swift b/Sora/Data/Either.swift
new file mode 100644
index 0000000..2c2dd22
--- /dev/null
+++ b/Sora/Data/Either.swift
@@ -0,0 +1,4 @@
+enum Either<Left: Hashable, Right: Hashable>: Hashable {
+ case left(Left)
+ case right(Right)
+}