Skip to content

Vincibean/JavaDependentTypes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependent Types with Java Compiled Protobufs

When Protocol Buffers (Protobufs) are compiled against Java, there's no strong relationship between the type of a Generated Message and the type of the relevant builder. Apparently, this is because Java's type system isn't strong enough to support dependent types.

This POC aims to show how it is possible to gain dependent types using Java compiled Protobufs, Scala, structural types, the "Typeclass pattern", and the "Aux pattern".

About

Gain Dependent Types with Java compiled Protobufs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages