CLOVIS
context
sealed class PasswordValidationError { object TooShort : PasswordValidationError() } value class Password context(Raise<PasswordValidationError>) constructor(val text: String) { init { ensure(text.length > 8) { PasswordValidationError.TooShort } } }
simon.vergauwen
CancellationException
require
catchOrThrow
Raise.catch
Either
A modern programming language that makes developers happier.