@@ -18,10 +18,10 @@ newtype CausalHash = CausalHash {unCausalHash :: Hash}
1818newtype PatchHash = PatchHash { unPatchHash :: Hash }
1919 deriving stock (Eq , Ord )
2020
21- newtype CommentHash = CommentHash { unCommentHash :: Hash }
21+ newtype HistoryCommentHash = HistoryCommentHash { unHistoryCommentHash :: Hash }
2222 deriving stock (Eq , Ord )
2323
24- newtype CommentRevisionHash = CommentRevisionHash { unCommentRevisionHash :: Hash }
24+ newtype HistoryCommentRevisionHash = HistoryCommentRevisionHash { unHistoryCommentRevisionHash :: Hash }
2525 deriving stock (Eq , Ord )
2626
2727instance Show ComponentHash where
@@ -36,11 +36,11 @@ instance Show CausalHash where
3636instance Show PatchHash where
3737 show h = " PatchHash (" ++ show (unPatchHash h) ++ " )"
3838
39- instance Show CommentHash where
40- show h = " CommentHash (" ++ show (unCommentHash h) ++ " )"
39+ instance Show HistoryCommentHash where
40+ show h = " HistoryCommentHash (" ++ show (unHistoryCommentHash h) ++ " )"
4141
42- instance Show CommentRevisionHash where
43- show h = " CommentRevisionHash (" ++ show (unCommentRevisionHash h) ++ " )"
42+ instance Show HistoryCommentRevisionHash where
43+ show h = " HistoryCommentRevisionHash (" ++ show (unHistoryCommentRevisionHash h) ++ " )"
4444
4545instance From ComponentHash Text where
4646 from = from @ Hash @ Text . unComponentHash
@@ -54,11 +54,11 @@ instance From CausalHash Text where
5454instance From PatchHash Text where
5555 from = from @ Hash @ Text . unPatchHash
5656
57- instance From CommentHash Text where
58- from = from @ Hash @ Text . unCommentHash
57+ instance From HistoryCommentHash Text where
58+ from = from @ Hash @ Text . unHistoryCommentHash
5959
60- instance From CommentRevisionHash Text where
61- from = from @ Hash @ Text . unCommentRevisionHash
60+ instance From HistoryCommentRevisionHash Text where
61+ from = from @ Hash @ Text . unHistoryCommentRevisionHash
6262
6363instance From ComponentHash Hash
6464
@@ -68,9 +68,9 @@ instance From CausalHash Hash
6868
6969instance From PatchHash Hash
7070
71- instance From CommentHash Hash
71+ instance From HistoryCommentHash Hash
7272
73- instance From CommentRevisionHash Hash
73+ instance From HistoryCommentRevisionHash Hash
7474
7575instance From Hash ComponentHash
7676
@@ -80,9 +80,9 @@ instance From Hash CausalHash
8080
8181instance From Hash PatchHash
8282
83- instance From Hash CommentHash
83+ instance From Hash HistoryCommentHash
8484
85- instance From Hash CommentRevisionHash
85+ instance From Hash HistoryCommentRevisionHash
8686
8787instance From ComponentHash Hash32 where
8888 from = from @ Hash @ Hash32 . unComponentHash
@@ -108,8 +108,8 @@ instance From Hash32 CausalHash where
108108instance From Hash32 PatchHash where
109109 from = PatchHash . from @ Hash32 @ Hash
110110
111- instance From CommentHash Hash32 where
112- from = from @ Hash @ Hash32 . unCommentHash
111+ instance From HistoryCommentHash Hash32 where
112+ from = from @ Hash @ Hash32 . unHistoryCommentHash
113113
114- instance From CommentRevisionHash Hash32 where
115- from = from @ Hash @ Hash32 . unCommentRevisionHash
114+ instance From HistoryCommentRevisionHash Hash32 where
115+ from = from @ Hash @ Hash32 . unHistoryCommentRevisionHash
0 commit comments