Hacker News new | ask | show | jobs
by tel 4457 days ago
You can do Applicative -> Alternative and study Alternatives as Monoids of Applicatives and then lay on the difference between (<*>) and (<>) as producing a seminearring!

And then go study Monads because why not. They're kind of cool, too.

1 comments

Actually you just reminded me that I need to explain sums and products in terms of a seminearring.