🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #2711

Re: On whether C has first-class composable functions

#2711
From: Freek Wiedijk
Date: Sun, 27 Jan 1991 21:43
14 lines
1141 bytes
quale@picard.cs.wisc.edu (Douglas E. Quale) writes:

>                                                         How do I
>dynamically allocate function objects in C??

Huh?  How do you dynamically allocate NON-function objects in C??
Answer: you use a library routine called malloc.  So, all you need is a
routine called "falloc" in your library...

While the implementation of falloc clearly can't be portable, the same
holds for malloc.

Freek "the Pistol Major" Wiedijk                      E-mail: freek@fwi.uva.nl
#P:+/ = #+/P?*+/ = i<<*+/P?*+/ = +/i<<**P?*+/ = +/(i<<*P?)*+/ = +/+/(i<<*P?)**
Technical Details
Message-ID: <1611@carol.fwi.uva.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!samsung!uunet!mcsun!hp4nl!fwi.uva.nl!freek
References: <4408:Jan421:44:3391@kramden.acf.nyu.edu> <BBC.91Jan21120817@sicilia.rice.edu> <305@smds.UUCP> <1991Jan26.132913.11358@spool.cs.wisc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!samsung!uunet!mcsun!hp4nl!fwi.uva.nl!freek
From: freek@fwi.uva.nl (Freek Wiedijk)
Newsgroups: comp.lang.misc
Subject: Re: On whether C has first-class composable functions
Message-ID: <1611@carol.fwi.uva.nl>
Date: 27 Jan 91 21:43:21 GMT
References: <4408:Jan421:44:3391@kramden.acf.nyu.edu> <BBC.91Jan21120817@sicilia.rice.edu> <305@smds.UUCP> <1991Jan26.132913.11358@spool.cs.wisc.edu>
Sender: news@fwi.uva.nl
Lines: 14