@@ -6,6 +6,7 @@
6module Data.Id
6module Data.Id
@@ -62,6 +63,10 @@ coerceId :: forall a b. Id (Ambiguous a) -> Id (Ambiguous b)
62coerceId = coerce
63coerceId = coerce
63{-# INLINE coerceId #-}
64{-# INLINE coerceId #-}
66+-- | Id corresponding to UUID nil. Useful for testing etc.
67+nilId :: forall a. Id (Ambiguous a)
65-- https://kcsongor.github.io/ambiguous-tags/
70-- https://kcsongor.github.io/ambiguous-tags/
66type family Ambiguous (a :: k) :: j where
71type family Ambiguous (a :: k) :: j where
67 Ambiguous x = x
72 Ambiguous x = x