Skip to content

alahijani/pistachio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pistachio adds case classes and fluent, type-safe pattern matching to Java


Feature not present in Scala case classes or ML datatypes
=====
Pistachio case classes support "case classes evolution" through JDK 8 default methods.
In most languages, if one adds a new case to a case class, all pattern matching statements
should be updated to take the new case into account. But in Pistachio one can simply add
a default body to the new case that probably delegates to the most appropriate pre-existing
case with appropriate parameters.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages