purescript-signal icon indicating copy to clipboard operation
purescript-signal copied to clipboard

Unlawful Monoid instance

Open YawarRaza7349 opened this issue 1 year ago • 0 comments

Signal's Monoid instance breaks the law mempty <> x = x: constant 5 has an initial value of 5, but mempty <> constant 5 has an initial value of 0. Signal should not have a Monoid instance.

YawarRaza7349 avatar Jan 08 '25 04:01 YawarRaza7349