Hacker News new | ask | show | jobs
by willtim 3354 days ago
More generally, functor sum and products allow composition of recursive data types. The cofree comonad, which Brian describes, is a special case of a functor sum.