GitHub - parsix/parsix: Parse, don't validate
Parsix High level parsing to ensure your input is in the right shape and satisfies all constraints that business logic requires. It is highly inspired by the work of Alexis King "Parse, don't validate", we recommend reading it even if you are unfamiliar with Haskell. What's the problem? Any non-trivial program always needs to validate external inputs. In Kotlin ecosystem it's often a mix of deserializing a stream into an object and then validate it satisfies the more complex business constraints. Most programs will perform validation in a form like: fun validateEmail(str: String): Bool /** *...