Skip to content

Commit

Permalink
Update typedd.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
m-rinaldi authored and gallais committed Jun 17, 2024
1 parent 866354f commit ecd6d47
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/source/typedd/typedd.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ match on:
createEmpties : {n : _} -> Vect n (Vect 0 elem)
transposeMat : {n : _} -> Vect m (Vect n elem) -> Vect n (Vect m elem)
For the same reason, we also need to change the type of ``length`` to:

.. code-block:: idris
length : {n : _} -> Vect n elem -> Nat
Chapter 4
---------

Expand Down

0 comments on commit ecd6d47

Please sign in to comment.