00:21:42 drewc [~user@S01060013101b6ddb.vc.shawcable.net] has joined #sbcl 00:50:50 -!- nyef [~nyef@pool-70-109-134-127.cncdnh.east.myfairpoint.net] has quit [Quit: G'night all.] 04:09:50 -!- drewc [~user@S01060013101b6ddb.vc.shawcable.net] has quit [Ping timeout: 255 seconds] 07:32:48 stassats [~stassats@wikipedia/stassats] has joined #sbcl 07:38:34 angavrilov_ [~angavrilo@217.71.227.181] has joined #sbcl 07:38:34 -!- angavrilov_ is now known as angavrilov 08:45:12 mega1 [~quassel@catv4E5CABA2.pool.t-online.hu] has joined #sbcl 08:58:19 tcr [~tcr@cpc5-bour5-2-0-cust340.15-1.cable.virginmedia.com] has joined #sbcl 09:43:03 -!- mega1 [~quassel@catv4E5CABA2.pool.t-online.hu] has quit [Ping timeout: 245 seconds] 10:41:26 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 264 seconds] 10:52:41 -!- angavrilov [~angavrilo@217.71.227.181] has quit [Ping timeout: 276 seconds] 11:22:38 -!- tcr [~tcr@cpc5-bour5-2-0-cust340.15-1.cable.virginmedia.com] has quit [Ping timeout: 245 seconds] 11:32:29 tcr [~tcr@cpc5-bour5-2-0-cust340.15-1.cable.virginmedia.com] has joined #sbcl 11:36:48 -!- tcr [~tcr@cpc5-bour5-2-0-cust340.15-1.cable.virginmedia.com] has quit [Ping timeout: 245 seconds] 11:52:41 hi, quick question; can SBCL stack-allocated (dynamic-extent) a variable-length array? (length determined at run-time) 11:52:50 stack-allocate* 11:53:16 ( http://en.wikipedia.org/wiki/Variable-length_array ) 12:05:28 hargettp [~anonymous@pool-71-184-188-218.bstnma.east.verizon.net] has joined #sbcl 12:42:22 mega1 [~quassel@catv4E5CABA2.pool.t-online.hu] has joined #sbcl 12:44:26 angavrilov_ [~angavrilo@217.71.227.181] has joined #sbcl 12:44:27 -!- angavrilov_ is now known as angavrilov 12:50:37 lnostdal: no 12:59:09 sigh, threads.impure.lisp is hanging in :DEBUGGER-NO-HANG-ON-SESSION-LOCK-IF-INTERRUPTED 13:03:45 attila_lendvai [~attila_le@adsl-89-134-29-15.monradsl.monornet.hu] has joined #sbcl 13:09:57 stassats [~stassats@wikipedia/stassats] has joined #sbcl 13:12:54 tcr [~tcr@cpc5-bour5-2-0-cust340.15-1.cable.virginmedia.com] has joined #sbcl 14:01:29 rmarynch [~roman@88.135.194.233] has joined #sbcl 14:15:37 -!- rmarynch [~roman@88.135.194.233] has quit [Quit: Leaving] 14:46:42 rmarynch [~roman@88.135.194.233] has joined #sbcl 14:49:05 -!- attila_lendvai [~attila_le@adsl-89-134-29-15.monradsl.monornet.hu] has quit [Read error: Connection reset by peer] 14:49:16 attila_lendvai [~attila_le@adsl-89-134-29-15.monradsl.monornet.hu] has joined #sbcl 15:01:37 I often meet the variable named 'tem' in the source code of LOOP macro implementation. What is the meaning of such a name? It is a local variable in several important functions, like loop-iteration-driver 15:02:47 temporary? 15:04:38 it is a bit unusual for a temporary var name... 15:06:41 people with a unix background would tend to use tmp, yes 15:06:57 but perhaps mit loop wasn't written by such people 15:07:17 ("temporary" would have been my guess as well) 15:10:12 it usually holds some continuations, so I thought about some magic abbreviation which is unknown for me 15:11:24 poor jsnell. Baptism of fire and teeth gnashing, and all that 15:12:54 I did kind of ask for it when it came to .50 :-P 16:11:39 Blkt [~user@93-33-131-26.ip44.fastwebnet.it] has joined #sbcl 16:16:45 -!- rmarynch [~roman@88.135.194.233] has quit [Quit: Leaving] 16:17:10 good evening everyone 16:48:11 -!- cmatei [~cmatei@95.76.24.124] has quit [Ping timeout: 276 seconds] 16:51:35 cmatei [~cmatei@95.76.24.124] has joined #sbcl 17:00:33 rmarynch [~roman@88.135.194.233] has joined #sbcl 17:01:47 -!- attila_lendvai [~attila_le@adsl-89-134-29-15.monradsl.monornet.hu] has quit [Quit: Leaving.] 17:02:05 in case I want to get a last list element, is there any simpler construction than (car (last my-list)) ? 17:02:32 I mean a special function for this purpose ? 17:03:35 it's better not to want to do this 17:04:21 why? I should compare a last list element with some value. How should I do? 17:04:42 because it's slow 17:06:39 stassats: and what is the right approach? 17:12:09 you cannot reliably say something is slow without knowing expected input sizes 17:12:50 if you are using lists as ersatz structures, you could use defstruct (foo :type list), and hence name the last element 17:13:25 if your data structure depends on access to the last element, in whatever variable position that happens to be, then you're (probably) using the wrong data structure 17:13:58 not particularly because it's slow, but because you're probably tying yourself to a particular representation that doesn't reflect the operations you want to do on it 17:14:41 the list is always three elements long, so I can use cddr. I am fixing a bug in SBCL's LOOP now, so it is not my design 17:15:09 I just wonder about the shorter form of (car (last x)) 17:15:44 if the list is always three elements long, I'd use THIRD :-) 17:15:53 there is no shorter form of (car (last x)) 17:17:14 THIRD will be mapped cddr in Python (as far as I remember), but yes, it is more meaningful to use it 17:17:22 *to cddr 17:17:49 or caddr 17:43:23 I have just figured out that a list could be also two-elements long. So, I have to use (car (last x)) 17:44:33 -!- Blkt [~user@93-33-131-26.ip44.fastwebnet.it] has quit [Read error: Connection reset by peer] 17:46:37 Blkt [~user@93-33-131-26.ip44.fastwebnet.it] has joined #sbcl 18:13:11 -!- christoph_debian [christoph@sf-ogame.de] has quit [Remote host closed the connection] 18:49:08 -!- hargettp [~anonymous@pool-71-184-188-218.bstnma.east.verizon.net] has quit [Quit: hargettp] 18:51:42 There is another LOOP issue in Launchpad which says that (loop with nil = 1 repeat 1) generates a warning. Is it a correct LOOP example at all (can we bound NIL to something) ? 18:52:55 (loop with nil = 2 do (print nil) (return)) prints NIL. What is the reason to use NIL as a variable name in this case? 18:53:51 it's not a variable name, it's a destructuring expression 18:54:24 oh, you are right. Sorry :) 19:33:40 -!- rmarynch [~roman@88.135.194.233] has quit [Quit: Leaving] 20:25:12 hargettp [~anonymous@pool-71-184-188-218.bstnma.east.verizon.net] has joined #sbcl 20:30:50 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 255 seconds] 20:52:47 -!- tsuru [~charlie@c-174-50-217-160.hsd1.tn.comcast.net] has quit [Remote host closed the connection] 21:48:09 The_Jon_Smith [~The_Jon_S@ip24-250-13-137.ri.ri.cox.net] has joined #sbcl 22:16:46 ccl-logbot [~ccl-logbo@setf.clozure.com] has joined #sbcl 22:16:46 -!- names: ccl-logbot The_Jon_Smith hargettp Blkt cmatei tcr angavrilov mega1 @Krystof cmm fualo ASau deepfire lnostdal mbohun Fare slyrus_ froydnj _3b` gnooth jsnell lisppaste2 `micro joshe fe[nl]ix pkhuong specbot minion luis @Xof tokenrove foom chandler 22:33:14 -!- The_Jon_Smith [~The_Jon_S@ip24-250-13-137.ri.ri.cox.net] has quit [Ping timeout: 255 seconds] 22:34:43 -!- mega1 [~quassel@catv4E5CABA2.pool.t-online.hu] has quit [Ping timeout: 245 seconds] 22:46:11 -!- tcr [~tcr@cpc5-bour5-2-0-cust340.15-1.cable.virginmedia.com] has quit [Quit: Leaving.] 23:43:50 The_Jon_Smith [~The_Jon_S@ip24-250-13-137.ri.ri.cox.net] has joined #sbcl 23:52:47 -!- hargettp [~anonymous@pool-71-184-188-218.bstnma.east.verizon.net] has quit [Quit: hargettp] 23:53:30 hargettp [~anonymous@pool-71-184-188-218.bstnma.east.verizon.net] has joined #sbcl 23:59:55 attila_lendvai [~attila_le@89.135.206.215] has joined #sbcl