Complete text about salsa base inputs

This commit is contained in:
Santiago Pastorino 2020-09-14 16:41:25 -03:00 committed by Joshua Nelson
parent 6cf849f63b
commit a7d0f3f2dd
1 changed files with 4 additions and 5 deletions

View File

@ -32,7 +32,8 @@ see its type), completions, etc.
## How does it work?
The first thing that Salsa has to do is identify the "base inputs" [^EN1].
The first thing that Salsa has to do is identify the "base inputs" that
are not something computed but given as input.
Then Salsa has to also identify intermediate, "derived" values, which are
something that the library produces, but, for each derived value there's a
@ -107,7 +108,7 @@ potentially invalidated.
A query group is a set of queries which have been defined together as a unit.
The database is formed by combining query groups. Query groups are akin to
"Salsa modules" [^EN2].
"Salsa modules" [^EN1].
A set of queries in a query group are just a set of methods in a trait.
@ -212,6 +213,4 @@ fn main() {
}
```
[^EN1]: "They are not something that you **inaubible** but something that you kinda get **inaudible** from the outside [3:23](https://youtu.be/_muY4HjSqVw?t=203).
[^EN2]: What is a Salsa module?
[^EN1]: What is a Salsa module?