Skip to content

Commit b41afe3

Browse files
committed
dex
1 parent e62994b commit b41afe3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tutorials/A Dependently-Typed Tensor.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ transpose : Vect m (Vect n Int) -> Vect n (Vect m Int)
5858
```
5959
It's exactly this kind of extra precision that we use throughout spidr when working with tensors.
6060

61+
## A comparison of index nesting with bulk arrays
62+
63+
spidr `Tensor`s are bulk arrays. This contrasts with the arrays in [Dex](https://github.com/google-research/dex-lang).
64+
6165
## Ergonomic dependent types
6266

6367
There is a skill in using dependent types. Certain approaches can produce code that compiles, but is unergonomic. In this section, we'll look at a few approaches which help the compiler confirm your code is correct, as well as a few typing dead ends.

0 commit comments

Comments
 (0)