Restricting sum type instance creation
With Scala sum types, you can establish type strictness. But can you restrict creation of instances of sum types? So that you can guarantee that the values they hold pertain to the types defined.
Read more →Blog posts on tech, engineering, and more.
With Scala sum types, you can establish type strictness. But can you restrict creation of instances of sum types? So that you can guarantee that the values they hold pertain to the types defined.
Read more →Scala community like others needs a platform for discussions and exchange thoughts and ideas. Above all, a platform where fellow programmers, old or new, can reach out for help and guidance, a …
Read more →While Scala allows creating defining ADTs, unfortunately all the sum types and their associated definitions have to be defined in the same file as the sealed trait (ADT). This post discusses the …
Read more →Is Confluence your documentation / knowledge-management system? Are you sick of its shortcomings? Poor and non-standard rendering. Lack of markdown support. Weird and inconsistent handling of unicode. …
Read more →A primer on Anorm to use the interesting parts - core and combinator functions, as opposed to the mundane way of reading the column from Row. The post highlights situations when you don’t have a …
Read more →