On Thu, Nov 28, 2013 at 07:17:58PM +0100, Moritz Heidkamp wrote: > Daniel Leslie <[email protected]> writes: > > > Go also enjoys a rather robust Channels system, which is sort of like > > Scheme's ports, only it's type-safe by design. > > How are Scheme ports not type-safe? The main difference is that Scheme > ports are limited to just a single type (i.e. characters) but that > doesn't make them type-unsafe, no? :-)
Actually, it's two types: Characters and the eof-object's type. And in Gambit, there are other ports as well, from which you can only read objects (like their directory-ports). Cheers, Peter the smartass -- http://www.more-magic.net _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
