🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2686

Re: On whether C has first-class composable functions

#2686
From: Karl Heuer
Date: Tue, 22 Jan 1991 20:06
12 lines
1289 bytes
In article <BBC.91Jan21120817@sicilia.rice.edu> Benjamin Chase <bbc@rice.edu> writes:
>[defend the idea that compose() should be polymorphic]

Well, if you put it that way, then C doesn't even have a way to write a
function% to add two numbers together, since you have to decide at compile-time
what the domain and range will be.

Karl W. Z. Heuer (karl@ima.isc.com or uunet!ima!karl), The Walking Lint
________
% To avoid trivial macro solutions: I want to be able to take the address of
  the resulting function.  No fair converting everything to double, either; I
  may have a machine where some large integers can't be represented as floats.
Technical Details
Message-ID: <1991Jan22.200615.4518@dirtydog.ima.isc.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!paperboy!hsdndev!spdcc!ima!dirtydog!karl
References: <442@data.UUCP> <4408:Jan421:44:3391@kramden.acf.nyu.edu> <BBC.91Jan12160209@sicilia.rice.edu> <298@smds.UUCP> <BBC.91Jan21120817@sicilia.rice.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!paperboy!hsdndev!spdcc!ima!dirtydog!karl
From: karl@ima.isc.com (Karl Heuer)
Newsgroups: comp.lang.misc
Subject: Re: On whether C has first-class composable functions
Message-ID: <1991Jan22.200615.4518@dirtydog.ima.isc.com>
Date: 22 Jan 91 20:06:15 GMT
References: <442@data.UUCP> <4408:Jan421:44:3391@kramden.acf.nyu.edu> <BBC.91Jan12160209@sicilia.rice.edu> <298@smds.UUCP> <BBC.91Jan21120817@sicilia.rice.edu>
Sender: news@dirtydog.ima.isc.com (NEWS ADMIN)
Organization: Interactive Systems
Lines: 12