| Start |
|---|
| Cofree Empty ~~ Empty Given we have |
| Cofree (Const c) ~~ Writer c Given we have which is isomorphic to |
| Cofree Identity ~~ Stream Given we have which is isomorphic to |
| Cofree Maybe ~~ NonEmpty Given we have which is isomorphic to |
| Cofree (Writer w) ~~ WriterT w Stream Given we have which is equivalent to which can properly be written as |
| Cofree (Either e) ~~ NonEmptyT (Writer e) Given we have which is isomorphic to or, if you promise to only evaluate the log after the complete result, |
| Cofree (Reader x) ~~ Moore x Given we have which is isomorphic to |
Read Article
https://develop.horje.com/learn/1434/reference