A function where the type of its return value is dependent on the value of its argument. That is, the co-domain is not fixed.

Dependent Function Type (-Type)

The type of a dependent function can be described with this notation:

If B is a constant function, then this type is reduced to ordinary function type

  • Dependent Type Theory