Skip to content

Commit

Permalink
Extend module documentation for Data.Monoid.LCM.
Browse files Browse the repository at this point in the history
This commit adds a description of the `DistributiveLCMMonoid` subclass.
  • Loading branch information
jonathanknowles committed Mar 30, 2023
1 parent ec2c321 commit 1b5b244
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Data/Monoid/LCM.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
-- least monoid from which either argument can be subtracted with the '</>'
-- operation.
--
-- The 'LCMMonoid' class is for Abelian, /i.e./, 'Commutative' monoids.
-- For LCM monoids that are distributive, this module also provides the
-- 'DistributiveLCMMonoid' subclass of 'LCMMonoid'.
--
-- All classes in this module are for Abelian, /i.e./, 'Commutative' monoids.
--
module Data.Monoid.LCM
( LCMMonoid (..)
Expand Down

0 comments on commit 1b5b244

Please sign in to comment.