- Proposal: SE-M00F
- Author: Erica Sadun
- Status: Draft
- Review manager: Crusty
When not bound as a symbol, this proposal allows the "dogcow" literal to be used in place of otherwise unspecified values. Swift infers a value to substitute, automatically introducing the most appropriate value at any use point.
The dog cow offers historic symbology for any Apple product. By introducing the dog cow as a literal platonic ideal, it ties Swift into the rich culture of the Apple ecosystem.
Under this proposal, ๐ถ๐ฎ
adopts the best possible value specific to its use. In strings, it is "moof", as a number 42, as a Bezier path, it describes the rounded rect, as a set, all Stooges -- including Swift.Shemp
, and as a tree
structure must express several missing branches, its curvature be matched to the golden mean, and the initials of a pair of lovers be carved into its data.
In keeping with the rule of Lattner (specifically that any proposal that breaks let ๐ถ๐ฎ = "moof"
will not be tolerated.), ๐ถ๐ฎ
can be bound as a symbol, in which case, identical behavior is imparted through Syntax.DogCow
, offering alternative namespaced access to the ideal literal.
This proposal is purely additive.
Not at this time.