Where is the line between using an existential vs generic?
|
|
12
|
596
|
March 13, 2025
|
How do you assign to a protocol requirement with an opaque instance?
|
|
5
|
75
|
February 21, 2025
|
How do you forward opaque inputs to default implementation outputs without a derived protocol?
|
|
2
|
123
|
February 18, 2025
|
Different returned type when using some vs any in function signature on a view
|
|
1
|
100
|
February 7, 2025
|
Opaque type as generic type constraint of another opaque type
|
|
1
|
81
|
December 4, 2024
|
Error when passing closure with any Shape to a function expecting some Shape
|
|
5
|
207
|
October 26, 2024
|
Using opaque types as @Environment variables
|
|
3
|
128
|
September 27, 2024
|
Strange compiler behaviour in implicitly opened existentials
|
|
2
|
389
|
July 3, 2024
|
Understanding Opaque Types
|
|
3
|
316
|
May 27, 2024
|
Runtime crash when calling functions with opaque return types stored as closures
|
|
6
|
1006
|
May 16, 2024
|
OpaquePointer errors with complex functions in Accelerate
|
|
17
|
558
|
May 10, 2024
|
Fussing about so called opaque and boxed types, any help will be appreciated
|
|
12
|
1035
|
April 16, 2024
|
Cannot use `nil` or `.none` with Optional<some T>
|
|
8
|
1070
|
February 17, 2024
|
Advice Needed for Making Use of Generics/Opaques/Existentials
|
|
2
|
400
|
January 29, 2024
|
Is there any way to return a *type* (not an *instance*) as an opaque type?
|
|
3
|
1111
|
January 10, 2024
|
What are Opaque Types?
|
|
2
|
1057
|
January 6, 2024
|
How do I use opaque return types with lazy sequences?
|
|
17
|
819
|
November 14, 2023
|
Create generic opaque return type dynamically
|
|
0
|
455
|
September 14, 2023
|
Compiler Error When Comparing 'some Protocol' Instances
|
|
5
|
720
|
June 14, 2023
|
When to use opaque types in variable declarations
|
|
4
|
1029
|
June 14, 2023
|
Method dispatch for opaque types
|
|
8
|
882
|
May 28, 2023
|
Segfault in "outlined init with copy"
|
|
0
|
967
|
May 12, 2023
|
Nesting Functions returning Protocol Types aren't "Invalid" in Swift 5.8
|
|
2
|
774
|
April 12, 2023
|
Property wrapper with Opaque Type
|
|
2
|
716
|
January 16, 2023
|
[Discussion] Eliding `some` in Swift 6
|
|
140
|
9849
|
November 8, 2022
|
[Pitch] - Take associated type inference one step further as compared to Swift 5.7
|
|
0
|
820
|
November 8, 2022
|
Compiler crash: error: memory read failed for 0xb3261800
|
|
0
|
1388
|
November 4, 2022
|
More problems with Swift's type system
|
|
5
|
932
|
September 11, 2022
|
Understanding how to work with View as a type
|
|
4
|
3305
|
August 26, 2022
|
Future work on opaque result types
|
|
3
|
2150
|
January 10, 2022
|