[linux-l] Re: Programmiersprachen - Lösung in Python

Ivan F. Villanueva B. iv at artificialidea.com
Di Sep 12 13:58:54 CEST 2006


Hallo,

Am Sa, Sep 09, 2006 11:49:10 +0200, Volker Grabsch schrieb:
> Natürlich hätte ich genauso auch schummeln können wie im
> Groovy-Beispiel, indem ich ganzzahlig von 0 bis 63 zähle und dann
> mit "i*0.1" arbeite. Meine gekürzte Version wird diesen Hack benutzen.

Meine (die Groovy) benutzt diesen Hack nicht mehr ;-)

1.step(65, 0.1) {x | println "x: ${x}, y: ${f(x)}, y': ${df(f,x)}" }

P.S. das mit dem __name__ ist schön, gibt es aber in Groovy auch.
-- 
Ivan F. Villanueva B.
A.I. library:   http://www.artificialidea.com
<<<          The European Patent Litigation Agreement (EPLA)          >>>
<<<            will bring Software patents by the backdoor            >>>
<<<  http://www.no-lobbyists-as-such.com/florian-mueller-blog/epla/   >>>
<<<                     http://wiki.ffii.de/EplaEn                    >>>



Mehr Informationen über die Mailingliste linux-l