Re: [swift-evolution] Epic: Typesafe calculations

2015-12-24 Thread Stephen Christopher via swift-evolution
I have been working for a couple weeks (since the previous [newtype discussion]( https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20151207/001821.html) ) on a related pitch. There seem to me to be multiple ways to solve this problem - a newtype(esque) keyword, struct subtyping, or

Re: [swift-evolution] [Proposal] function "return" optional keyword.

2015-12-19 Thread Stephen Christopher via swift-evolution
The discussion I was remembering, comment courtesy of Chris: https://devforums.apple.com/message/1014317#1014317 (linked from https://devforums.apple.com/thread/255242) ___ swift-evolution mailing list swift-evolution@swift.org

Re: [swift-evolution] [SE-0011] Re-considering the replacement keyword for "typealias"

2015-12-19 Thread Stephen Christopher via swift-evolution
I like “requiredtype”. Step Christopher Big Nerd Ranch, LLC schristop...@bignerdranch.com On Sat, Dec 19, 2015 at 3:54 PM, Dave Abrahams via swift-evolution < swift-evolution@swift.org> wrote: > > On Dec 19, 2015, at 12:17 PM, Michael Henson via swift-evolution < > swift-evolution@swift.org>

Re: [swift-evolution] [Proposal] Property behaviors

2015-12-18 Thread Stephen Christopher via swift-evolution
> > > When do properties with behaviors get included in the memberwise >> initializer of structs or classes, if ever? Can properties with behaviors >> be initialized from init rather than with inline initializers? >> > There’s a separate discussion that mentioned allowing better control of >