cvogt / compossible

Scala Records: Extensible records and type-indexed maps

Home Page:https://www.youtube.com/watch?v=pA2js-TV1Ck

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compossible: Extensible records and type-indexed maps.

Compossible is a new, easy to use library implementing extensible
records and type-indexed maps (TMaps) based on intersection types.
Extensible records are a more modular alternative to case classes.
Type-indexed maps are type-safe maps without the need for key names.

Example usage:
src/test/scala/RecordTest.scala

src/test/scala/TMapTest.scala

Sbt setup:

resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

libraryDependencies += "org.cvogt" %% "compossible" % "0.2"

About

Scala Records: Extensible records and type-indexed maps

https://www.youtube.com/watch?v=pA2js-TV1Ck


Languages

Language:Scala 100.0%