From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 107f24,626a0a064b320310 X-Google-Attributes: gid107f24,public X-Google-Thread: f4fd2,626a0a064b320310 X-Google-Attributes: gidf4fd2,public X-Google-Thread: 10259a,626a0a064b320310 X-Google-Attributes: gid10259a,public X-Google-Thread: 103d24,626a0a064b320310 X-Google-Attributes: gid103d24,public X-Google-Thread: 1164ba,626a0a064b320310 X-Google-Attributes: gid1164ba,public X-Google-Thread: 114809,626a0a064b320310 X-Google-Attributes: gid114809,public X-Google-Thread: 103376,ea8ea502d35ca2ce X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-05-16 20:56:27 PST Path: archiver1.sj.google.com!newsfeed.google.com!sn-xit-02!supernews.com!sienna.impulse.net!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsxfer.eecs.umich.edu!news.bu.edu!newshost.Dartmouth.EDU!not-for-mail From: "FM" Newsgroups: comp.lang.ada,comp.lang.lisp,comp.lang.smalltalk,comp.lang.basic,comp.lang.functional,comp.lang.scheme,comp.lang.perl Subject: Re: Beginner's Language? Date: Wed, 16 May 2001 23:07:37 -0400 Organization: Dartmouth College, Hanover, NH, USA Message-ID: <9dvfe7$7t6$1@merrimack.Dartmouth.EDU> References: <9cukad$nn68@news-dxb> <9d6b6e$1bt$1@nh.pace.co.uk> <87snihxiwc.fsf@frown.here> <9dbi83$sji$1@nh.pace.co.uk> <87heyu7cqd.fsf@frown.here> <9dc20p$hh15e$1@ID-37382.news.dfncis.de> <3B003CA2.D24D083C@research.bell-labs.com> <3b02a7d0$1@news.microsoft.com> <3B02E7E3.D3640D53@research.bell-labs.com> <07a6gt8v3c5vd229vqn7gpg5e4fmlq19r5@4ax.com> NNTP-Posting-Host: north-dhcp-235.dartmouth.edu X-Trace: merrimack.Dartmouth.EDU 990068999 8102 129.170.146.235 (17 May 2001 03:09:59 GMT) X-Complaints-To: abuse@Dartmouth.EDU NNTP-Posting-Date: 17 May 2001 03:09:59 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.sj.google.com comp.lang.ada:7604 comp.lang.lisp:10201 comp.lang.smalltalk:9751 comp.lang.functional:5690 comp.lang.scheme:3868 comp.lang.perl:2796 Date: 2001-05-17T03:09:59+00:00 List-Id: wrote: > On Wed, 16 May 2001 16:49:39 -0400, Matthias Blume > wrote: > > >is pointless, and I DO NOT agree about functions. In C functions are function > >pointers, and they are completely first-class because they can be used "as > > In C, a function has to have a name, and it can't be instantiated at run time > from data available only at run time. That's a completely different issue. Type "int" is a finite set of values (as every integral type in C is) and you can say that it's always instantiated from data avaiable at compile time as well. If you see a closure as a function/environment pair, then the "function" part of the closure is static as well. There's nothing first-class about being able to instantiate at runtime anyway. On the other hand, there's something odd about calling functions first-class in C. I'd rather phrase it "function pointers are first-class values in C." Then again, I'd do the same for Common Lisp. Dan.