Re: [Scheme-reports] close-port
John Cowan 20 May 2011 04:17 UTC
Andre van Tonder scripsit:
> Scheme has many generic procedures, such as port?, read, write,
> display, cons, +, -, *, /, <, >, <=, >=, sin, etc.
True that the math procedures are generic in the sense of
representations, but they are not generic in the sense of handling
something other than numbers. Write and display are truly generic.
Cons is not generic: it simply doesn't care about the type of its
arguments. I already discussed port? as a special case.
--
How comes city and country to be filled with drones John Cowan
and rogues, our highways with hackers, and all cowan@ccil.org
places with sloth and wickedness? http://www.ccil.org/~cowan
--W. Blith, Eng. Improver Improved, 1652
_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports