Skip to content

Commit

Permalink
dex
Browse files Browse the repository at this point in the history
  • Loading branch information
joelberkeley committed May 8, 2022
1 parent cef668b commit 6198591
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tutorials/A Dependently-Typed Tensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ transpose : Vect m (Vect n Int) -> Vect n (Vect m Int)
```
It's exactly this kind of extra precision that we use throughout spidr when working with tensors.

## A comparison of index nesting with bulk arrays

spidr `Tensor`s are bulk arrays. This contrasts with the arrays in [Dex](https://github.com/google-research/dex-lang).

## Ergonomic dependent types

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.
Expand Down

0 comments on commit 6198591

Please sign in to comment.