#lisp - Fri 2 Mar 2007 between 17:54 and 18:03

NY Lost Funds



rahulyou would have been better off detecting dups beforehand, tho
eructaterahul: isn't that just REMOVE-DUPLICATES?
rahuleructate: it's the complement
find-duplicates
eructateno, your code
when (= 1 (incf ...
rahuleructate: no, that would be zerop
eructateno it wouldn't =)
bonk.
rahuloh haha
(= 2, then
:P
Cinnyef, hehe, I'm the kind of programmer who always has lots of things he wants to code i.e. you'll never hear me saying "what can I code..." I hate hearing that, it's not like programmers ever listen to the suggestions of other programmers for projects :P
slyrusyay. all contrib tests pass (except for the one I had to comment out)
nyefCin: I've seen it happen sometimes, though. The listening, that is.
redwyrmrahul, I think (gethash i table 0) is correct in your code
tompaslyrus: it basically says that it has been reported to the police as robbery now which means that an additional group within the police has started working whith it. and that they have searched the area where he was last seen and the harbor with dogs whithout results.
JT-JITLisp uses tagbody and go under the surface. (What the iteration macroes expand to). so it is a bit inacurate to claim that iteration is just a form of recursion. In scheme of cource this is perfectly true
rahulheh, whateva.
Cinnyef, yeah, I've seen it a couple times
RiastradhJT-JIT, one can still view iteration using TAGBODY and GO as a form of recursion -- it's just that there is no parameter-passing.
rtoy_tompa: So he's still missing?
tompaslyrus: a couple of tips has come in to the police but nothing serious
rahulif I'm doing his homework for him, I'm not going to test it for bugs :P
tompayes
rahulJT-JIT: iteration IS a form of recursion...
slyrusok, thanks tompa.
rahulJT-JIT: regardless of what syntax is used to express it
JT-JITRiastradh yes, tail recursion can be viewed as a form of goto with arguments and suffers many of the same problems as well
rahultail recursion suffers problems because it's iteration obfuscated.
Cinnyef, there's always the challenge/reverse psychology. "it's impossible to do <x>.../you can't do <x>..." next thing you know they're coding away. hehe (happens to me, too D:)
rahuland nothing in the CL spec says that iteration macros must expand to tagbody/go
they could expand to a tail-recursive function
dealing with side-effects in the iteration might be tricky, tho :P
still, shouldn't be ridiculously hard...
RiastradhWhy, rahul?
nyefCin: Great. I bet you can't figure out the synchronization stuff for threaded SBCL/Win32. ^_-
rahulhmm, maybe I am starting to see a way to implement it such that side-effects are naturally supported
RiastradhWhat issue do you see, rahul?
rahulI don't think I see any issue :P

Page: 2 9 16 23 30 37 

IrcArchive

NY Lost Funds