Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 389 Bytes

Conclusion.md

File metadata and controls

3 lines (2 loc) · 389 Bytes

Conclusion

Predicates allow us to describe contracts between types and to refine the values we accept as valid function arguments. They allow us to make a function safe and convenient to use at runtime and compile time by using them as auto implicit arguments, which Idris should try to construct on its own if it has enough information about the structure of a function's arguments.