Re: LAID (was: python libs v lisp coolness?140 (10/31/2003 5:30:11 PM) comp.lang.lisp Peter Hansen wrote in : > "Bradd W. Szonye" wrote: >> >> > mike420@ziplip.com writes: >> [joke snipped by Mr Burdick] >> >> Thomas F. Burdick wrote: >> > For those of you who haven't noticed yet, this is a ... mike420
LAID (was: python libs v lisp coolness?638 (10/31/2003 3:30:55 AM) comp.lang.lisp Joe Marshall wrote in : > Kenny Tilton writes: > >> I don't know. Maybe I'm wrong. If Lisp is such a great language and >> people love it so much, how come they don't write any code? > > Between python b... mike420
Re: Explanation of macros; Haskell macros #2347 (10/31/2003 2:40:51 AM) comp.lang.lisp {newsgroup list trimmed} >> "Anton van Straaten" writes: > >>>Yes, but the point is that with a concise syntax for lambda, entire >>>classes of macros can become unnecessary. That's how Smalltalk >>>handles ... mike420
Re: Python is not [yet] Considered Harmful450 (10/27/2003 4:27:27 PM) comp.lang.lisp Hannu Kankaanp?? wrote: > mike420@ziplip.com wrote in message > news:... >> It was an honest mistake, not a troll! Still, I think it should >> be [1, 2, 3] instead of [3, 3, 3] > > I don't think you understan... mike420
Python is not [yet] Considered Harmful951 (10/27/2003 6:56:19 AM) comp.lang.lisp map(lambda f: f(1), [lambda x: x + 1 for i in range(3)]) Oh, OK, it was a typo (1 instead of i). I take it all back (for now). It was an honest mistake, not a troll! Still, I think it should be [1, 2, 3] inst... mike420
Python is Considered Harmful2646 (10/27/2003 6:25:41 AM) comp.lang.lisp Ladies and Gentlemen, I present to you the final and ultimate proof of Python's brain-damage: As you may remember, flist = [] for i in range(3) f = lambda x: x + i flist.append(f) [f(1) for f in fl... mike420
wxPython and macros (was: Why don't people like lisp?1743 (10/26/2003 5:58:02 PM) comp.lang.lisp Tayss wrote: > > app = wxPySimpleApp() > frame = MainWindow(None, -1, "A window") > frame.Show(True) > app.MainLoop() > Why do you need a macro for that? Why don't you just write def start_window(name) :... mike420
modules (was: recommendation for 1st FP language041 (10/26/2003 9:29:54 AM) comp.lang.functional Markus Mottl wrote: > There are some things you can > do with modules that you can't with Haskell classes such as? > whereas there are > some things that can be done with Haskell classes _more conveniently... mike420
Whoa! Do Python and Lisp really have LAMBDA ?1344 (10/26/2003 7:11:05 AM) comp.lang.lisp Earlier Ed Schofield (thanks, man) warned us that flist = [] for i in range(3) f = lambda x: x + i flist.append(f) [f(1) for f in flist] gives [3, 3, 3]. So much for the principle of minimum surpris... mike420
Re: Why don't people like lisp? #3348 (10/25/2003 3:34:47 AM) comp.lang.lisp Kaz Kylheku wrote: > "Andrew Dalke" wrote in message > news:... > >> >> Did you look at my example doing just that? I built >> an AST for Python and converted it into a normal function. Andrew, If you a... mike420