mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-20 17:18:26 +03:00
Update typedd.rst
This commit is contained in:
parent
866354fef1
commit
ecd6d47ea0
@ -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
|
||||
---------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user