IMHO this would be good alternative for @discardableResult syntax if to change it:
func foo() -> discardable Int { ... }
That would still be quite close to "discard" though.
IMHO this would be good alternative for @discardableResult syntax if to change it:
func foo() -> discardable Int { ... }
That would still be quite close to "discard" though.