on master help sign in
Document DBSemigroup
commiteb180facd4588d19e28fe568f807460b02176a6c authorOllie Charles <ollie@ocharles.org.uk> dateWed 24 Mar 2021, 11:33 (6 years ago) parentb95dec4
1 file changed+3
src/Rel8/Type/Semigroup.hs+3
src/Rel8/Type/Semigroup.hs+3
@@ -41,8 +41,11 @@ import qualified Data.Text.Lazy as Lazy ( Text )
4141import Data.Time.Clock ( DiffTime, NominalDiffTime )
4242
4343
44+-- | The class of 'DBType's that form a semigroup. This class is purely a Rel8
45+-- concept, and exists to mirror the 'Semigroup' class.
4446type DBSemigroup :: Type -> Constraint
4547class DBType a => DBSemigroup a where
48+ -- | An associative operation.
4649 (<>.) :: Expr a -> Expr a -> Expr a
4750 infixr 6 <>.
4851