/────────────────────── Domain 1
/
/ /───────────── Domain 2
/ /
─────────────────────────────────────────────────────── Core operators
\
\──────────────────────────── Domain 3
\
\──────────────── Domain 4
- Proposal: SE-NNNN
- Authors: Anton Zhilin
- Review Manager: TBD
- Status: Awaiting review
Change syntax of pattern-matching versions of if and guard.
- Proposal: SE-NNNN
- Authors: Anton Zhilin
- Review Manager: TBD
- Status: Awaiting review
Change nil literal type from () to Nil.
- Proposal: TBD
- Author: Erica Sadun
- Status: TBD
- Review manager: TBD
This proposal re-architects guard case and if case grammar for unwrapping complex enumerations. It drops the case keyword from if and guard, replaces = with ~=, and introduces the := operator that combines declaration with assignment.
- Proposal: SE-NNNN
- Authors: Anton Zhilin
- Review Manager: TBD
- Status: Awaiting review
Bitwise and arithmetic operators are very different, and their precedence relationship is not obvious.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Feature 1: @mixin extension | |
| struct Pizza { | |
| var containsCheese: Bool | |
| init(cheese: Bool) { ... } | |
| func prepare() { print(self) } | |
| } | |
| struct Margherita { | |
| var pizza: Pizza | |
| init() { pizza = Pizza(cheese: true) } |
- Proposal: SE-NNNN
- Authors: David Owens II, Anton Zhilin
- Status: Pending Approval for Review
- Review manager: TBD
Typed throws annotation specifies that a function can only throw errors of a certain type:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| task<void> foo() { | |
| co_return uninlineable_mess(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package name.anton3.vkapi.generator.json | |
| import com.fasterxml.jackson.annotation.JsonUnwrapped | |
| import com.fasterxml.jackson.core.JsonParser | |
| import com.fasterxml.jackson.databind.* | |
| import com.fasterxml.jackson.databind.deser.ContextualDeserializer | |
| import com.fasterxml.jackson.databind.deser.ResolvableDeserializer | |
| import com.fasterxml.jackson.databind.deser.std.StdDeserializer | |
| import com.fasterxml.jackson.databind.node.ObjectNode | |
| import com.fasterxml.jackson.databind.node.TreeTraversingParser |