voltir / like-lib   0.1.3

GitHub

Small lib of TypeClasses to deal with AnyVal "at the edges", ie conversions to/from the wrapped type

Scala versions: 2.12 2.11
Scala.js versions: 0.6

Like Library

This is a small library that makes it easier to use AnyVal style case classes (like UserId) around the "edges" of scala - ie during serialization, or for example, for use in working with play routes or in slick column mappings. This defines a series of related "Like" typeclasses that basically define to/from functions that allow conversions from the stronger AnyVal type to the wrapped primitive type.