Skip to content

Commit

Permalink
[FEAT]: Id dataclass
Browse files Browse the repository at this point in the history
  • Loading branch information
csgn committed Sep 5, 2024
1 parent ac31b46 commit 84f1e81
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main/scala/kuram/data/Id.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package kuram
package data

type Id[A] = A

object Id {
def apply[A](a: A): Id[A] = a
}

0 comments on commit 84f1e81

Please sign in to comment.