Article View: pl.comp.lang.python
Article #8648Re: Największy problem Pythona.
From: Przemek Wiśniewski
Date: Tue, 10 May 2005 14:27
Date: Tue, 10 May 2005 14:27
26 lines
1749 bytes
1749 bytes
Qertoip napisał(a): >>To akurat nie problem, kompilator Ocamla potrafi zgadywac typ funkcji na >>podstawie argumentow, dobre ide tez by moglo - jedyne wymaganie to >>takie, zeby kiedys ten typ jakos okreslic. > > > Nie problem? Zauważ, że sprowadza się to do "statycznego uruchomienia" > kodu. Może przykład wybrałem za prosty - podam inny, lepiej obrazujący o co > chodzi: > > def f( a ): > return a > > p = True > if p: > obj = f( 1 ) > else: > obj = f( "" ) > > obj.??? No tak, tu masz racje. Nie wzialem tego pod uwage. -- Przemek Wiśniewski
Technical Details
Message-ID:
<d5qgd4$3gl$1@gw.magellan.net.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.internetia.pl!not-for-mailReferences:
<jsq2enrcpp4r$.nmpn8bgh83ge.dlg@40tude.net> <1rbhne1rr1a3x$.h8m7p6ogf075.dlg@40tude.net> <zxj1u4nw6xe5$.5k7xj103dinh$.dlg@40tude.net> <d5qcvh$ne1$1@gw.magellan.net.pl> <pedivtu4nyre$.1wvgjjhuk1780$.dlg@40tude.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.internetia.pl!not-for-mail From: Przemek Wiśniewski <sdf@fasd.sdf> Newsgroups: pl.comp.lang.python Subject: Re: Największy problem Pythona. Date: Tue, 10 May 2005 16:27:45 +0200 Organization: Netia Telekom S.A. Lines: 26 Message-ID: <d5qgd4$3gl$1@gw.magellan.net.pl> References: <jsq2enrcpp4r$.nmpn8bgh83ge.dlg@40tude.net> <1rbhne1rr1a3x$.h8m7p6ogf075.dlg@40tude.net> <zxj1u4nw6xe5$.5k7xj103dinh$.dlg@40tude.net> <d5qcvh$ne1$1@gw.magellan.net.pl> <pedivtu4nyre$.1wvgjjhuk1780$.dlg@40tude.net> NNTP-Posting-Host: gw.magellan.net.pl Mime-Version: 1.0 X-Trace: nefryt.internetia.pl 1115735269 3605 213.17.131.34 (10 May 2005 14:27:49 GMT) X-Complaints-To: abuse@inetia.pl NNTP-Posting-Date: Tue, 10 May 2005 14:27:49 +0000 (UTC) In-Reply-To: <pedivtu4nyre$.1wvgjjhuk1780$.dlg@40tude.net> X-Accept-Language: pl, en-us, en X-Tech-Contact: usenet@internetia.pl User-Agent: Mozilla Thunderbird 1.0.2-1.3.2 (X11/20050324) X-Server-Info: http://www.internetia.pl/news/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit