Re: toy list processing problem: collect similar terms

2010-09-26 Thread Ben Morrow
Quoth p...@informatimago.com (Pascal J. Bourguignon): > > It's too complex. Just write: > > (let ((list '((0 a b) (1 c d) (2 e f) (3 g h) (1 i j) (2 k l) (4 m n) > (2 o p) (4 q r) (5 s t Unless you're going to talk about Perl, please take clpmisc out of the xpost. Ben -- h

Re: Am I doing this wrong? Why does this seem so clumsy (time, datetime vs. DateTime)

2009-09-21 Thread Ben Morrow
[This is not a Perl question. F'ups set to c.l.python.] Quoth Schif Schaf : > The other day I needed to convert a date like "August 2009" into a > "seconds-since-epoch" value (this would be for the first day of that > month, at the first second of that day). Note that this is not unique: you need

Re: regular expression negate a word (not character)

2008-01-25 Thread Ben Morrow
[newsgroups line fixed, f'ups set to clpm] Quoth Summercool <[EMAIL PROTECTED]>: > On Jan 25, 5:16 pm, Summercool <[EMAIL PROTECTED]> wrote: > > somebody who is a regular expression guru... how do you negate a word > > and grep for all words that is > > > > tire > > > > but not > > > > snow ti

Re: What is Expressiveness in a Computer Language

2006-06-20 Thread Ben Morrow
Quoth David Hopwood <[EMAIL PROTECTED]>: > Pascal Costanza wrote: > > Chris Smith wrote: > > > > Types can be represented at runtime via type tags. You could insist on > > using the term "dynamically tagged languages", but this wouldn't change > > a lot. Exactly _because_ it doesn't make sense in