| Dena|Lap | How can I create a list thats empty, but still makes me able to use (nconc ...) on it ? I currently have a (list), naturally (nconc ...) doesnt work on that form |
| nyef | You can't. |
| Dena|Lap | oh |
| nyef | Well, okay, maybe you can, but if so, you're using nconc wrong. |
| Dena|Lap | currently I work around it by just adding a item as nr1 in the list oh |
| nyef | (Are you trying to use nconc for its side effect?) |
| Dena|Lap | Is it wrong of me to use nconc to add single items to the list ? no using it to add items to a list |
| gigamonkey | Dena|Lap: probably. |
| rpg | Dena|Lap: Why not just push things onto it? Dena|Lap: Do you want to add to the end? You could just do a bunch of pushes and nreverse... |
| gigamonkey | Where wrong = potentially horribly ineffecient |
| Dena|Lap | ahh rpg, yes exactly =) great, thank you all :) |
| Zhivago | you could just make a queue ... |
| Dena|Lap | but the easiest thing I could do must be to push all the items, then reverse ? most efficient also no? |
| luis | Hmm, billc asked for podcast suggestions the other day. I can't find it in the logs, did he get nice suggestions? |
| Zhivago | dena: what problem are you trying to solve? |
| Dena|Lap | zhivago, I'm calculating primes, and adding each number to a list, so I can later display/modify them so I loop through adding each new prime into the list |
| Zhivago | so the order of the primes isn't actually important? |
| rpg | Dena|Lap: You could use (LOOP for new-prime = <calculate prime> collecting new-prime) |
| Dena|Lap | zhivago, no, actually the order is important rpg, hm thats another possibility |
| Zhivago | why? |
| Dena|Lap | I want them in the order they are calculated |
| tmh | Hello When defining a structure, is it possible to refer to other fields in the initform of a field? |
| luis | foom: heh, so ats and I seem to be fighting for "sbcl-linux-x86_64" how does that work? foom: redundancy? hmm, the page does seem to suggest one builder can have multiple build slaves |
| action | rudi has been browsing http://vistasmalltalk.wordpress.com/ instead of working |
| rudi | has been browsing http://vistasmalltalk.wordpress.com/ instead of working he implements a Lisp on top of Flash and WPF/e and provides a smalltalk syntax via reader macros with graphics, class browser etc |