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

Exploring Free Monads in Java on the Social Networking Kata

License

Notifications You must be signed in to change notification settings

codecop/social-networking-kata-free-monad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks