00:00:26 < scheme 3 00:04:48 -!- puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has quit [Read error: 54 (Connection reset by peer)] 00:07:09 Arelius [n=Indy@c-76-102-86-113.hsd1.ca.comcast.net] has joined #scheme 00:07:39 -!- Mr-Cat [n=Miranda@bahirkin1507.static.corbina.ru] has quit [Read error: 104 (Connection reset by peer)] 00:14:39 -!- ffx` [n=ffx@60-241-74-240.static.tpgi.com.au] has quit [Read error: 104 (Connection reset by peer)] 00:17:53 -!- X-Scale [i=email@2001:470:1f08:b3d:0:0:0:2] has left #scheme 00:19:53 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 00:22:49 -!- hotblack23 [n=jh@p5B053791.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 00:23:07 ffx` [n=ffx@60-241-74-240.static.tpgi.com.au] has joined #scheme 00:23:14 ? 00:23:48 -!- ffx` [n=ffx@60-241-74-240.static.tpgi.com.au] has quit [Read error: 104 (Connection reset by peer)] 00:24:04 -!- Dezlagrate [n=Dezlagra@unaffiliated/dezlagrate] has quit ["Leaving"] 00:25:07 mvatki [n=michael@68.115.193.179] has joined #scheme 00:28:39 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 54 (Connection reset by peer)] 00:30:30 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 00:30:51 Wow, it's a contract somehow. 00:31:31 Can't I have a return value of (values (cons/c bytes? (listof integer?)))? ._. 00:31:48 If I replace that with "any" the error goes away. 00:32:03 ffx` [n=ffx@60-241-74-240.static.tpgi.com.au] has joined #scheme 00:33:06 hey 00:33:08 -!- Nshag [n=shagoune@Mix-Orleans-106-3-68.w193-248.abo.wanadoo.fr] has quit ["Quitte"] 00:33:11 how can i find 00:33:39 Find the lambda-sentence called w 00:33:42 -!- ffx` [n=ffx@60-241-74-240.static.tpgi.com.au] has quit [Connection reset by peer] 00:33:44 someone know that 00:33:50 are there anyone know that 00:33:53 what is w 00:35:10 it carries out and is w 00:35:34 lambda...sentence? 00:35:59 error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 00:39:48 dang... how do you write contracts for functions that return a variable number of values? 00:40:41 I'll just use any for now. 00:41:24 -!- mreggen [n=mreggen@cm-84.215.50.79.getinternet.no] has quit ["leaving"] 00:41:50 mreggen [n=mreggen@cm-84.215.50.79.getinternet.no] has joined #scheme 00:42:41 what sort of function returns a variable number of values? 00:43:27 Any function that has the (values) form in tail position. 00:44:02 scratch that, (values) returns a fixed number of values. 00:44:38 Any function that has (apply values a-list) in tail position. 00:45:21 synx: http://download.plt-scheme.org/doc/html/guide/contracts-general-functions.html#(part._contracts-multiple) 00:46:08 oh wait, variable number of values 00:46:11 I'm aware of how, I was wondering about the why 00:46:57 I can see the need for some HOFs like COMPOSE to do so, but have trouble imagining any other case for it 00:47:29 I have a function that extracts a header. It's convenient to write it like (let-values ([(rest a b c) (decode '(2 2 2) bytes)]) ...) 00:48:00 It pretty much pulls sized integers off the front of the bytes. Different headers have different sized integer sequences. 00:48:28 ah, that makes sense :) 00:49:14 I could go (let ([(headers rest) (decode '(2 2 2) bytes)]) ... (car headers) (cadr headers) etc...) but I'd really rather just use a b and c instead of (car headers) (cadr headers) and so on. 00:49:52 less confusing too, since I can use useful names like "n-digits" and "scale". 00:50:34 indeed. I have a DESTRUCTURING-BIND macro around that would allow you do do it with lists, but values seems an entirely reasonable approach 00:50:58 probably a better one, in this case 00:51:29 I've been thinking about binary parsing, and imho something like (let-unpacker bytes ((a 2) (b 2) (c 2) (rest -1)) body ...) would be best 00:54:39 -!- slom [n=slom@pD9EB6B0B.dip.t-dialin.net] has quit [Remote closed the connection] 00:55:51 -!- errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Connection timed out] 00:56:09 actually it would be (state-let* (byte-unpacker bytes) ((a u16) (b u16) (c u16) (rest state-get)) body ...) for maximal extensibility, with u16 being a generic procedure on any unpacker that provides bytes 00:58:13 u16 wouldn't be the generic procedure, but it would invoke one 01:02:22 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 01:02:43 -!- error_developer_ [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Remote closed the connection] 01:03:55 troter [n=troter@nurikabe.timedia.co.jp] has joined #scheme 01:09:20 -!- elias` [n=me@unaffiliated/elias/x-342423] has quit [Read error: 145 (Connection timed out)] 01:20:00 orgy_ [n=ratm_@pD9FFEF7A.dip.t-dialin.net] has joined #scheme 01:37:11 -!- orgy__ [n=ratm_@pD9FFF9FD.dip.t-dialin.net] has quit [Read error: 101 (Network is unreachable)] 01:38:50 -!- cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has quit [Read error: 110 (Connection timed out)] 01:39:20 -!- errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 60 (Operation timed out)] 01:41:29 will this work as a contition/action within a cond statement? ((and (my-pred1? list) (my-pred2? list)) (call-funct list)) 01:41:52 only (call-funct'ing if my-pred 1 and 2 are both true 01:43:05 -!- geckosenator [n=sean@71.237.94.78] has quit ["Lost terminal"] 01:43:16 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 01:44:12 annodomini [n=lambda@pool-151-203-235-220.bos.east.verizon.net] has joined #scheme 01:45:31 glarg daylight savings time is killing me... 01:45:41 benny` [n=benny@i577A097C.versanet.de] has joined #scheme 01:46:20 I shouldn't even need to worry about it in my program. Just convert the time to seconds, add the microseconds... 01:46:38 -!- jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Read error: 110 (Connection timed out)] 01:47:40 doesn't dst mean that certain times can never happen, since in the middle of that hour you would have already set your clock forward to the next hour? 01:48:01 time is relative :P 01:48:20 what does position x or y on a clock mean in the whole scheme of things 01:48:24 lol pun not intended 01:50:33 some times work fine, others are always an hour off, but only when I decode them... it's like I'll take hour '7' and get the seconds since epoch, then when I use seconds->date it magically becomes hour '8'. 01:51:13 -!- errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 01:51:28 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 01:55:43 -!- Quetzalcoatl_ [n=godless@cpe-71-72-235-91.cinci.res.rr.com] has quit ["Leaving"] 02:00:45 -!- benny [n=benny@i577A0452.versanet.de] has quit [Read error: 113 (No route to host)] 02:02:07 -!- orgy_ [n=ratm_@pD9FFEF7A.dip.t-dialin.net] has quit [Client Quit] 02:03:57 orgy` [n=ratm_@pD9FFEF7A.dip.t-dialin.net] has joined #scheme 02:04:17 noamsml [n=quassel@adsl-75-45-249-116.dsl.sfldmi.sbcglobal.net] has joined #scheme 02:04:40 -!- orgy` [n=ratm_@pD9FFEF7A.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 02:04:45 -!- not_noamsml [n=quassel@adsl-75-45-249-116.dsl.sfldmi.sbcglobal.net] has quit [Client Quit] 02:06:01 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 02:08:43 geckosenator [n=sean@71.237.94.78] has joined #scheme 02:09:48 -!- benny` is now known as benny 02:15:52 the expressions in (let ((a exp1) (b exp2)) ..) are evaluated in arbitrary order right? 02:19:34 sepult_ [n=buggarag@xdsl-84-44-169-127.netcologne.de] has joined #scheme 02:19:52 -!- athos [n=philipp@92.250.250.68] has quit ["leaving"] 02:20:02 Yes, geckosenator. 02:20:16 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 02:23:13 so if I need them evaluated in order I should use let* ? 02:23:45 or is it not guarenteed either 02:24:08 I have something like (let* ((x (read)) (y (read)) (z (read))) ... ) 02:24:13 but maybe there is an even better way 02:27:04 annodomini [n=lambda@pool-151-203-235-220.bos.east.verizon.net] has joined #scheme 02:30:51 -!- sepult [n=buggarag@xdsl-87-78-178-213.netcologne.de] has quit [Read error: 110 (Connection timed out)] 02:32:19 -!- mvatki [n=michael@68.115.193.179] has quit [Connection timed out] 02:38:31 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 02:39:48 a-s [n=user@92.80.87.22] has joined #scheme 02:42:18 SweetwaterDixon [n=user@210.48.104.34] has joined #scheme 02:45:15 davidad [n=me@RANDOM-SIX-SIXTEEN.MIT.EDU] has joined #scheme 02:54:28 -!- MrFahrenheit [n=RageOfTh@92.36.149.84] has quit [Read error: 110 (Connection timed out)] 02:55:31 so, I can easily make a macro which expands into a single (define ...) 02:55:44 but, can I make one which expands into multiple defines? 02:59:42 Only if enclosing those defines within a single (begin ...) form will work for you. 02:59:56 but, then the defines are trapped inside the begin 03:00:01 they don't impact the global environment 03:00:18 begin doesn't introduce scope. 03:00:22 whoops 03:00:25 I guess not, then thats fine 03:00:44 really.... I always though begin was sugar for ((lambda () ,@body)) 03:00:50 thanks 03:01:32 That's only the sequencing form of begin. Begin is altogether a little more complicated than that. 03:01:52 s/form/semantics 03:05:41 saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 03:07:55 -!- saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Client Quit] 03:11:55 gee srfi/19 03:11:59 as of 2000 03:12:06 with microsecond accurate dates and times 03:12:09 using gettimeofday 03:12:14 GO FIGURE 03:12:25 -!- morphir [n=morphir@217.168.81.9] has quit [Remote closed the connection] 03:12:47 morphir [n=morphir@217.168.81.9] has joined #scheme 03:13:49 synx: ? 03:15:17 I've been trying to use plt's scheme/date which...well I can't decide whether it sucks or I do. So I just stumbled on srfi/19. 03:16:47 -!- morphir [n=morphir@217.168.81.9] has quit [Remote closed the connection] 03:18:46 -!- asmips [n=asmips@adsl-074-182-100-076.sip.chs.bellsouth.net] has quit ["Leaving"] 03:20:04 morphir [n=morphir@217.168.81.9] has joined #scheme 03:22:14 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [] 03:31:58 -!- araujo [n=araujo@gentoo/developer/araujo] has quit ["Leaving"] 03:38:35 -!- errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 03:38:57 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 03:41:26 srfi 19 has errors. 03:41:30 in the specification 03:41:37 look at the mailing list for it 03:42:14 unfortunately, due to some procedural issue, they can't be fixed or something. I don't really remember what the problem is anymore. 03:44:56 What mailing list? 03:45:11 the srfi 19 mailing list 03:48:21 huh 03:48:27 doesn't look like any problems there to me. 03:48:53 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 03:53:26 they're subtle 03:54:05 http://srfi.schemers.org/srfi-19/post-mail-archive/msg00027.html 03:54:08 for instance 03:55:29 there are others. 03:56:26 post-mail-archive? huh 03:56:40 post srfi-ization 03:56:44 OH post-yeah... 03:57:08 Is that a specification error, or just a Guile error? 03:57:20 a specification error... 03:57:38 which is why I said "reference implementation" 03:58:05 that one may have been fixed. Look a couple of messages down 03:58:44 ah, yeah ok 03:59:17 ah, no. It has not. 03:59:27 http://srfi.schemers.org/srfi-19/srfi-19.scm This is the reference implementation. 03:59:30 still wrong. 04:01:47 jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 04:02:18 -!- jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 04:02:34 jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has joined #scheme 04:03:58 -!- reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 113 (No route to host)] 04:05:08 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 04:07:31 -!- errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has quit [Read error: 104 (Connection reset by peer)] 04:07:49 errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has joined #scheme 04:08:44 jberg_ [n=johan@229.84-48-210.nextgentel.com] has joined #scheme 04:13:33 -!- errordeveloper [n=errordev@78-86-1-110.zone2.bethere.co.uk] has left #scheme 04:15:03 i'm trying to write a procedure to flatten a list, how do i determine if something is even nested? simply taking the (car will return the entire pair, and trying something like (caar isn't going to work on everything 04:16:30 you have to think about how to make it recursive 04:17:19 hmm because it needs to recurse inside the nested parts before it moves on 04:18:08 basically you want to take a list of lists and make it into one list? 04:18:16 yeah 04:18:32 like ((1 3 4) 5 (4 2)) should become (1 3 4 5 4 2) 04:18:44 seems pretty simple to me but it also sounds like homework :) 04:19:00 is there a policy against homework assistance? :P 04:19:32 not really but I don't like to just give out solutions, it makes you learn nothing 04:20:08 -!- jberg [n=johan@229.84-48-210.nextgentel.com] has quit [Read error: 113 (No route to host)] 04:20:25 basically what you want to do tho is go through the whole list and if an element in the list is a list then add it's elements to the out list and move on 04:21:06 yeah i know that much, what's getting me hung up is how to determine if the element in question is inside of a "sublist" 04:21:09 there is also some built in functions to combine existing lists but they might consider that cheating :) 04:22:24 you can't do that, you have detect that an element is a list and process those differently 04:22:33 hmm 04:24:04 lowlycoder [n=x@unaffiliated/lowlycoder] has joined #scheme 04:27:31 rudybot: eval (list? '(1 2 3)) 04:27:34 rudybot? 04:27:42 rudybot!! NOOOOOOO! 04:28:03 specbot: r5rs list? 04:28:03 http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_idx_414 04:28:26 *j85wilson* wishes someone would do his homework for him 04:30:59 -!- davidad [n=me@RANDOM-SIX-SIXTEEN.MIT.EDU] has quit [Read error: 145 (Connection timed out)] 04:33:31 -!- gweiqi [n=greg@69.120.126.163] has quit ["Leaving."] 04:34:03 saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 04:38:23 good night. good work. sleep well. 04:45:17 :] 04:54:41 (pair? list) seems to work ^_^ 04:54:52 -!- noamsml [n=quassel@adsl-75-45-249-116.dsl.sfldmi.sbcglobal.net] has quit ["No Ping reply in 30 seconds."] 04:55:05 you mean to check to see if something is a list? 04:55:32 I used "(list? x)" in my solution 04:55:36 noamsml [n=quassel@adsl-75-45-249-116.dsl.sfldmi.sbcglobal.net] has joined #scheme 05:04:55 reprore__ [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 05:05:52 -!- reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 113 (No route to host)] 05:06:16 -!- a-s [n=user@92.80.87.22] has quit [Remote closed the connection] 05:08:19 heh i guess that would work too 05:08:25 ((pair? (car list)) (append (car list) (flatten (cdr list)))) 05:08:28 worked just fine for me 05:08:36 I'm finally doing opengl in scheme and it's great 05:08:42 list? works also 05:12:13 is flatten then O(n) 05:12:25 since it takes as long as there are elements in the list 05:12:47 LobsterMan: make sure you're thorough in testing 05:13:16 only issue with that approach is the longer the list the more stack is used.. to get it optimal you will want to make it tail recursive 05:13:26 but for homework it should be enough :) 05:14:53 bombshelter13_ [n=bombshel@24.114.232.1] has joined #scheme 05:15:08 ok :) 05:16:48 -!- Arelius [n=Indy@c-76-102-86-113.hsd1.ca.comcast.net] has quit [] 05:16:58 would a function (deep-reverse list) also be O(n), since it's doing basically the same thing? 05:17:27 where deep-reverse returns the reverse of a list, maintaining all sublists 05:19:56 it's the same already 05:20:12 -!- bombshelter13_ [n=bombshel@24.114.232.1] has quit ["Get Colloquy for iPhone! http://mobile.colloquy.info/"] 05:20:38 minion: eval (reverse '((a b) (c d))) 05:20:39 please stop playing with me... i am not a toy 05:20:42 hm 05:20:46 bombshelter13p [n=bombshel@24.114.232.1] has joined #scheme 05:21:21 heh yeah i was thinking about just using (reverse but i don't know if my prof will accept that 05:21:26 seems you upset him :) 05:22:00 yeah if you use a built in function to do exactly what your prof wants I doubt you will get a full score. 05:22:05 isn't deep revers supposed to reverse all the lists? 05:22:12 oh wait yeah 05:22:21 so i couldn't just use reverse then 05:22:44 well then reverse the sublists as well ^_^ 05:25:03 -!- bombshelter13p [n=bombshel@24.114.232.1] has quit [Client Quit] 05:25:14 you can't right 05:25:56 working on it ^_^ 05:27:47 bombshelter13p [n=bombshel@24.114.232.1] has joined #scheme 05:30:06 jcowan [n=jcowan@cpe-74-68-154-18.nyc.res.rr.com] has joined #scheme 05:31:47 *jcowan* unvanishes. 05:32:04 I've decided that what I need is a Dumb Fast Stalin. 05:32:21 R4RS, limited call/cc, limited tail recursion, but without Stalin's massive optimizations. 05:32:29 Scheme->C won't even compile with modern gcc's. 05:32:34 Anyone have a suggestion? 05:33:35 Schlep is a little too primitive 05:35:43 -!- jcowan [n=jcowan@cpe-74-68-154-18.nyc.res.rr.com] has quit ["Bailing out"] 05:39:07 chicken? 05:42:15 or gambit? Or are both still too un-dumb and un-fast? 05:43:33 Hobbit also meets your limited-foo, limited-bar criteria. Never used it, though. 05:43:40 -!- berat [n=berat@d-stu.ibun.edu.tr] has left #scheme 05:51:34 -!- meanburrito920_ [n=John@adsl-76-222-109-174.dsl.lsan03.sbcglobal.net] has quit ["has been attacked by a grue"] 05:51:38 I'd say Chicken as the simplest Scheme->C compiler, but that's for full Scheme. Why the limitations? 05:52:11 And by limited call/cc do you mean escape continuations only? 05:52:52 *leppie* wonders who everyone is speaking too :p 05:53:16 wtf? 05:53:31 jcowan logged a while ago. 05:53:32 Why ask a question and then quit 3 minutes later? 05:54:09 -!- reprore__ [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 05:54:09 -!- noamsml [n=quassel@adsl-75-45-249-116.dsl.sfldmi.sbcglobal.net] has quit ["No Ping reply in 30 seconds."] 05:54:51 noamsml [n=quassel@adsl-75-45-249-116.dsl.sfldmi.sbcglobal.net] has joined #scheme 05:55:23 rudybot's gone. jcowan's gone. Who will disappear next? 05:55:51 Has everybody been taking their Ubik? 05:56:06 Choco-bites are tangy! 05:56:24 -!- bombshelter13p [n=bombshel@24.114.232.1] has quit [Read error: 110 (Connection timed out)] 05:59:47 jjong [n=user@203.246.179.177] has joined #scheme 06:10:25 lol today's xkcd :) 06:14:34 bombshelter13p [n=bombshel@24.114.232.2] has joined #scheme 06:14:46 -!- geckosenator [n=sean@71.237.94.78] has quit [Read error: 110 (Connection timed out)] 06:15:07 -!- bombshelter13p [n=bombshel@24.114.232.2] has quit [Client Quit] 06:16:06 Quixote as Gordon Freeman. Hmmm. 06:22:46 Gordon who? 06:23:46 heh 06:26:53 Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has joined #scheme 06:33:04 -!- jld [i=jld@panix5.panix.com] has quit ["IRC client "upgrade""] 06:33:31 -!- mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has quit [Remote closed the connection] 06:35:02 -!- kniu [n=kniu@DA-YU.RES.CMU.EDU] has quit [Read error: 110 (Connection timed out)] 06:35:36 kniu [n=kniu@128.237.224.31] has joined #scheme 06:35:43 Okay, Edward Hyde, then. Looking really heroic, when all he wants to do is slaughter something. 06:37:47 jld [i=jld@166.84.1.5] has joined #scheme 06:39:18 -!- [[mark]] [n=mark@unaffiliated/mark/x-957811] has quit [Read error: 60 (Operation timed out)] 06:40:49 -!- lowlycoder [n=x@unaffiliated/lowlycoder] has quit ["leaving"] 06:42:18 -!- kniu [n=kniu@128.237.224.31] has quit ["Leaving"] 06:43:55 -!- sepult_ [n=buggarag@xdsl-84-44-169-127.netcologne.de] has quit ["leaving"] 06:58:28 -!- sladegen [n=nemo@unaffiliated/sladegen] has quit [Read error: 110 (Connection timed out)] 07:01:40 -!- saccade [n=saccade@65-78-24-47.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit ["This computer has gone to sleep"] 07:08:30 ASau` [n=user@host114-230-msk.microtest.ru] has joined #scheme 07:17:06 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 07:24:35 asau`: do you have my build log? 07:24:59 elf: not that fast. 07:25:09 ah. 07:26:00 I'll try to get it, but there's no warranty I'll succede. 07:26:12 thankee. 07:30:19 Practical question: does chicken's "reverse!" update in-place? 07:30:48 ecraven [n=nex@140.78.42.103] has joined #scheme 07:32:30 nope. 07:32:56 That's bad. 07:33:02 why? 07:33:26 Because I need it to update in-place. 07:33:39 Good luck maintaining that algorithm! 07:34:38 why do you need to update in-place? 07:35:27 You never have enough RAM. 07:47:24 aspect pasted "inplace-reverse!" at http://paste.lisp.org/display/77105 07:47:41 I don't know if it's what you want, but I got curious 07:48:32 note that it will behave oddly if you try something like (reverse! middle) 07:49:45 doing it with set-car! would avoid this, but then you're facing either O(n^2) or stack consumption, neither of which is good in your case 08:12:28 can anyone tell me why the code in the 2nd box doesn't work? 08:12:28 http://community.schemewiki.org/?sicp-ex-2.27 08:15:22 puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has joined #scheme 08:25:07 minion: advice for LobsterMan 08:25:08 LobsterMan: #11946: Perhaps you have forgotten that this is an engineering discipline, not some sort of black magic. 08:25:31 wrong fortune; I wanted the one that says "what do you mean it doesn't work?" 08:26:00 lol 08:26:13 hmm copying and pasting it seems to work 08:26:28 but my adaptation with different names should be functionally the same but yet it's not functional at all 08:27:34 what does it do? complain about nil being an undefined reference? 08:28:18 1 of the 5 checks failed. 08:28:18 check encountered the following error instead of the expected value, (6 (5 3) 2 1). 08:28:18 :: procedure application: expected procedure, given: (6); arguments were: 6 08:28:28 [[mark]] [n=mark@unaffiliated/mark/x-957811] has joined #scheme 08:28:43 i changed nil to null when i did a straight copy/paste to test to make sure the code given on that site worked 08:29:21 if perhaps you'd be willing to take a look at my code 08:29:21 http://pastebin.com/d3d153360 08:29:31 -!- foof [n=user@dn157-046.naist.jp] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 08:30:46 what is null ? 08:30:50 '() 08:31:03 doesnt matter if i put that there either, same error 08:31:19 and null? checks to see if a list is empty or null 08:32:31 list 08:32:52 did i miss one or put an extra one somewhere? 08:33:01 what is (list (car list)) ? 08:33:15 -!- puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has quit ["Konversation terminated!"] 08:33:29 is my argument name interfering? 08:33:30 lol 08:33:55 there's a reason schemers tend to call lists ls :) 08:35:04 hahahaha and it works 08:35:06 *LobsterMan* facepalms 08:36:09 ty ^_^ 08:36:19 foof [n=user@clair10.naist.jp] has joined #scheme 08:38:36 would that procedure then be O(2^n) 08:56:37 hkBst [n=hkBst@gentoo/developer/hkbst] has joined #scheme 09:05:58 how does a sort based on accumulation work if you're not supposed to make any copies of the list being sorted? 09:18:21 jberg [n=johan@229.84-48-210.nextgentel.com] has joined #scheme 09:30:31 -!- jberg_ [n=johan@229.84-48-210.nextgentel.com] has quit [Read error: 110 (Connection timed out)] 09:34:01 jewel [n=jewel@dsl-242-138-129.telkomadsl.co.za] has joined #scheme 09:45:30 Nshag [i=user@Mix-Orleans-106-2-87.w193-248.abo.wanadoo.fr] has joined #scheme 10:04:02 -!- jao [n=jao@148.Red-83-39-135.dynamicIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)] 10:05:46 -!- troter [n=troter@nurikabe.timedia.co.jp] has quit ["Leaving..."] 10:22:55 hotblack23 [n=jh@p5B053D8D.dip.t-dialin.net] has joined #scheme 10:24:16 LobsterMan: how do expect to return a sorted list if you can't copy the elements? 10:24:54 that's my problem heh 10:25:08 LobsterMan: you'd need handles I guess 10:25:09 i've since moved on and given up 10:25:11 lol 10:25:26 sort the handles 10:26:49 what are handles? 10:26:59 i'm only taking a basic intro undergrad scheme course 10:27:06 i don't believe we've discussed that yet in class 10:28:09 -!- jberg [n=johan@229.84-48-210.nextgentel.com] has quit [Read error: 60 (Operation timed out)] 10:32:05 jberg [n=johan@229.84-48-210.nextgentel.com] has joined #scheme 10:34:12 LobsterMan: I think in Scheme handles/references are automatically used. Thus if you have a list '(obj1 obj2 obj3) and you do (cons obj1 obj2) you have not made a copy of obj1 or of obj2. You can check this by using eq? which checks whether two references reference the very same object. 10:34:46 hmmm 10:35:55 LobsterMan: if obj1 is something as simple as a number for example then this is not guaranteed though I think. And I'm not sure if there are actual guarantess about this behavior or if it is just what is almost always done. 10:36:20 LobsterMan: do you know about pointers? 10:36:59 elias` [n=me@unaffiliated/elias/x-342423] has joined #scheme 10:37:02 yeah 10:37:08 just not at all how they're used in scheme 10:38:54 well, they are used implicitly 10:39:04 jao [n=jao@74.Red-80-24-4.staticIP.rima-tde.net] has joined #scheme 10:41:11 attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has joined #scheme 10:41:28 araujo [n=araujo@gentoo/developer/araujo] has joined #scheme 10:43:59 Riastradh: btw, your implementation of offsetof doesn't work. 10:45:15 #define offsetof(st, m) ((size_t) ((char*)&((st*)(0))->m - (char*)0)) 10:45:20 ... from wikipedia works. 10:46:40 -!- [[mark]] [n=mark@unaffiliated/mark/x-957811] has quit [Remote closed the connection] 10:51:35 athos [n=philipp@92.250.250.68] has joined #scheme 10:54:34 -!- Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has quit [] 11:09:05 underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has joined #scheme 11:10:28 -!- foof [n=user@clair10.naist.jp] has quit ["ERC Version 5.2 (IRC client for Emacs)"] 11:22:10 -!- synthase [n=synthase@68.63.48.10] has quit [Connection timed out] 11:22:53 dlt__ [n=dlt@201.80.187.243] has joined #scheme 11:25:16 alaricsp [n=alaricsp@88-202-213-29.rdns.as8401.net] has joined #scheme 11:26:31 foof [n=user@dn157-046.naist.jp] has joined #scheme 11:29:35 hadronzoo [n=hadronzo@ppp-70-250-199-181.dsl.rcsntx.swbell.net] has joined #scheme 11:41:22 -!- AtnNn [n=welcome@modemcable087.62-56-74.mc.videotron.ca] has quit ["foobar"] 11:41:26 orgy` [n=ratm_@pD9FFEF7A.dip.t-dialin.net] has joined #scheme 11:53:51 deat [n=deat@fac34-8-88-172-174-215.fbx.proxad.net] has joined #scheme 11:58:30 rmns [n=ramunas@78-61-90-37.static.zebra.lt] has joined #scheme 11:58:33 -!- rmns [n=ramunas@78-61-90-37.static.zebra.lt] has left #scheme 12:03:58 synthase [n=synthase@68.63.48.10] has joined #scheme 12:16:08 -!- rdd [n=rdd@c83-250-154-52.bredband.comhem.se] has quit [Remote closed the connection] 12:17:00 ASau`` [n=user@77.246.230.151] has joined #scheme 12:30:25 -!- underspecified [n=eric@isa7-dhcp-116-127.naist.jp] has quit [] 12:30:56 hiyuh [n=hiyuh@KD125054017176.ppp-bb.dion.ne.jp] has joined #scheme 12:34:20 -!- ASau` [n=user@host114-230-msk.microtest.ru] has quit [Read error: 110 (Connection timed out)] 12:43:50 dlt____ [n=dlt@201.80.187.243] has joined #scheme 12:46:29 -!- dlt__ [n=dlt@201.80.187.243] has quit [Read error: 60 (Operation timed out)] 12:46:32 ImInYourMonad2 [n=hask@h190n1c1o1097.bredband.skanova.com] has joined #scheme 12:46:35 if the first lisp was written in lisp, how did they write it? 12:58:32 -!- ImInYourMonad2 [n=hask@h190n1c1o1097.bredband.skanova.com] has quit [Read error: 104 (Connection reset by peer)] 13:01:28 -!- bsmntbombdood [n=gavin@97-118-131-23.hlrn.qwest.net] has quit [Read error: 113 (No route to host)] 13:02:23 bsmntbombdood [n=gavin@97-118-127-9.hlrn.qwest.net] has joined #scheme 13:10:11 Edico [n=Edico@unaffiliated/edico] has joined #scheme 13:11:27 dlt__ [n=dlt@201.80.187.243] has joined #scheme 13:12:42 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Read error: 113 (No route to host)] 13:21:40 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 13:21:50 dlt_ [n=dlt@201.80.187.243] has joined #scheme 13:25:15 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 13:26:01 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Client Quit] 13:28:22 langmartin [n=user@75.148.111.133] has joined #scheme 13:28:32 -!- dlt____ [n=dlt@201.80.187.243] has quit [Read error: 110 (Connection timed out)] 13:29:36 rdd [n=user@c83-250-154-52.bredband.comhem.se] has joined #scheme 13:36:13 -!- underspecified [n=eric@softbank220043052007.bbtec.net] has quit [Read error: 104 (Connection reset by peer)] 13:36:20 underspecified [n=eric@softbank220043052007.bbtec.net] has joined #scheme 13:39:13 -!- dlt__ [n=dlt@201.80.187.243] has quit [Read error: 110 (Connection timed out)] 13:39:48 hemulen [n=hemulen@cpe-069-134-114-252.nc.res.rr.com] has joined #scheme 13:42:12 annodomini [n=lambda@64.30.3.122] has joined #scheme 13:43:20 Dezlagrate [n=Dezlagra@unaffiliated/dezlagrate] has joined #scheme 13:48:51 dlt__ [n=dlt@201.80.187.243] has joined #scheme 13:51:12 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Read error: 60 (Operation timed out)] 13:59:49 mike_ [n=m@dslb-088-066-237-153.pools.arcor-ip.net] has joined #scheme 14:04:52 annodomini [n=lambda@130.189.179.215] has joined #scheme 14:05:41 kniu [n=kniu@DA-YU.RES.CMU.EDU] has joined #scheme 14:06:38 -!- jonrafkind [n=jon@c-98-202-86-149.hsd1.ut.comcast.net] has quit [Read error: 60 (Operation timed out)] 14:06:46 -!- dlt_ [n=dlt@201.80.187.243] has quit [Read error: 110 (Connection timed out)] 14:07:37 -!- mike_ is now known as Guest87589 14:13:05 -!- wasabi___ [n=wasabi@ntoska149014.oska.nt.ftth.ppp.infoweb.ne.jp] has quit ["Tiarra 0.1+svn-11365: SIGTERM received; exit"] 14:13:54 dlt____ [n=dlt@201.80.187.243] has joined #scheme 14:29:00 ejs [n=eugen@77.222.151.102] has joined #scheme 14:31:13 -!- dlt__ [n=dlt@201.80.187.243] has quit [Read error: 110 (Connection timed out)] 14:32:07 -!- ejs [n=eugen@77.222.151.102] has quit [Remote closed the connection] 14:36:24 ejs [n=eugen@77.222.151.102] has joined #scheme 14:48:33 jlongster [n=user@75.148.111.133] has joined #scheme 14:50:57 cracki [n=cracki@sglty.kawo2.RWTH-Aachen.DE] has joined #scheme 14:53:04 luz [n=davids@189.60.54.152] has joined #scheme 14:55:03 -!- SweetwaterDixon [n=user@210.48.104.34] has quit [Remote closed the connection] 14:55:14 SweetwaterDixon [n=user@210.48.104.34] has joined #scheme 14:56:11 -!- Jarvellis [n=jarv@dsl-217-155-101-22.zen.co.uk] has quit [Remote closed the connection] 15:05:07 deat_ [n=deat@fac34-8-88-172-174-215.fbx.proxad.net] has joined #scheme 15:09:07 JohnnyL [i=IHadToWr@ool-182f0b98.dyn.optonline.net] has joined #scheme 15:09:09 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 15:09:18 -!- JohnnyL [i=IHadToWr@ool-182f0b98.dyn.optonline.net] has left #scheme 15:09:38 alexeevg [n=alexeevg@skuns.zoral.com.ua] has joined #scheme 15:11:02 JohnnyL [i=IHadToWr@ool-182f0b98.dyn.optonline.net] has joined #scheme 15:11:12 -!- JohnnyL [i=IHadToWr@ool-182f0b98.dyn.optonline.net] has left #scheme 15:11:37 -!- Guest87589 [n=m@dslb-088-066-237-153.pools.arcor-ip.net] has quit ["This computer has gone to sleep"] 15:15:44 -!- synthase [n=synthase@68.63.48.10] has quit [Read error: 110 (Connection timed out)] 15:17:25 -!- ASau`` [n=user@77.246.230.151] has quit ["Uff!"] 15:21:32 -!- deat [n=deat@fac34-8-88-172-174-215.fbx.proxad.net] has quit [Read error: 110 (Connection timed out)] 15:26:04 Hello. 15:26:49 I've got a question regarding the dynamic extent of continuation captured with call/cc 15:27:10 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 15:27:55 -!- reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: 104 (Connection reset by peer)] 15:27:58 reprore_ [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 15:28:22 alexeevg: just ask 15:28:34 The sequence of commands (define kont #f)(call/cc (lambda (k) (set! kont k)))(display "before")(kont '())(display "after") loops forever if executed in context of a procedure, but successfully terminates if executed at top-level. I cannot an explanation in the report 15:29:02 er, I cannot _find_ and explanation 15:29:04 The continuation of the top-level isn't well define. 15:30:33 foof: I'm really bad at reading denotational semantics, but my reading of the section 7.2 of R5RS report is that top-level definitions are (semantically) wrapped in one top-level procedure 15:31:03 foof: so I don't understand why manually wrapping them by hand leads to different results 15:32:15 that's the definitions, not the continuation 15:33:28 hmm. 15:37:27 I'm looking at the clause "If P is a program in which all variables ... then the meaning of P is ...", page 40 of R5RS report. It seems to me that according to previous statement taking a program and wrapping it in one top-level procedure should preserve its meaning. But apparently this is not the case. 15:47:19 -!- mreggen [n=mreggen@cm-84.215.50.79.getinternet.no] has quit ["Lost terminal"] 15:51:25 neilv [n=user@dsl092-071-030.bos1.dsl.speakeasy.net] has joined #scheme 15:52:31 offby1 [n=user@q-static-138-125.avvanta.com] has joined #scheme 15:52:46 -!- neilv [n=user@dsl092-071-030.bos1.dsl.speakeasy.net] has quit [Client Quit] 15:55:00 proq [n=user@38.100.211.40] has joined #scheme 15:59:45 -!- alaricsp [n=alaricsp@88-202-213-29.rdns.as8401.net] has quit [Read error: 104 (Connection reset by peer)] 15:59:54 alaricsp [n=alaricsp@88-202-213-29.rdns.as8401.net] has joined #scheme 16:01:05 vixey [n=yoo@amcant.demon.co.uk] has joined #scheme 16:07:53 Pb_ [n=Pb@75.139.140.101] has joined #scheme 16:11:21 -!- alexeevg [n=alexeevg@skuns.zoral.com.ua] has left #scheme 16:14:29 dlt__ [n=dlt@201.80.187.243] has joined #scheme 16:19:30 -!- ejs [n=eugen@77.222.151.102] has quit ["Leaving"] 16:20:06 -!- dlt____ [n=dlt@201.80.187.243] has quit [Read error: 60 (Operation timed out)] 16:21:11 alexeevg [n=alexeevg@skuns.zoral.com.ua] has joined #scheme 16:21:16 -!- alexeevg [n=alexeevg@skuns.zoral.com.ua] has left #scheme 16:28:04 geckosenator [n=sean@71.237.94.78] has joined #scheme 16:31:15 am unsure of how to define a macro... 16:32:03 in what way? 16:32:22 I have (define-syntax glLetEnable (syntax-rules () ((glLetEnable (val ...) body ...) (begin (gl:Enable val) (gl:Enable ...) (begin body ...) (gl:Disable val) (gl:Disable ...))))) 16:32:46 In srfi/19 monotonic time is the equivalent to localtime, right? 16:32:58 ((gl:Disable val) ...) same for enable 16:33:16 and it will expand to multiple (gl:Disable ? 16:33:29 yes, and you dont need the outside ( ) 16:33:48 it read wrong :) 16:33:51 ok 16:34:16 (begin (gl:Disable val) ...) to be more correct :) 16:34:59 oh 16:35:20 so I need more begins too 16:35:47 but yes it's working now, thanks 16:36:16 I would probably use dynamic-wind instead 16:36:23 np :) 16:36:50 I haven't used dynamic-wind yet :-/ 16:37:00 anyway I have some funny macros for making opengl nicer 16:37:16 its like try/finally in OO languages 16:37:26 but much better 16:37:46 oh, I already have exceptions 16:38:11 I"m just glad I'm finally doing opengl in scheme 16:38:15 say in body, you escaped from some continuation, and want to return to it later, the 'context' will be restored 16:38:18 I wouldn't say much better, but it does mostly what you want. 16:38:20 I'm plotting gps coordinates too 16:38:26 I still like having unwind-protect myself. 16:38:56 pity my scheme does not support that :( some day :) 16:38:56 leppie: can't you just use another continuation to get back? 16:39:06 I think it's impossible to do unwind-protect in a deterministic fashion on a garbage collected system. 16:39:46 read the r5rs docs on dynamic-wind, it explains quite nice 16:39:46 You can say (collect-garbage), but will that always catch all unreachable values? 16:39:54 bweaver [n=user@75.148.111.133] has joined #scheme 16:40:10 If so then yeah, you can say "At this point in the code, I am sure X is finalized." 16:41:24 while an object is referenced, it cannot be garbage collected 16:42:31 dlt____ [n=dlt@201.80.187.243] has joined #scheme 16:43:23 bombshelter13p [n=bombshel@24.114.234.1] has joined #scheme 16:44:18 -!- bombshelter13p [n=bombshel@24.114.234.1] has quit [Client Quit] 16:45:00 bombshelter13p [n=bombshel@24.114.234.1] has joined #scheme 16:46:22 But while an object is unreferenced, it's hard to say that it definitely will be garbage collected. 16:47:45 Anyway I have the seconds in "local" time and I need them converted into a srfi/19 date structure. I'm not entirely sure how to do that...? 16:50:41 -!- bpalmer [n=user@unaffiliated/bpalmer] has quit ["ERC Version 5.0 (CVS) $Revision: 1.776 $ (IRC client for Emacs)"] 16:50:44 Do I just make a dummy date, multiply date-timestamp by 3600 and add it? That seems crude. 16:52:20 -!- bombshelter13p [n=bombshel@24.114.234.1] has quit [Read error: 104 (Connection reset by peer)] 16:52:21 bombshelter13p_ [n=bombshel@24.114.234.1] has joined #scheme 16:53:04 -!- bombshelter13p_ [n=bombshel@24.114.234.1] has quit [Client Quit] 16:54:48 there's some function or other. 16:55:44 rudybot [n=luser@q-static-138-125.avvanta.com] has joined #scheme 16:55:50 rudybot: doc srfi/19 16:55:51 offby1: your scheme sandbox is ready 16:55:56 offby1: not found in any library's documentation: srfi/19 16:56:09 rudybot: (require srfi/19) 16:56:09 offby1: eh? Try "rudybot: help". 16:56:12 rudybot: eval (require srfi/19) 16:56:13 offby1: error: file-or-directory-modify-seconds: `read' access denied for /home/erich/.plt-scheme/plt-prefs.ss 16:56:17 *sigh* 16:57:48 synx: time-monotonic->date 16:59:04 RageOfThou [n=RageOfTh@92.36.204.30] has joined #scheme 16:59:45 offby1: that seems to be right... 16:59:55 -!- dlt__ [n=dlt@201.80.187.243] has quit [Read error: 110 (Connection timed out)] 17:03:20 is there a procedure that does the same as "and" and "or" for use by apply? 17:03:23 -!- Modius [n=Modius@ppp-70-129-203-250.dsl.austtx.swbell.net] has quit [Read error: 104 (Connection reset by peer)] 17:03:54 Modius [n=Modius@ppp-70-129-203-250.dsl.austtx.swbell.net] has joined #scheme 17:04:03 no 17:04:42 well how else would I test if no member in a list is false? 17:04:47 instead of (apply and l) 17:04:51 write such procedures 17:05:06 hmm I suppose so 17:05:35 (fold (lambda (el acc) (and el acc)) #t lst) 17:06:39 -!- ineiros [n=ineiros@kosh.hut.fi] has quit [Remote closed the connection] 17:06:59 nice 17:07:08 that's shorter than what I had 17:08:16 FOLD is the answer to everything! 17:08:36 haha 17:09:29 alexeevg [n=alexeevg@skuns.zoral.com.ua] has joined #scheme 17:10:04 Modius_ [n=Modius@ppp-69-148-18-30.dsl.austtx.swbell.net] has joined #scheme 17:11:46 ineiros [n=ineiros@kosh.hut.fi] has joined #scheme 17:14:00 saccade [n=saccade_@COMBINATOR.MIT.EDU] has joined #scheme 17:15:54 ejs [n=eugen@116-108-112-92.pool.ukrtel.net] has joined #scheme 17:17:41 Kusanagi [n=Lernaean@unaffiliated/kusanagi] has joined #scheme 17:18:32 forcer [n=forcer@e179196163.adsl.alicedsl.de] has joined #scheme 17:22:10 -!- Modius [n=Modius@ppp-70-129-203-250.dsl.austtx.swbell.net] has quit [Connection timed out] 17:24:59 -!- alaricsp [n=alaricsp@88-202-213-29.rdns.as8401.net] has quit [] 17:28:26 Jarvellis [n=jarv@dsl-217-155-101-22.zen.co.uk] has joined #scheme 17:32:16 foof, oops, you're right. Yes, I forgot to convert to char * to count bytes. 17:33:41 -!- Modius_ [n=Modius@ppp-69-148-18-30.dsl.austtx.swbell.net] has quit [Read error: 104 (Connection reset by peer)] 17:34:12 lde [n=user@184-dzi-2.acn.waw.pl] has joined #scheme 17:34:13 Modius_ [n=Modius@ppp-69-148-18-30.dsl.austtx.swbell.net] has joined #scheme 17:34:33 dlt__ [n=dlt@201.80.187.243] has joined #scheme 17:37:25 dlt_ [n=dlt@201.80.187.243] has joined #scheme 17:38:23 Modius [n=Modius@adsl-67-67-216-234.dsl.austtx.swbell.net] has joined #scheme 17:39:06 -!- Modius [n=Modius@adsl-67-67-216-234.dsl.austtx.swbell.net] has quit [Read error: 131 (Connection reset by peer)] 17:40:35 -!- jao [n=jao@74.Red-80-24-4.staticIP.rima-tde.net] has quit [Read error: 110 (Connection timed out)] 17:45:02 -!- ttmrichter [n=ttmricht@219.140.250.105] has quit [Read error: 60 (Operation timed out)] 17:51:53 -!- dlt____ [n=dlt@201.80.187.243] has quit [Read error: 110 (Connection timed out)] 17:52:25 -!- Modius_ [n=Modius@ppp-69-148-18-30.dsl.austtx.swbell.net] has quit [Read error: 110 (Connection timed out)] 17:54:02 mike_ [n=m@dslb-088-066-236-174.pools.arcor-ip.net] has joined #scheme 17:54:18 -!- mike_ is now known as Guest86489 17:55:22 -!- dlt__ [n=dlt@201.80.187.243] has quit [Read error: 110 (Connection timed out)] 17:57:18 -!- Pb_ [n=Pb@75.139.140.101] has quit ["Leaving"] 18:22:56 -!- geckosenator [n=sean@71.237.94.78] has quit [Read error: 104 (Connection reset by peer)] 18:25:05 geckosenator [n=sean@71.237.94.78] has joined #scheme 18:27:41 geckosenator: for-all, and-map, and some other name I cant recall now all does that 18:27:52 (for-all values lst) 18:28:16 oh 18:28:40 oh it's every in srfi1 18:28:46 EVERY 18:29:35 mejja [n=user@c-4bb5e555.023-82-73746f38.cust.bredbandsbolaget.se] has joined #scheme 18:29:43 any, exists or or-map might be faster 18:30:35 ecraven [n=nex@140.78.42.103] has joined #scheme 18:31:00 will stop when #f is found, (exists not '(#t #t #f)) 18:32:19 jah [n=jah@91.55.198-77.rev.gaoland.net] has joined #scheme 18:46:08 fold is pretty amazing. I'm a big fan. 18:46:27 I must confess though, that I have yet to really wrap my head around unfold. 18:47:14 unfold is _awesome_ 18:47:24 choas [n=lars@p5B0DEAC3.dip.t-dialin.net] has joined #scheme 18:47:45 j85wilson: unfold is great too! It lets you create lists from any source of data. I use it a lot to simulate Python's list comprehensions with range() 18:48:13 schmalbe [n=bernhard@p549A01E7.dip0.t-ipconnect.de] has joined #scheme 18:48:23 rudybot: eval (unfold (lambda (i) (< i 6)) (lambda (i) (integer->char i)) (lambda (i) (+ i 1)) 0) 18:48:23 jlongster: your sandbox is ready 18:48:23 jlongster: error: reference to undefined identifier: unfold 18:48:34 rudybot: eval (require scheme/srfi1) 18:48:34 jlongster: error: default-load-handler: cannot open input file: "/usr/local/stow/plt-v4.1.4/lib/plt/collects/scheme/srfi1.ss" (No such file or directory; errno=2) 18:48:44 crap, I don't know PLT. 18:48:45 Like George Harrison said: 18:48:51 "I don't know why nobody told you 18:48:51 how to unfold." 18:49:09 lol 18:49:22 how I load srfi1 into rudybot? 18:52:03 rudybot: help 18:52:03 jlongster: help [], version, quote, source, seen , uptime, init [], eval ..., give ..., apropos ..., desc , doc , later "tell" ... 18:57:02 -!- hark [n=strider@hark.slew.org] has quit [Remote closed the connection] 18:59:30 rudybot: eval (require srfi/1) 18:59:31 j85wilson: your sandbox is ready 18:59:51 rudybot: eval (member 1 '(1 2 3)) 18:59:52 j85wilson: ; Value: (1 2 3) 18:59:55 ah 19:00:04 rudybot: eval (require srfi/1) 19:00:07 hmmm, member doesn't do what I thought it did. 19:00:22 rudybot: eval (unfold (lambda (i) (< i 6)) (lambda (i) 19:00:22 (integer->char i)) (lambda (i) (+ i 1)) 0) 19:00:22 jlongster: error: eval:1:29: read: expected a `)' to close `(' 19:01:00 rudybot: eval (display "minion: advice for rudybot") 19:01:00 j85wilson: ; stdout: "minion: advice for rudybot" 19:01:03 bah 19:01:34 rudybot: eval (unfold (lambda (i) (< i 6)) (lambda (i) (integer->char i)) (lambda (i) (+ i 1)) 0) 19:01:35 jlongster: ; Value: () 19:01:38 if I were writing a bot, I'd totally make it so it could have conversations with other bots. But with a delay so they wouldn't flood off. 19:01:59 rudybot: eval (unfold (lambda (i) (> i 6)) (lambda (i) (integer->char i)) (lambda (i) (+ i 1)) 0) 19:01:59 jlongster: ; Value: (#\nul #\u0001 #\u0002 #\u0003 #\u0004 #\u0005 #\u0006) 19:04:04 -!- jld [i=jld@166.84.1.5] has quit [Remote closed the connection] 19:04:06 -!- Judofyr [n=Judofyr@c349BBF51.dhcp.bluecom.no] has quit [Read error: 54 (Connection reset by peer)] 19:06:03 jld [i=jld@panix5.panix.com] has joined #scheme 19:06:11 Judofyr [n=Judofyr@c349BBF51.dhcp.bluecom.no] has joined #scheme 19:07:06 Judofyr_ [n=Judofyr@c349BBF51.dhcp.bluecom.no] has joined #scheme 19:11:37 -!- Elly [n=elly@unaffiliated/elly] has quit [Read error: 60 (Operation timed out)] 19:13:38 Elly [n=elly@PHYREXIA.RES.CMU.EDU] has joined #scheme 19:14:14 borism_ [n=boris@195-50-205-173-dsl.krw.estpak.ee] has joined #scheme 19:18:34 -!- jberg [n=johan@229.84-48-210.nextgentel.com] has quit [Read error: 60 (Operation timed out)] 19:19:17 -!- borism [n=boris@195-50-205-184-dsl.krw.estpak.ee] has quit [Read error: 145 (Connection timed out)] 19:22:02 dlt__ [n=dlt@201.80.187.243] has joined #scheme 19:22:15 -!- Judofyr [n=Judofyr@c349BBF51.dhcp.bluecom.no] has quit [Read error: 110 (Connection timed out)] 19:22:47 -!- jah [n=jah@91.55.198-77.rev.gaoland.net] has quit ["Quitte"] 19:32:56 j85wilson: You do that. I'll make you see why it's a bad idea... 19:34:19 -!- p1dzkl [i=p1dzkl@2001:470:1f09:979:0:0:0:14] has quit [Read error: 60 (Operation timed out)] 19:36:41 Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has joined #scheme 19:37:40 heh 19:39:48 -!- dlt_ [n=dlt@201.80.187.243] has quit [Read error: 110 (Connection timed out)] 19:39:57 Modius [n=Modius@ppp-70-243-83-162.dsl.austtx.swbell.net] has joined #scheme 19:54:37 davidad [n=me@RANDOM-FOUR-THIRTY-THREE.MIT.EDU] has joined #scheme 20:05:02 jao [n=jao@148.Red-83-39-135.dynamicIP.rima-tde.net] has joined #scheme 20:06:22 -!- maodun [n=stopgo@c-24-130-16-102.hsd1.ca.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 20:08:07 jberg [n=johan@229.84-48-210.nextgentel.com] has joined #scheme 20:09:33 -!- schmalbe [n=bernhard@p549A01E7.dip0.t-ipconnect.de] has quit [Remote closed the connection] 20:24:12 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 20:24:56 -!- Nshag [i=user@Mix-Orleans-106-2-87.w193-248.abo.wanadoo.fr] has quit [Remote closed the connection] 20:31:21 Pb_ [n=Pb@75.139.140.101] has joined #scheme 20:31:33 -!- reprore_ [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 20:31:40 -!- Pb_ [n=Pb@75.139.140.101] has left #scheme 20:34:01 aaco [n=aaco@unaffiliated/aaco] has joined #scheme 20:35:13 MichaelRaskin_1 [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 20:36:57 -!- Modius [n=Modius@ppp-70-243-83-162.dsl.austtx.swbell.net] has quit [Read error: 104 (Connection reset by peer)] 20:37:27 Modius [n=Modius@ppp-70-243-83-162.dsl.austtx.swbell.net] has joined #scheme 20:41:41 MichaelRaskin_2 [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 20:44:59 -!- langmartin [n=user@75.148.111.133] has quit [Read error: 113 (No route to host)] 20:47:40 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Read error: 110 (Connection timed out)] 20:48:37 Elly_ [n=elly@PHYREXIA.RES.CMU.EDU] has joined #scheme 20:50:00 -!- Elly [n=elly@unaffiliated/elly] has quit [Read error: 104 (Connection reset by peer)] 20:50:10 -!- Elly_ is now known as Elly 20:50:38 hark [n=strider@hark.slew.org] has joined #scheme 20:51:37 dlt____ [n=dlt@c91192dd.static.bhz.virtua.com.br] has joined #scheme 20:56:56 -!- MichaelRaskin_1 [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Read error: 110 (Connection timed out)] 20:59:06 -!- attila_lendvai [n=ati@business-89-132-61-222.business.broadband.hu] has quit ["..."] 21:00:09 neilv [n=user@dsl092-071-030.bos1.dsl.speakeasy.net] has joined #scheme 21:00:19 -!- neilv [n=user@dsl092-071-030.bos1.dsl.speakeasy.net] has quit [Client Quit] 21:00:27 neilv [n=user@dsl092-071-030.bos1.dsl.speakeasy.net] has joined #scheme 21:02:25 Modius_ [n=Modius@ppp-69-148-16-111.dsl.austtx.swbell.net] has joined #scheme 21:03:31 -!- Modius [n=Modius@ppp-70-243-83-162.dsl.austtx.swbell.net] has quit [Read error: 60 (Operation timed out)] 21:04:37 synthase [n=synthase@68.63.48.10] has joined #scheme 21:05:55 dum de dum 21:09:14 -!- dlt__ [n=dlt@201.80.187.243] has quit [Connection timed out] 21:12:06 MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 21:12:17 -!- jld is now known as xjld 21:13:09 reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 21:13:19 langmartin [n=user@75.148.111.133] has joined #scheme 21:13:30 -!- Judofyr_ [n=Judofyr@c349BBF51.dhcp.bluecom.no] has quit [Read error: 110 (Connection timed out)] 21:14:02 MichaelRaskin_1 [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has joined #scheme 21:14:38 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 21:14:39 jld [i=jld@kurobara.xlerb.net] has joined #scheme 21:15:09 JohnnyL [i=IHadToWr@ool-182f0b98.dyn.optonline.net] has joined #scheme 21:15:20 -!- JohnnyL [i=IHadToWr@ool-182f0b98.dyn.optonline.net] has left #scheme 21:15:34 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 21:15:44 -!- xjld [i=jld@panix5.panix.com] has quit ["leaving"] 21:17:01 -!- Arelius [n=Indy@netblock-68-183-230-134.dslextreme.com] has quit [] 21:18:03 -!- Guest86489 [n=m@dslb-088-066-236-174.pools.arcor-ip.net] has quit ["This computer has gone to sleep"] 21:24:34 -!- dlt____ [n=dlt@c91192dd.static.bhz.virtua.com.br] has quit [Read error: 110 (Connection timed out)] 21:28:31 -!- MichaelRaskin_ [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Read error: 110 (Connection timed out)] 21:29:28 kilimanjaro [n=kilimanj@70.116.95.163] has joined #scheme 21:33:53 Judofyr [n=Judofyr@c349BBF51.dhcp.bluecom.no] has joined #scheme 21:40:40 LA LA LA 21:41:10 ...uuhhhllll. 21:42:52 -!- MichaelRaskin_2 [n=raskin@gwh-1-177-mytn23k1.ln.rinet.ru] has quit [Read error: 110 (Connection timed out)] 21:43:31 yow! 21:44:58 -!- jlongster [n=user@75.148.111.133] has quit [Read error: 113 (No route to host)] 21:50:57 Quetzalcoatl_ [n=godless@cpe-71-72-235-91.cinci.res.rr.com] has joined #scheme 21:52:00 -!- ecraven [n=nex@140.78.42.103] has quit ["bbl"] 21:59:19 -!- Quetzalcoatl_ [n=godless@cpe-71-72-235-91.cinci.res.rr.com] has quit ["Leaving"] 22:00:01 -!- langmartin [n=user@75.148.111.133] has quit [Read error: 113 (No route to host)] 22:06:19 -!- Adamant [n=Adamant@unaffiliated/adamant] has quit [] 22:08:20 aaco_ [n=aaco@unaffiliated/aaco] has joined #scheme 22:10:58 Arelius [n=Indy@adsl-75-36-234-73.dsl.pltn13.sbcglobal.net] has joined #scheme 22:11:38 -!- jewel [n=jewel@dsl-242-138-129.telkomadsl.co.za] has quit [Read error: 113 (No route to host)] 22:12:49 Adamant [n=Adamant@c-76-29-188-22.hsd1.ga.comcast.net] has joined #scheme 22:14:44 -!- ejs [n=eugen@116-108-112-92.pool.ukrtel.net] has quit ["Leaving"] 22:16:50 mreggen [n=mreggen@cm-84.215.50.79.getinternet.no] has joined #scheme 22:18:25 -!- hadronzoo [n=hadronzo@ppp-70-250-199-181.dsl.rcsntx.swbell.net] has quit [] 22:24:50 -!- aaco [n=aaco@unaffiliated/aaco] has quit [Read error: 110 (Connection timed out)] 22:38:55 a-s [n=user@92.80.87.22] has joined #scheme 22:39:50 puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has joined #scheme 22:40:09 -!- annodomini [n=lambda@wikipedia/lambda] has quit [] 22:40:34 saccade_ [n=saccade@BRAIN-AND-COG-FIFTY-TWO.MIT.EDU] has joined #scheme 22:43:33 -!- aaco_ [n=aaco@unaffiliated/aaco] has quit ["Leaving"] 22:48:00 -!- reprore [n=reprore@ntkngw304058.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote closed the connection] 22:53:01 ttmrichter [n=ttmricht@59.172.140.144] has joined #scheme 23:05:14 annodomini [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 23:05:20 raikov [n=igr@203.181.243.11] has joined #scheme 23:06:21 annodomini_ [n=lambda@c-75-69-96-104.hsd1.nh.comcast.net] has joined #scheme 23:16:43 -!- hiyuh [n=hiyuh@KD125054017176.ppp-bb.dion.ne.jp] has quit ["|_ e /\ \/ i |/| G"] 23:20:29 -!- geckosenator [n=sean@71.237.94.78] has quit [Read error: 145 (Connection timed out)] 23:22:42 -!- puchacz [n=puchacz@87-194-5-99.bethere.co.uk] has quit [Remote closed the connection] 23:22:50 -!- LobsterMan is now known as LobsterMan_AFK 23:22:56 -!- annodomini [n=lambda@wikipedia/lambda] has quit [Read error: 110 (Connection timed out)] 23:24:20 -!- stepnem [n=xchat@topol.nat.praha12.net] has quit [Remote closed the connection] 23:42:34 stepnem [n=xchat@topol.nat.praha12.net] has joined #scheme 23:44:34 -!- stepnem [n=xchat@topol.nat.praha12.net] has quit [SendQ exceeded] 23:44:36 -!- neilv [n=user@dsl092-071-030.bos1.dsl.speakeasy.net] has quit ["Leaving"] 23:45:49 stepnem [n=xchat@topol.nat.praha12.net] has joined #scheme 23:48:30 geckosenator [n=sean@71.237.94.78] has joined #scheme 23:48:37 -!- saccade_ [n=saccade@BRAIN-AND-COG-FIFTY-TWO.MIT.EDU] has quit ["This computer has gone to sleep"] 23:48:39 man the macro stepper is whack. What's up with 5000 macro expansion passes? 23:48:40 -!- annodomini_ [n=lambda@wikipedia/lambda] has quit [] 23:50:16 -!- hkBst [n=hkBst@gentoo/developer/hkbst] has quit [Connection reset by peer] 23:50:45 gweiqi [n=greg@69.120.126.163] has joined #scheme 23:50:45 the filenames for stalin source need names it seems. stalin1.sc, stalin2.sc, stalin3a.sc, ...? 23:52:06 It wouldn't help much if they had more meaningful names. 23:54:01 -!- choas [n=lars@p5B0DEAC3.dip.t-dialin.net] has quit ["leaving"] 23:54:35 -!- stepnem [n=xchat@topol.nat.praha12.net] has quit [Remote closed the connection] 23:55:14 stepnem [n=xchat@topol.nat.praha12.net] has joined #scheme 23:56:25 AtnNn [n=welcome@modemcable087.62-56-74.mc.videotron.ca] has joined #scheme 23:56:41 -!- stepnem [n=xchat@topol.nat.praha12.net] has quit [SendQ exceeded] 23:56:46 joelmccracken_ [n=joelmccr@pool-96-236-231-39.pitbpa.east.verizon.net] has joined #scheme 23:57:08 -!- joelmccracken_ [n=joelmccr@pool-96-236-231-39.pitbpa.east.verizon.net] has left #scheme 23:57:49 stepnem [n=xchat@topol.nat.praha12.net] has joined #scheme 23:58:20 -!- athos [n=philipp@92.250.250.68] has quit [Remote closed the connection] 23:59:12 -!- geckosenator [n=sean@71.237.94.78] has quit [Read error: 104 (Connection reset by peer)]