Skip to content
This repository was archived by the owner on Jan 25, 2024. It is now read-only.

Latest commit

 

History

History
53 lines (36 loc) · 2.29 KB

File metadata and controls

53 lines (36 loc) · 2.29 KB

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.