Open chshersh opened 6 years ago
These instance would be really useful!
instance Semigroup r => Semigroup (Segment r) where (<>) = liftA2 (<>) instance Monoid r => Monoid (Segment r) where mempty = pure mempty mappend = liftA2 mappend
Sorry for my late reply. The instances sound useful. Can you send a PR ?
These instance would be really useful!