Re: Matching and Hashes

2017-01-25 Thread Joe Golden
Right you are. Brilliant! Documented indeed! On Wed, Jan 25, 2017 at 05:47:22PM +0100, Alexander Burger wrote: Hi Joe, The T appears to act as a function in your first option. Does that act like "If true return the cdr then break out of the for loop"? Yes, exactly. The 'T' is indeed not a

Re: Matching and Hashes

2017-01-25 Thread Lindsay John Lawrence
> I could do this in perl, but I wouldn't be building character ;-) .. 20+yrs ago, I used to say that when using perl instead of some other language :) /Lindsay On Wed, Jan 25, 2017 at 8:47 AM, Alexander Burger wrote: > Hi Joe, > > > The T appears to act as a function in

Re: Matching and Hashes

2017-01-25 Thread Alexander Burger
Hi Joe, > The T appears to act as a function in your first option. Does that act like > "If true return the cdr then break out of the for loop"? Yes, exactly. The 'T' is indeed not a function, but the marker of special clauses in the 'for' syntax (but also 'loop' or 'do'). 'NIL' is also

Re: Matching and Hashes

2017-01-25 Thread dean
I've just found filter (which looks like find ALL) whilst reading up on find sothank you very much both for the question and answer. On 25 January 2017 at 07:03, Alexander Burger wrote: > Hi Joe, > > > (de account-list > > ("Bank Charge"."Expenses:Bank

Re: Matching and Hashes

2017-01-24 Thread Alexander Burger
Hi Joe, > (de account-list > ("Bank Charge"."Expenses:Bank Fee") # matches if in last > position > ("City Market"."Expenses:Groceries")# ONLY this line works to match > ) > (de determine-acct (desc) > (for x account-list # go through account