Closed debug-ito closed 6 years ago
The reason is that Builder
is not instance of Eq
nor Show
.
I don't have strong opinions about your suggestion.
If you really want that instances, please make a PR.
I think that parentheses are not necessary in instance Eq
.
OK, I'll make a PR. Thanks for the comment!
Is there any particular reason why
LogStr
is not instance ofEq
orShow
? If it was, it'd be handy for me to test them in my unit tests.I think the main limitation is that
Builder
is notEq
orShow
. I suggest usingfromLogStr
to implement them.For example,