purescript-deprecated/purescript-monoid

Rename mempty

Closed this issue · 8 comments

Sounds un-PureScript-y. @garyb suggested leaving Plus as is and picking something here when modules get renamed.

garyb commented

neutral is the best I have so far, and I don't really like that.

paf31 commented

unit? Although I'm also fine with mempty.

garyb commented

unit would conflict even more than empty would (since it's the value for Unit: unless we only provide it via monoid?) 😄

My motivation in asking is because it's inconsistent with fmap etc.

garyb commented

Yeah, and it's append, not mappend. Although append is in Semigroup so it especially wouldn't make sense as mappend!

appendId

I think the fact that this has stayed open for as long as it has suggests that we should probably close it. Thoughts?

paf31 commented

Agreed