Skip to content

Removed a description of curried functions #30609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions docs/SIL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -772,14 +772,6 @@ types. Function types are transformed in order to encode additional attributes:
a way as to guarantee that it is polymorphic across all possible
implementors of the protocol.

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

Layout Compatible Types
```````````````````````

Expand Down