How to `traverse’ sequentially
A union type is something which can be realised as one of many (usually two) types. Either is an example in scala — Either can be Left[A] or Right[B]— a value of either type can be used in a place where we ask for an Either[A,B].
When writing our project, we wanted to pass a static sorting object all the way through our stack from the API (where it was parsed automatically) to Slick…
In a previous blog post I introduced a way to get unboxed arbitrary arity union types in scala. We can write
Most strings that you store in a traditional SQL database have a maximum length allowed. This can frequently cause problems, since this maximum length…
In my previous article Using Maybes with React-Redux I discussed the use of Maybes in javascript. If you’re not familiar with what a Maybe is then I urge you…
A few months ago I was asked to help AnyJunk rewrite their current mobile app for…