git.iko.soy/typeable/bloodhound
on master help sign in
Added deriving (Eq, Show) to DocumentParent and IndexDocumentSettings
commit91777e3f7f357396bb57cb1087e1febb6f4e7f18 authorJohn Galt <centromere@users.noreply.github.com> dateTue 21 Jul 2015, 15:40 (11 years ago) parent32f4e2b
1 file changed+2−1
src/Database/Bloodhound/Types.hs+2−1
src/Database/Bloodhound/Types.hs+2−1
@@ -461,6 +461,7 @@ data VersionControl = NoVersionControl
461461{-| 'DocumentParent' is used to specify a parent document.
462462-}
463463newtype DocumentParent = DocumentParent DocId
464+ deriving (Eq, Show)
464465
465466{-| 'IndexDocumentSettings' are special settings supplied when indexing
466467a document. For the best backwards compatiblity when new fields are
@@ -469,7 +470,7 @@ added, you should probably prefer to start with 'defaultIndexDocumentSettings'
469470data IndexDocumentSettings =
470471 IndexDocumentSettings { idsVersionControl :: VersionControl
471472 , idsParent :: Maybe DocumentParent
472− }
473+ } deriving (Eq, Show)
473474
474475{-| Reasonable default settings. Chooses no version control and no parent.
475476-}