Hacker News new | ask | show | jobs
by gamma3 2616 days ago
Really nice! The Result reminds me of Validation from Scala.

In Scala you return a Validation that is either a value or an error, and can pattern match on it. Also: trySomething().orElse("Default value")