The aim is to explore the possibilities of the new feature of Java 21: ADT (Algebraic Data Types).
ADT in Java are:
- Records
- Sealed Class/Interfaces
- Pattern Matching
This repo contains use case examples as DSLs (Domain Specific Languages), data structures as Immutable Collections, or side effects as Option or Try.