haskell-issues
haskell-issues copied to clipboard
Control.Comonad.Cofree should have to inits what duplicate is to tails
It would be Cofree f a -> Cofree f [a]
and turn a tree into a tree of finite paths from its root to each node.
(gotta look at the following tomorrow when I'm less sleepy:)
<Gurkenglas__> Control.Comonad.Cofree should have to inits what duplicate is to tails