🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.sci.mathematik
Article #180

Re: [HJ]Re: Zahl^0

#180
From: Peter Niessen
Date: Sun, 08 Jun 2003 21:49
26 lines
2908 bytes
"David Kastrup" <dak@gnu.org> schrieb
> "Peter Niessen" <peter_niessen@t-online.de> writes:
>
> > Programmieren ohne Rekursion ist ja nun wirklich �de!
>
> Wenn eine Funktion sich nicht explizit selber aufrufen kann?  Etwa,
> weil sie nur eine anonyme Funktion ist und keinen Namen h�tte, unter
> dem sie sich selbst bekannt w�re?
>
> Eine kleines St�ck Scheme:
>
> ((lambda (f n) (f f n))
>  (lambda (f n) (if (< n 1) 1 (* n (f f (- n 1)))))
>  5)

Hi David!
Musst Du direkt mit dem dicken Hammer draufhauen?
Ist doch ein alter Geheimtrick von LISP-Programmierern.
Verrate doch nicht die sch�nsten Tricks :-))
Und wie bauen wir aus Lambda ne "normale" Funktion ?
Nein ich sag es nicht! Und wieso nimmst du eigentlich "if" ?
Ist das so mit Scheme? Unter Lisp ist das ein "Stilbruch"
ausser "cond" kommt mir da nix ins Haus!
aber lassen wir HJ mal knobeln ob Er mit sowas klarkommt :-))
freundliche Gr�sse Peter
Technical Details
Message-ID: <bc0b13$k8j$05$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <3edd0ac8$0$20558$91cee783@newsreader01.highway.telekom.at> <3eddb916$0$1053$5402220f@news.sunrise.ch> <bbkk5m$7tu$1@rex.ip-plus.net> <3eddf247$0$1041$5402220f@news.sunrise.ch> <bbld16$at0$2@rex.ip-plus.net> <bblhp5$kih$1@nets3.rz.RWTH-Aachen.DE> <bbn53b$f9u$1@rex.ip-plus.net> <bbnlg5$a2n$1@nets3.rz.RWTH-Aachen.DE> <bbnvrp$iab$4@rex.ip-plus.net> <bbo30e$9kg$1@nets3.rz.RWTH-Aachen.DE> <bbpff2$lt3$3@rex.ip-plus.net> <x5y90ft364.fsf@lola.goethe.zz> <bbslj2$1v7$12@rex.ip-plus.net> <f9fade32.0306080544.11adb1a5@posting.google.com> <pan.2003.06.08.13.55.22.922950@unifr.ch> <bbvnu1$50q$00$1@news.t-online.com> <x5he70l92g.fsf@lola.goethe.zz>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: 10c1fa,4e1e4c7eebdd8c18
X-Google-Attributes: gid10c1fa,public
X-Google-Thread: fc006,5b6fdd3219828911
X-Google-Attributes: gidfc006,public
X-Google-Thread: 1032cb,4269f02e885e0585
X-Google-Attributes: gid1032cb,public
X-Google-ArrivalTime: 2003-06-08 14:52:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!feed.news.nacamar.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: "Peter Niessen" <peter_niessen@t-online.de>
Newsgroups: de.sci.mathematik,ch.talk,ch.comp
Subject: Re: [HJ]Re: Zahl^0
Date: Sun, 8 Jun 2003 23:49:23 +0200
Organization: T-Online
Lines: 27
Message-ID: <bc0b13$k8j$05$1@news.t-online.com>
References: <3edd0ac8$0$20558$91cee783@newsreader01.highway.telekom.at> <3eddb916$0$1053$5402220f@news.sunrise.ch> <bbkk5m$7tu$1@rex.ip-plus.net> <3eddf247$0$1041$5402220f@news.sunrise.ch> <bbld16$at0$2@rex.ip-plus.net> <bblhp5$kih$1@nets3.rz.RWTH-Aachen.DE> <bbn53b$f9u$1@rex.ip-plus.net> <bbnlg5$a2n$1@nets3.rz.RWTH-Aachen.DE> <bbnvrp$iab$4@rex.ip-plus.net> <bbo30e$9kg$1@nets3.rz.RWTH-Aachen.DE> <bbpff2$lt3$3@rex.ip-plus.net> <x5y90ft364.fsf@lola.goethe.zz> <bbslj2$1v7$12@rex.ip-plus.net> <f9fade32.0306080544.11adb1a5@posting.google.com> <pan.2003.06.08.13.55.22.922950@unifr.ch> <bbvnu1$50q$00$1@news.t-online.com> <x5he70l92g.fsf@lola.goethe.zz>
Mime-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1055108964 05 20755 HpmGVCEVSFAfkQ 030608 21:49:24
X-Complaints-To: usenet-abuse@t-online.de
X-ID: r4BbDeZV8eccv9ldeIIZ9t94QeNEE2rUxz8wqK1THGJLXPHij9d2kA
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000