Joel Uckelman on Fri, 3 Dec 2004 14:10:19 -0600 (CST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [nimh-dev] More stuff


Thus spake "Jon Stewart":
> > Here's a potential problem with lazy evaluation:
> > 
> > Suppose I have the sequence 'first:30 45 foo', where foo is a user-defined 
> > sequence. I think that the first time you want to do anything with this 
> > sequence, you'll need to expand the whole thing and sort the resulting list
>  
> > of message numbers. That's because 45 could show up in or after 'first:30',
>  
> > and anything could be in foo.
> 
> 
> I've never created user-defined sequences; we should test this and see how 
> mh handles it. My initial reaction, though, is that a sequence is not a 
> set, so duplicates and order should be preserved. But I don't really care, 
> either.

MH treats sequences like sets. E.g. 'scan 2 1 1' will show you the scan
for 1, followed by the scan for 2. I like it that way. I wish it were
also a way to apply set-theoretic operations other than union and negation,
though. Say I want to list all messages in foo and bar, e.g., I should be
able to 'scan foo&bar'.

_______________________________________________
nimh-dev mailing list
nimh-dev@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/nimh-dev