and here's the diff for a 'real world' rule I implemented: https://github.com/michaelbull/kotlin-result/compare/master....