Mark "Justin" Waks
1 min readMar 29, 2019

--

That’s my understanding, yes — unlike current AnyVals, opaque types basically just become their underlying types at runtime.

This means they do have some limitations (for example, I gather you can’t pattern-match on them quite as you expect), but they should provide the sort of reliable efficiency that people have been looking for.

--

--

Mark "Justin" Waks
Mark "Justin" Waks

Written by Mark "Justin" Waks

Lifelong programmer and software architect, specializing in online social tools and (nowadays) Scala. Architect of Querki (“leading the small data revolution”).

No responses yet