Skip to content

Commit bdabeae

Browse files
authored
Merge pull request #30609 from gribozavr/sil-rst
Removed a description of curried functions
2 parents 6f50aa4 + 05cbd97 commit bdabeae

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

docs/SIL.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -772,14 +772,6 @@ types. Function types are transformed in order to encode additional attributes:
772772
a way as to guarantee that it is polymorphic across all possible
773773
implementors of the protocol.
774774

775-
- The **fully uncurried representation** of the function type, with
776-
all of the curried argument clauses flattened into a single argument
777-
clause. For instance, a curried function ``func foo(_ x:A)(y:B) -> C``
778-
might be emitted as a function of type ``((y:B), (x:A)) -> C``. The
779-
exact representation depends on the function's `calling
780-
convention`_, which determines the exact ordering of currying
781-
clauses. Methods are treated as a form of curried function.
782-
783775
Layout Compatible Types
784776
```````````````````````
785777

0 commit comments

Comments
 (0)