concept property in category idris

appears as: properties, A property, property
Type-Driven Development with Idris

This is an excerpt from Manning's book Type-Driven Development with Idris.

Listing 4.11. Reading and updating properties of Vehicle

  

A property of some values is decidable if you can always say whether the property holds or not for specific values. For example, checking equality on Nat is decidable, because for any two natural numbers you can always decide whether they are equal or not.

Listing 8.8. Dec: precisely stating that a property is decidable