[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] close-port



On Thu, 19 May 2011, John Cowan wrote:

> Andy Wingo scripsit:
>
>> Why not specify `close-port' instead of `close-input-port' and
>> `close-output-port' ? Is there any benefit that having two procedures
>> when one would do, except compatibility?  (Because if it's simply for
>> compatibility, one can provide shims.)
>
> Scheme isn't big on generic procedures, ...

Scheme has many generic procedures, such as port?, read, write, display, cons, 
+, -, *, /, <, >, <=, >=, sin, etc.






_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports