ohnosequences / compota

compota = a lot of nisperos + web interface
0 stars 1 forks source link

move to Spire monoids #10

Open eparejatobes opened 10 years ago

eparejatobes commented 10 years ago

There's no point in reinventing the wheel; if there's something that's not needed is a new Monoid data type. Move to non/spire monoids.

laughedelic commented 10 years ago

why spire and not shapeless (not sure it has monoid definition) or scalaz(-core)?

eparejatobes commented 10 years ago

Spire has the potential to become standard, is fast, and has a lot of other algebra 101 types (rig, algebra, field, etc). Also there are conversions

laughedelic commented 10 years ago

ok, then I should also switch to it in cosas or somewhere else

evdokim commented 9 years ago

@eparejatobes why we need to add a lot of dependencies from this library just for 2 lines trait? Also I think that it not a big deal to write conversion in user site

eparejatobes commented 9 years ago

Answering the first question would be too long and frustrating for me. About the second yes sure, much better to let others people do what should be done here. So, same as I said here: https://github.com/ohnosequences/compota/issues/10#issue-47258351

eparejatobes commented 9 years ago

Not resolved, reopening.