Skip to content

Commit 252d4fa

Browse files
committed
Clarify typespecs handling
1 parent ac933f7 commit 252d4fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/pages/references/gradual-set-theoretic-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The current milestone is to implement type inference and type checking of Elixir
7272

7373
If the results are satisfactory, the next milestone will include a mechanism for defining typed structs. Elixir programs frequently pattern match on structs, which reveals information about the struct fields, but it knows nothing about their respective types. By propagating types from structs and their fields throughout the program, we will increase the type system’s ability to find errors while further straining our type system implementation. Proposals including the required changes to the language surface will be sent to the community once we reach this stage.
7474

75-
The third milestone is to introduce set-theoretic type signatures for functions. Unfortunately, the existing typespecs are not precise enough for set-theoretic types and they will be phased out of the language and moved into a separate library once this stage concludes.
75+
The third milestone is to introduce set-theoretic type signatures for functions. Unfortunately, the existing Erlang Typespecs are not precise enough for set-theoretic types and they will be phased out of the language and have their postprocessing moved into a separate library once this stage concludes.
7676

7777
## Acknowledgements
7878

0 commit comments

Comments
 (0)