allows you to codify expectations about your data. It can be applied to functions pre & post conditions, user input validation, etc. It provides a single validation primitive for all data.
- To learn more about Kit::Contract, see Kit::Contract's documentation.
- To understand how we think about Contracts, see the Why Contracts? guide.
- To learn how to use Kit::Contract in your projects, see the Usage guide.
- Method pre / post conditions
- Named contracts
- Built-in "types" contracts
- Wikipedia introduction to DbC
- Ruby: Contracts (Egon Schiele)
- Elixir: ExContracts (JDUnity)
- Elixir: Norm (Chris Keathley)
- Elixir: Contracts for Building Reliable Systems (Chris Keathley)
Copyright (c) 2020, Nathan Appere.