On Sun, May 29, 2016 at 11:23 PM, Brent Royal-Gordon via
swift-evolution <[email protected]> wrote:
> There are *very* few conformances to Streamable in the standard library—just
> Character, String, and UnicodeScalar. I think that Streamable is for data
> that can be *directly* written to an output stream, whereas
> CustomStringConvertible is a way to convert an instance that *isn't* directly
> Streamable into something Streamable.
Right, this was the intent. The intent was that Streamable is
something that is a container of string-like data, as opposed to other
things that have-a string representation.
Dmitri
--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution