codecop / social-networking-kata-free-monad

Exploring Free Monads in Java on the Social Networking Kata

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Social Networking Kata with Free Monad

Exploring Free Monads in Java on the Social Networking Kata.

Kata

The Social Networking Kata

  • users can post messages
  • users can read messages
  • users can follow users
  • users can see walls including following

Monad

On Monad

The common theme is that the monad chains operations in some specific, useful way.

Free Monad

We have talked about monads and interpreters. I said the free monad is just the combination of the two. Concretely this means the free monad provides:

  • an AST to express monadic operations;
  • an API to write interpreters that give meaning to this AST.

Articles and Presentations

Retrospective

13.2.2023

  • Gregor kommt durcheinander mit Java Generics.
  • Peter versucht nur, es zu kompilieren.
  • Java ist dafür nicht gemacht.
  • Typen gleichsetzen geht nicht, muss immer extends, kann keine Functors machen.
  • Spassig war's.
  • Peter tippt ganze Zeit, OK.
  • Wieder reinkommen und mal etwas anderes sehen, andere Sprachen bieten andere Lösungen.
  • Energie in etwas investiert, was vielleicht wo anders leichter geht?

28.2.2023

  • Gregor hat etwas gelernt durch den Scala Artikel, interessant.
  • Peter sieht, dass die Java Lösung besser sein könnte.

About

Exploring Free Monads in Java on the Social Networking Kata

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Java 89.5%Language:Scala 10.5%