mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 20:28:02 +00:00
glossary: type inference (#7781)
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
This commit is contained in:
parent
4b1a6ac90b
commit
f479d6227e
1 changed files with 6 additions and 1 deletions
|
@ -275,7 +275,12 @@ Closure implementation:
|
|||
|
||||
## Type Inference
|
||||
|
||||
TODO
|
||||
The process of automatically determining the types of expressions without explicit [type annotations](#type-signature) from the programmer.
|
||||
The compiler analyzes how values are used in code to deduce their types.
|
||||
|
||||
Type inference implementation:
|
||||
- new compiler: Not yet implemented
|
||||
- old compiler: Type inference is spread over multiple crates: [solve](crates/compiler/solve), [late-solve](crates/compiler/solve),[unify](crates/compiler/unify), [constrain](crates/compiler/constrain), ...
|
||||
|
||||
## Type Solving
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue