00:04:33 eq? is quite useful sometimes (symbols, sentinel values) 00:05:27 Do you *really* need to distinguish two eqv?-but-not-eq? numbers in those use cases? 00:11:18 -!- MrFahrenheit [~RageOfTho@users-55-188.vinet.ba] has quit [Ping timeout: 240 seconds] 00:11:44 -!- shrewm [~shroom@li54-107.members.linode.com] has quit [Quit: changing servers] 00:11:45 asarch [~asarch@189.188.200.233] has joined #scheme 00:14:02 -!- mmc [~michal@109.117.134.68] has quit [Ping timeout: 245 seconds] 00:16:09 -!- masm [~masm@bl19-137-46.dsl.telepac.pt] has quit [Quit: Leaving.] 00:17:28 does anyone not merely grind their own coffee beans, but roast them as well? 00:17:29 nicktick [debian-tor@gateway/tor-sasl/nicktick] has joined #scheme 00:18:01 -!- asarch [~asarch@189.188.200.233] has quit [Remote host closed the connection] 00:19:34 chandler: eq? is mostly not useful for numbers, right 00:19:48 Is it useful at all? 00:24:02 imaginativeone [~imaginati@pool-108-56-161-252.washdc.fios.verizon.net] has joined #scheme 00:24:19 how do I get started using scheme? 00:24:28 htdp.org 00:24:36 -!- lvillani [~lvillani@fedora/lvillani] has quit [Quit: Leaving] 00:24:40 I accidentally bought "How to Design Programs" on Amazon 00:24:49 do'h! 00:24:56 $60 00:25:01 ugh 00:25:03 omfg.. can you get a refund? 00:25:04 hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 00:25:06 nope 00:25:22 at least it's a hardback 00:25:36 now I would like to know how to load scheme on Ubuntu 00:25:54 racket-lang.org 00:26:02 does the book show me how? 00:26:05 no 00:26:19 but basically just download a .sh fiel and run 'sh file.sh' 00:26:37 :-( 00:26:40 what does that mean? 00:26:57 do you know what the shell is 00:27:06 or, how long have you been using ubuntu for? 00:27:22 -!- hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 00:27:33 oh 00:27:34 Gosh, it'd be nice if there was a .deb provided for Racket. 00:27:39 I know what a shell it 00:27:43 is 00:28:13 there might be a deb for plt scheme...i dunno 00:28:47 there's something called "Guile" 00:28:52 I'm trying to figure it out 00:32:13 chandler: (define %not-found (list 'not-found)) (hashtable-update! my-hashtable 'key (lambda (old-value) (if (eq? old-value %not-found) (foo) (bar))) %not-found) 00:33:00 if you do not expose `%not-found' via your module API, this is reliable... 00:33:04 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 260 seconds] 00:34:52 the prometheus object system, for example, uses eq? for message equality; you can use this to implement "private" messages 00:36:13 mmc [~michal@109.112.4.241] has joined #scheme 00:37:06 (btw, the above snippet uses R6RS's `hashtable-update!') 00:40:39 imaginativeone: for HTDP, you probably really want PLT/Racket 00:41:04 Ubuntu probably (?) has a package 'drscheme' (at least Debian has) 00:41:57 It's called 'plt-scheme', actually. 00:42:27 right 00:45:33 it would indeed be nice if there'd be racket packages in time for squeeze... 00:48:38 rotty: What advantage does distinguishing certain numbers and characters that are `eqv?' have in that situation? 00:51:46 chandler: you talk numbers and characters exclusively? 00:53:26 In what other situation do `eq?' and `eqv?' differ? 00:54:49 Oh, right: empty vectors and empty strings. 00:54:57 Is that behavior useful to you? 00:55:31 Does your implementation provide some useful information in that case? 00:57:47 hmm, I concur, it looks like a speed hack 00:57:56 anyway, time for bed 00:59:25 Yes, it's a speed hack that provides a small constant improvement in performance in the situations where `eq?' is usefully defined. 01:01:14 rotty: that's unlikely. AFAIK racket isn't even in sid 01:03:10 There seem to be some compilation issues on MIPS too, which would prevent it from making it into squeeze. 01:06:47 drwho [~drwho@c-76-124-164-157.hsd1.pa.comcast.net] has joined #scheme 01:07:55 -!- nego [~nego@c-76-16-30-244.hsd1.il.comcast.net] has quit [Quit: Lost terminal] 01:17:51 / me moves to New Zealand: http://www.nzcs.org.nz/news/blog.php?/archives/97-.html 01:18:04 hey, where did that space come from? o_O 01:21:03 ooh, http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-844-computability-theory-of-and-with-scheme-spring-2003/calendar/ 01:21:04 -rudybot:#scheme- http://tinyurl.com/38ohc9p 01:21:12 *foof* thinks today is going to be a good day 01:22:03 despite the biker cutting me off and coming to a dead stop in front of me midway through the tallest, steepest hill on my route 01:23:20 -!- offby1 [~user@pdpc/supporter/monthlybyte/offby1] has quit [Remote host closed the connection] 01:23:30 ecloud [~rutledge@ip72-208-148-56.ph.ph.cox.net] has joined #scheme 01:23:33 offby1 [~user@pdpc/supporter/monthlybyte/offby1] has joined #scheme 01:29:42 jcowan [~John@cpe-98-14-172-204.nyc.res.rr.com] has joined #scheme 01:30:30 -!- kuribas [~user@d54C436D0.access.telenet.be] has left #scheme 01:31:20 hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 01:31:53 aidalgol [~user@202.36.179.65] has joined #scheme 01:33:17 hoi 01:34:38 hai 01:34:59 is there a "scheme for dummies"? 01:35:46 Scheme in Fixnum Days is perhaps an approximation. 01:36:00 I second that. 01:36:58 But if you don't already know a programming language, then I don't recommend learning Lisp. 01:37:21 Why should you think yourself inferior to generations of MIT students? 01:37:27 It's weird, but worth it, but you should have something to compare it to (in my opinion). 01:38:08 *jcowan* nods. 01:39:28 I have some facility with C# and Java 01:39:40 VB, VB.NET 01:39:58 VBA, VBScript, JavaScript 01:40:00 VB is interactive (I think), so that's good. 01:40:08 excellent 01:40:13 imaginativeone: Perl, Python, Ruby? 01:40:24 Perl, yes 01:40:33 no Python or Ruby yet 01:40:35 OK, yer ready fer Lisp. 01:40:42 thanks! 01:40:48 almost forgot: PHP 01:40:56 (Well, as ready as one can ever be for such weirdness.) ;) 01:41:11 Lisp CERTAINLY looks different 01:41:25 even more different than Objective-C 01:43:09 acarrico [~acarrico@pppoe-68-142-61-242.gmavt.net] has joined #scheme 01:43:37 neilv [~user@dsl092-071-029.bos1.dsl.speakeasy.net] has joined #scheme 01:46:13 imaginativeone: You may also want to read some of the articles on Lisp that are on the web (blog posts, mostly) to get an idea of what it's good for, how it's better than more popular or "conventional" languages 01:46:15 -!- hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 01:49:43 -!- mmc [~michal@109.112.4.241] has quit [Ping timeout: 260 seconds] 01:50:44 mmc [~michal@109.112.4.241] has joined #scheme 01:54:06 davazp [~user@83.55.180.105] has joined #scheme 01:55:03 shrewm [~shroom@li54-107.members.linode.com] has joined #scheme 01:56:17 -!- shrewm [~shroom@li54-107.members.linode.com] has quit [Client Quit] 01:58:48 metasyntax [~taylor@72.86.89.174] has joined #scheme 02:01:32 "Bad programming is easy. Idiots can learn it in 21 days, even if they are Dummies." :0( 02:03:44 -!- mmc [~michal@109.112.4.241] has quit [Ping timeout: 252 seconds] 02:07:04 asarch [~asarch@189.188.153.164] has joined #scheme 02:08:16 -!- neilv [~user@dsl092-071-029.bos1.dsl.speakeasy.net] has quit [Quit: Leaving] 02:09:28 -!- aidalgol [~user@202.36.179.65] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 02:10:47 -!- Dawgmatix [~dman@c-76-124-9-27.hsd1.nj.comcast.net] has quit [Quit: Ex-Chat] 02:17:04 ros3 [~roselynro@70-36-146-7.dsl.dynamic.sonic.net] has joined #scheme 02:20:56 -!- asarch [~asarch@189.188.153.164] has quit [Quit: Leaving] 02:23:04 aidalgol [~user@202.36.179.65] has joined #scheme 02:24:11 mmc [~michal@109.117.141.50] has joined #scheme 02:24:17 -!- imaginativeone [~imaginati@pool-108-56-161-252.washdc.fios.verizon.net] has quit [Ping timeout: 265 seconds] 02:24:38 neilv [~user@dsl092-071-029.bos1.dsl.speakeasy.net] has joined #scheme 02:38:08 -!- aidalgol [~user@202.36.179.65] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 02:38:46 aidalgol [~user@202.36.179.65] has joined #scheme 02:40:32 Jafet [~Jafet@51.92.48.60.kmr02-home.tm.net.my] has joined #scheme 02:41:22 -!- Jafet [~Jafet@51.92.48.60.kmr02-home.tm.net.my] has quit [Changing host] 02:41:22 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 02:45:48 -!- m`` [~m@usealice.org] has quit [Quit: alice.] 02:46:06 m`` [~m@usealice.org] has joined #scheme 02:47:59 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 02:48:36 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 02:52:34 timj_ [~timj@e176193128.adsl.alicedsl.de] has joined #scheme 02:56:07 -!- timj__ [~timj@e176195115.adsl.alicedsl.de] has quit [Ping timeout: 245 seconds] 02:56:23 Dawgmatix [~dman@c-76-124-9-27.hsd1.nj.comcast.net] has joined #scheme 02:56:35 -!- luz [~davids@189.60.69.82] has quit [Quit: Client exiting] 03:01:37 xissburg [~chatzilla@187.3.15.63] has joined #scheme 03:05:44 DrDuck [~miles@adsl-67-170-242.shv.bellsouth.net] has joined #scheme 03:11:26 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 03:18:41 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 03:19:40 soupdragon [~quantum@unaffiliated/fax] has joined #scheme 03:22:31 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 03:23:47 bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has joined #scheme 03:24:15 toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has joined #scheme 03:26:41 -!- ros3 [~roselynro@70-36-146-7.dsl.dynamic.sonic.net] has quit [Quit: ros3] 03:28:14 how do I tell chicken to compile something using an egg? 03:29:04 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 03:30:03 I tried this: (require-extension glut) (glut:CreateWindow "simple") 03:30:04 but that doesn't work 03:30:13 it says Error: unbound variable: glut:CreateWindow 03:31:18 katesmith_ [~katesmith@75-138-209-215.dhcp.snfr.nc.charter.com] has joined #scheme 03:31:37 sorry ths does work, nvm 03:34:21 -!- katesmith [~katesmith@unaffiliated/costume] has quit [Ping timeout: 258 seconds] 03:35:25 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 276 seconds] 03:42:58 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has left #scheme 03:45:01 -!- jcowan [~John@cpe-98-14-172-204.nyc.res.rr.com] has left #scheme 03:46:14 -!- wbooze [~user@xdsl-78-34-236-118.netcologne.de] has quit [Read error: Operation timed out] 03:46:43 wbooze- [~user@xdsl-78-34-255-57.netcologne.de] has joined #scheme 03:47:25 hohoho [~hohoho@p4ae269.tokynt01.ap.so-net.ne.jp] has joined #scheme 03:48:33 -!- homie [~user@xdsl-78-34-236-118.netcologne.de] has quit [Ping timeout: 240 seconds] 03:51:28 -!- e-future [~e-future@unaffiliated/sergio/x-8197433] has quit [Ping timeout: 240 seconds] 03:52:46 asarch [~asarch@187.132.135.196] has joined #scheme 03:53:36 e-future [~e-future@unaffiliated/sergio/x-8197433] has joined #scheme 04:04:22 -!- leppie [~lolcow@196-215-36-144.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 04:04:58 leppie [~lolcow@196-215-36-144.dynamic.isadsl.co.za] has joined #scheme 04:06:41 -!- pjb [~t@81.202.16.46.dyn.user.ono.com] has quit [Remote host closed the connection] 04:07:56 -!- xissburg [~chatzilla@187.3.15.63] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.6/20100625231939]] 04:08:03 MichaelRaskin [~MichaelRa@pantagruel.mccme.ru] has joined #scheme 04:08:21 pjb [~t@81.202.16.46.dyn.user.ono.com] has joined #scheme 04:09:08 -!- aidalgol [~user@202.36.179.65] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 04:12:14 zmyrgel [~user@hoasnet-fe22dd00-59.dhcp.inet.fi] has joined #scheme 04:23:39 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 04:27:05 -!- asarch [~asarch@187.132.135.196] has quit [Quit: Leaving] 04:33:03 -!- soupdragon [~quantum@unaffiliated/fax] has quit [Quit: soupdragon] 04:36:31 -!- foof [~user@lain.inunome.com] has quit [Read error: Connection reset by peer] 04:36:44 foof [~user@lain.inunome.com] has joined #scheme 04:39:06 -!- nicktick [debian-tor@gateway/tor-sasl/nicktick] has quit [Remote host closed the connection] 04:45:39 anyone can give advice on designing IR for a compiler, and possibly on choosing/combining ANF/CPS/other? 04:47:49 jonrafkind [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has joined #scheme 04:57:49 -!- foof [~user@lain.inunome.com] has quit [Read error: No route to host] 04:57:59 foof [~user@lain.inunome.com] has joined #scheme 05:02:48 -!- foof [~user@lain.inunome.com] has quit [Ping timeout: 260 seconds] 05:11:31 schmir [~schmir@mail.brainbot.com] has joined #scheme 05:21:50 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 05:23:37 -!- mmc [~michal@109.117.141.50] has quit [Ping timeout: 245 seconds] 05:24:39 foof [~user@lain.inunome.com] has joined #scheme 05:28:44 madmuppet [~alexander@203-211-97-90.ue.woosh.co.nz] has joined #scheme 05:32:36 -!- bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has quit [Quit: If only your veins were filled with oil, the world would rush to your rescue!] 05:37:42 ros3 [~roselynro@70-36-146-7.dsl.dynamic.sonic.net] has joined #scheme 05:37:52 -!- ros3 [~roselynro@70-36-146-7.dsl.dynamic.sonic.net] has quit [Client Quit] 05:42:19 IJP [~Ian@host86-185-214-37.range86-185.btcentralplus.com] has joined #scheme 05:43:33 -!- ysph [~user@75-143-70-52.dhcp.aubn.al.charter.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 05:44:25 -!- IJP_ [~Ian@host86-185-214-37.range86-185.btcentralplus.com] has quit [Ping timeout: 276 seconds] 05:45:32 I have been doing some problems out of common lisp a gentle introduction to symbolic computation and came across one asking to write an and using cond .. I managed to do that but after trying to write a function closer to whats in the book I get an error .. can anyone have a look and let me know what Im doing wrong here thanks .. code is at http://pastebin.com/SNm56Spc 05:46:39 madmuppet: cond needs "else" 05:47:14 I never saw (#t #t) (though, well, it works :P) 05:47:38 Also, in the second, you call the function Y 05:47:49 -!- davazp [~user@83.55.180.105] has quit [Read error: Connection reset by peer] 05:47:51 and the function X too 05:48:10 You want (cond (x y) (else #f)) 05:48:58 Axioplase_:yeah logic being if x is true it calls y which if true should return #t I think .. ok will look at that .. not sure on how it works yet though 05:49:06 nonono 05:49:16 madmuppet: you mistake functions and values. 05:49:21 You don't call a value. 05:49:42 s/mistake/mix 05:50:31 if you have brackets around a variable name, it means you "FUNCALL" it. 05:51:10 if x is #t, then x is obviously #t, and (x) evaluates to an error because #t is not a function. 05:51:58 ok so thats why its cond(x y) instead of cond((x)(y)) 05:53:59 I have tried it and the code works fine .. thanks 05:59:07 of course it works fine :) 06:00:09 :p 06:06:55 -!- jonrafkind [~jon@c-67-172-254-235.hsd1.ut.comcast.net] has quit [Ping timeout: 265 seconds] 06:14:47 HG` [~HG@xdsl-92-252-121-122.dip.osnanet.de] has joined #scheme 06:15:32 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Remote host closed the connection] 06:28:26 nicktick [debian-tor@gateway/tor-sasl/nicktick] has joined #scheme 06:30:57 -!- madmuppet [~alexander@203-211-97-90.ue.woosh.co.nz] has quit [Ping timeout: 240 seconds] 06:32:49 waltermai [~walt@c-68-54-64-79.hsd1.fl.comcast.net] has joined #scheme 06:34:56 -!- neilv [~user@dsl092-071-029.bos1.dsl.speakeasy.net] has quit [Quit: Leaving] 06:36:02 (map - '(1 1 1 1) '(2 4 6 9)) returns '(-1 -3 -5 -8). Why doesn't it return '(1 3 5 8)? 06:36:19 ahh, the order is backwards! 06:36:49 thanks guys. ;) 06:37:08 (- x) returns the additive inverse of x 06:37:32 oh, nm. gotcha 06:37:46 (i shouldn't answer questions late at night, eyes don't work) 06:38:48 i shouldn't ask them, mine don't either. as soon as I asked it I realized what a stupid question it was. 06:41:20 hell yeah, that stupid mistake took me hours to debug. geez. 06:50:04 fradgers- [~fradgers-@5adb10a1.bb.sky.com] has joined #scheme 06:50:09 -!- rtra [~rtra@unaffiliated/rtra] has quit [Ping timeout: 240 seconds] 06:50:40 pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has joined #scheme 06:52:21 Blkt [~user@dynamic-adsl-78-13-247-126.clienti.tiscali.it] has joined #scheme 06:57:58 malcolmci [~malcolmci@203.171.96.17.static.rev.aanet.com.au] has joined #scheme 07:05:46 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 07:16:34 -!- TR2N [email@89-180-146-175.net.novis.pt] has left #scheme 07:20:40 -!- toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has quit [Quit: toast`] 07:39:42 rdd [~rdd@c83-250-52-182.bredband.comhem.se] has joined #scheme 07:43:30 rbarraud [~rbarraud@118-93-182-31.dsl.dyn.ihug.co.nz] has joined #scheme 07:45:58 gravicappa [~gravicapp@80.90.116.82] has joined #scheme 07:53:41 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Quit: snarkyboojum] 07:54:26 aidalgol [~user@114-134-6-5.rurallink.co.nz] has joined #scheme 07:54:37 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 07:56:02 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Client Quit] 08:02:19 -!- aidalgol [~user@114-134-6-5.rurallink.co.nz] has quit [Quit: Eh... dinner time.] 08:03:42 how can I display values of 3 symbols with scheme? 08:06:52 rudybot: (display "values of 3 symbols with scheme?") 08:06:56 foof: It's more than the standard: once you implement a Scheme (and you take care of hygiene), you reazlize that "identifiers" are roughly "symbols + lexical scope", where lexical scope is some opaque type. 08:13:11 masm [~masm@2.80.150.11] has joined #scheme 08:15:53 drwhat [~drwho@c-76-124-164-157.hsd1.pa.comcast.net] has joined #scheme 08:16:07 -!- drwhat [~drwho@c-76-124-164-157.hsd1.pa.comcast.net] has quit [Client Quit] 08:19:09 -!- drwho [~drwho@c-76-124-164-157.hsd1.pa.comcast.net] has quit [Ping timeout: 246 seconds] 08:20:41 homie [~user@xdsl-78-34-255-57.netcologne.de] has joined #scheme 08:22:24 -!- Dawgmatix [~dman@c-76-124-9-27.hsd1.nj.comcast.net] has quit [Quit: Ex-Chat] 08:22:50 -!- wbooze- [~user@xdsl-78-34-255-57.netcologne.de] has quit [Remote host closed the connection] 08:22:57 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 08:26:05 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 08:34:20 -!- pjb [~t@81.202.16.46.dyn.user.ono.com] has quit [Quit: erc lost font-locking again. It was along time!] 08:35:26 pjb [~t@81.202.16.46.dyn.user.ono.com] has joined #scheme 08:42:18 rbarraud_ [~rbarraud@118-93-80-222.dsl.dyn.ihug.co.nz] has joined #scheme 08:44:29 -!- rbarraud [~rbarraud@118-93-182-31.dsl.dyn.ihug.co.nz] has quit [Ping timeout: 264 seconds] 08:48:35 rbarraud__ [~rbarraud@118-93-20-163.dsl.dyn.ihug.co.nz] has joined #scheme 08:49:36 -!- rbarraud_ [~rbarraud@118-93-80-222.dsl.dyn.ihug.co.nz] has quit [Ping timeout: 260 seconds] 08:56:04 does anyone know if the lalr-scm parser expects a three-value token or a two value pair from the lexer? 08:56:29 anywhere and everywhere its written "two" but it does not work so I wonder about the location value. 08:57:58 rbarraud [~rbarraud@118-93-79-212.dsl.dyn.ihug.co.nz] has joined #scheme 08:59:16 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 09:00:11 -!- rbarraud__ [~rbarraud@118-93-20-163.dsl.dyn.ihug.co.nz] has quit [Ping timeout: 258 seconds] 09:08:37 -!- Blkt [~user@dynamic-adsl-78-13-247-126.clienti.tiscali.it] has quit [Ping timeout: 245 seconds] 09:11:22 slom [~sloma@port-87-234-239-162.static.qsc.de] has joined #scheme 09:12:07 -!- xwl_ [~user@esprx01x.nokia.com] has quit [Ping timeout: 276 seconds] 09:12:56 -!- ToxicFrog [~ToxicFrog@2607:f2c0:f00e:500:222:15ff:fe91:b24c] has quit [Ping timeout: 260 seconds] 09:14:33 nowhereman [~pierre@AStrasbourg-551-1-83-37.w81-51.abo.wanadoo.fr] has joined #scheme 09:14:52 -!- nowhere_man [~pierre@AStrasbourg-551-1-37-212.w92-148.abo.wanadoo.fr] has quit [Ping timeout: 245 seconds] 09:18:33 rbarraud_ [~rbarraud@118-92-139-164.dsl.dyn.ihug.co.nz] has joined #scheme 09:18:48 kephas [~pierre@AStrasbourg-551-1-83-37.w81-51.abo.wanadoo.fr] has joined #scheme 09:19:56 -!- nowhereman [~pierre@AStrasbourg-551-1-83-37.w81-51.abo.wanadoo.fr] has quit [Ping timeout: 260 seconds] 09:20:53 -!- rbarraud [~rbarraud@118-93-79-212.dsl.dyn.ihug.co.nz] has quit [Ping timeout: 258 seconds] 09:21:38 ToxicFrog [~ToxicFrog@2607:f2c0:f00e:500:222:15ff:fe91:b24c] has joined #scheme 09:21:53 mmc [~michal@109.116.179.83] has joined #scheme 09:26:16 rbarraud__ [~rbarraud@118-93-76-91.dsl.dyn.ihug.co.nz] has joined #scheme 09:28:10 -!- waltermai [~walt@c-68-54-64-79.hsd1.fl.comcast.net] has quit [Quit: Leaving] 09:28:28 aidalgol [~user@114-134-6-5.rurallink.co.nz] has joined #scheme 09:29:42 -!- rbarraud_ [~rbarraud@118-92-139-164.dsl.dyn.ihug.co.nz] has quit [Ping timeout: 258 seconds] 09:31:07 -!- malcolmci [~malcolmci@203.171.96.17.static.rev.aanet.com.au] has quit [Ping timeout: 245 seconds] 09:31:59 xwl_ [~user@esprx01x.nokia.com] has joined #scheme 09:33:25 -!- leppie [~lolcow@196-215-36-144.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 09:33:58 leppie [~lolcow@196-215-36-144.dynamic.isadsl.co.za] has joined #scheme 09:44:24 malcolmci [~malcolmci@203.171.96.17.static.rev.aanet.com.au] has joined #scheme 09:49:17 -!- mmc [~michal@109.116.179.83] has quit [Ping timeout: 264 seconds] 09:50:47 mmc [~michal@109.112.64.73] has joined #scheme 09:57:44 -!- HG` [~HG@xdsl-92-252-121-122.dip.osnanet.de] has quit [Ping timeout: 260 seconds] 09:59:14 HG` [~HG@xdsl-92-252-121-122.dip.osnanet.de] has joined #scheme 10:10:03 -!- jmcphers [~jmcphers@218.185.108.156] has quit [Remote host closed the connection] 10:13:53 dzhus [~sphinx@89-178-231-123.broadband.corbina.ru] has joined #scheme 10:20:10 -!- nicktick [debian-tor@gateway/tor-sasl/nicktick] has quit [Remote host closed the connection] 10:25:00 mbohun [~mbohun@ppp115-156.static.internode.on.net] has joined #scheme 10:30:39 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Remote host closed the connection] 10:45:06 -!- masm [~masm@2.80.150.11] has quit [Quit: Leaving.] 10:52:01 -!- aidalgol [~user@114-134-6-5.rurallink.co.nz] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 11:11:18 Komi [Komi@83.231.89.166] has joined #scheme 11:13:34 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 11:15:45 kar8nga [~kar8nga@78.104.80.251] has joined #scheme 11:15:46 -!- kar8nga [~kar8nga@78.104.80.251] has quit [Read error: Connection reset by peer] 11:18:07 -!- bipt [~bpt@cl-851.chi-02.us.sixxs.net] has quit [Read error: Operation timed out] 11:22:24 -!- zmyrgel [~user@hoasnet-fe22dd00-59.dhcp.inet.fi] has quit [Remote host closed the connection] 11:30:41 Owner [~user@c-69-251-172-246.hsd1.md.comcast.net] has joined #scheme 11:30:57 -!- Owner [~user@c-69-251-172-246.hsd1.md.comcast.net] has quit [Client Quit] 11:37:03 alvatar [~alvatar@75.233.218.87.dynamic.jazztel.es] has joined #scheme 11:40:01 xwl [~user@123.115.121.249] has joined #scheme 11:46:23 -!- xwl [~user@123.115.121.249] has quit [Remote host closed the connection] 11:47:39 -!- slom [~sloma@port-87-234-239-162.static.qsc.de] has quit [Remote host closed the connection] 11:48:28 -!- hohoho [~hohoho@p4ae269.tokynt01.ap.so-net.ne.jp] has quit [Ping timeout: 258 seconds] 11:51:01 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 12:02:56 xwl [~user@123.115.121.249] has joined #scheme 12:22:14 kar8nga [~kar8nga@78.104.81.94] has joined #scheme 12:23:48 -!- schmir [~schmir@mail.brainbot.com] has quit [Remote host closed the connection] 12:41:10 MrFahrenheit [~RageOfTho@users-33-21.vinet.ba] has joined #scheme 12:42:22 -!- jao [~user@14.Red-88-6-167.staticIP.rima-tde.net] has quit [Ping timeout: 245 seconds] 12:48:26 Cheery [~cheery@a88-113-49-213.elisa-laajakaista.fi] has joined #scheme 12:49:14 what do they call the compilers that compile directly into memory? JIT? or is there yet separate definition for them 12:49:45 Cheery: i don't think they call them anything special 12:49:59 you can compile to bytecodes in memory too 12:50:39 yep. native machine code I'm after for here. though I look for existing approaches I could build on. 12:50:54 the classification is more about "when" do they compile and to "what" (in the sense of machine code, bytecode, closures, etc) 12:51:27 and compiling in program load 12:56:07 a JIT usually refers to a compiler that dinamically compile the program as it runs 12:56:51 yeh.. though I'm also interested about inline caching 12:57:14 but I'm not sure it's compiling. 12:57:24 schmir [~schmir@mail.brainbot.com] has joined #scheme 12:57:31 it's just an optimization technique 12:57:36 -!- schmir [~schmir@mail.brainbot.com] has quit [Remote host closed the connection] 12:57:39 you can do inline caching in an intepreter too 12:58:17 yes, though it's even more like program adjustment in runtime. I don't see it as compiling as it. 12:58:23 also the boundaries between interpreter/compiler are sometimes blurry 12:58:39 many of the optimizations a compiler does are applicable to interpreters too 12:58:52 that's fun to know. 12:58:55 and if you are changing with them the internal representation of the code 12:59:10 you can say you are compiling the code 12:59:23 granted, not machine code, but another representation or a different form 13:00:11 yep. 13:01:05 I wonder most about depositing and linking the stuff I'll end up compiling. 13:01:20 I'll need PROT_EXEC -flagged memory region for executing my code 13:01:36 and the program I'll position and link should keep it's origin. 13:01:40 -!- homie [~user@xdsl-78-34-255-57.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:01:56 also, I may link to items that aren't yet deposited into memory 13:02:33 -!- alvatar [~alvatar@75.233.218.87.dynamic.jazztel.es] has quit [Quit: Lost terminal] 13:04:52 homie [~user@xdsl-78-34-255-57.netcologne.de] has joined #scheme 13:07:18 Cheery: what are you writing a compiler for? 13:08:19 I'm not sure yet. 13:08:24 dynamic language 13:08:31 dynamically typed one. 13:09:23 I'll try write something that'd be nicer to use than the ones I've been using. 13:09:45 haven't given restrictions on what it might be. 13:11:51 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [Quit: snarkyboojum] 13:12:14 i think you'd be better designing the language first 13:12:26 before even writing a line of code 13:12:52 been done that before. I don't like it because I miss all the possibilities of improvement. 13:13:12 rather trying out different things 13:18:59 hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 13:21:41 -!- homie [~user@xdsl-78-34-255-57.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:24:20 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 265 seconds] 13:42:22 Jafet [~Jafet@unaffiliated/jafet] has joined #scheme 13:44:29 -!- mmc [~michal@109.112.64.73] has quit [Ping timeout: 264 seconds] 13:44:54 I know this can be done in scheme, but I forget where in the docs I saw it; creating functions that accept an arbitrary number of arguments. 13:45:10 tommylommykins [~tommylomm@5ad2c149.bb.sky.com] has joined #scheme 13:45:18 rudybot: eval ((lambda x x) 1 2 3 4 5 6) 13:45:18 chandler: ; Value: (1 2 3 4 5 6) 13:45:48 ?? 13:46:01 That's valid scheme? 13:46:13 Yes, it is! 13:46:15 homie [~user@xdsl-78-34-255-57.netcologne.de] has joined #scheme 13:46:18 hm 13:46:38 sunnyps [~sunny@174.snat-111-91-110.hns.net.in] has joined #scheme 13:48:50 I don't understand exactly (lambda x x) does. Usually I'd see (lambda (x) x) 13:49:48 Take a look at r5rs 13:49:59 it's a lambda expression of any arguments 13:50:22 such that x is a list of all the arguments 13:50:30 Ah 13:51:20 you also could: (define list (lambda x x)) 13:51:55 Yeah but isn't that redundant? 13:52:19 is just another definition of the "list" primitive 13:52:29 Right 13:54:36 but that doesn't define what a list is? 13:54:46 it defines a list in terms of lists? 13:55:52 so wouldn't generating a list result in infinite recursion? 13:56:14 Because creating a list involves evaluating (lambda x x), which involves creating a list? 13:56:45 *tommylommykins* -> interpreter 13:58:25 -!- gravicappa [~gravicapp@80.90.116.82] has quit [Ping timeout: 258 seconds] 13:58:46 -!- leppie [~lolcow@196-215-36-144.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 13:59:21 leppie [~lolcow@196-215-36-144.dynamic.isadsl.co.za] has joined #scheme 14:02:59 Unless (lambda x x) generates a list without calling list? 14:17:47 -!- katesmith_ is now known as katesmith 14:17:58 -!- katesmith [~katesmith@75-138-209-215.dhcp.snfr.nc.charter.com] has quit [Changing host] 14:17:58 katesmith [~katesmith@unaffiliated/costume] has joined #scheme 14:20:14 anyone knows how can I tell lalr-scm to stop if it gets EOF from the lexer? in yacc its yyterminate() 14:22:55 -!- HG` [~HG@xdsl-92-252-121-122.dip.osnanet.de] has quit [Quit: Leaving.] 14:23:57 -!- eldragon [~eldragon@84.79.67.254] has quit [Ping timeout: 265 seconds] 14:31:37 eldragon [~eldragon@84.79.67.254] has joined #scheme 14:34:23 toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has joined #scheme 14:45:56 asarch [~asarch@189.188.158.174] has joined #scheme 14:52:18 -!- e-future [~e-future@unaffiliated/sergio/x-8197433] has quit [Ping timeout: 240 seconds] 14:54:12 e-future [~e-future@unaffiliated/sergio/x-8197433] has joined #scheme 14:59:32 -!- eldragon [~eldragon@84.79.67.254] has quit [Read error: Connection reset by peer] 15:02:16 eldragon [~eldragon@84.79.67.254] has joined #scheme 15:12:09 nicktick [debian-tor@gateway/tor-sasl/nicktick] has joined #scheme 15:13:01 schmir [~schmir@p54A9283A.dip0.t-ipconnect.de] has joined #scheme 15:13:31 -!- toast` [~toast`@c-71-231-102-232.hsd1.wa.comcast.net] has quit [Quit: toast`] 15:16:17 -!- tommylommykins [~tommylomm@5ad2c149.bb.sky.com] has quit [] 15:16:34 tommylommykins [~tommylomm@5ad2c149.bb.sky.com] has joined #scheme 15:34:15 -!- MichaelRaskin [~MichaelRa@pantagruel.mccme.ru] has quit [Remote host closed the connection] 15:36:43 R3cur51v3 [~Recursive@rrcs-97-77-55-38.sw.biz.rr.com] has joined #scheme 15:37:16 lvillani [~lvillani@fedora/lvillani] has joined #scheme 15:39:48 -!- sunnyps [~sunny@174.snat-111-91-110.hns.net.in] has quit [Ping timeout: 260 seconds] 15:39:56 -!- Nils^ [steele@beegees.mtveurope.org] has left #scheme 15:45:05 -!- schmir [~schmir@p54A9283A.dip0.t-ipconnect.de] has quit [Ping timeout: 264 seconds] 15:46:05 bipt [~bpt@cl-851.chi-02.us.sixxs.net] has joined #scheme 15:47:18 -!- lvillani [~lvillani@fedora/lvillani] has quit [Ping timeout: 240 seconds] 15:48:30 -!- asarch [~asarch@189.188.158.174] has quit [Quit: Leaving] 15:50:53 -!- pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has quit [Ping timeout: 260 seconds] 15:51:33 pdelgallego [~pdelgalle@1503031474.dhcp.dbnet.dk] has joined #scheme 15:53:02 alvatar [~alvatar@59.127.222.87.dynamic.jazztel.es] has joined #scheme 15:53:12 -!- e-future [~e-future@unaffiliated/sergio/x-8197433] has quit [Ping timeout: 265 seconds] 15:54:27 -!- kar8nga [~kar8nga@78.104.81.94] has quit [Remote host closed the connection] 15:54:33 e-future [~e-future@unaffiliated/sergio/x-8197433] has joined #scheme 15:54:38 -!- R3cur51v3 [~Recursive@rrcs-97-77-55-38.sw.biz.rr.com] has quit [Remote host closed the connection] 15:54:40 Blkt [~user@dynamic-adsl-78-13-247-126.clienti.tiscali.it] has joined #scheme 15:55:14 good evening everyone 15:58:48 jonrafkind [~jon@crystalis.cs.utah.edu] has joined #scheme 16:00:49 luz [~davids@189.60.69.82] has joined #scheme 16:01:21 -!- homie [~user@xdsl-78-34-255-57.netcologne.de] has quit [Ping timeout: 240 seconds] 16:02:03 -!- xwl [~user@123.115.121.249] has quit [Remote host closed the connection] 16:05:26 homie [~user@xdsl-78-34-204-236.netcologne.de] has joined #scheme 16:11:58 blist 16:17:50 alvatar: @root: (0 online) 16:17:57 \] 16:17:58 =] 16:27:24 -!- bipt [~bpt@cl-851.chi-02.us.sixxs.net] has quit [Ping timeout: 260 seconds] 16:27:37 -!- homie [~user@xdsl-78-34-204-236.netcologne.de] has quit [Remote host closed the connection] 16:38:30 bipt [~bpt@cl-851.chi-02.us.sixxs.net] has joined #scheme 16:48:24 gravicappa [~gravicapp@ppp85-140-67-249.pppoe.mtu-net.ru] has joined #scheme 16:52:53 -!- e-future [~e-future@unaffiliated/sergio/x-8197433] has quit [Ping timeout: 264 seconds] 16:54:08 e-future [~e-future@unaffiliated/sergio/x-8197433] has joined #scheme 17:14:16 homie [~user@xdsl-78-34-204-236.netcologne.de] has joined #scheme 17:15:03 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 17:17:58 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 276 seconds] 17:26:09 -!- mbohun [~mbohun@ppp115-156.static.internode.on.net] has quit [Quit: Leaving] 17:26:27 Im trying to define monad using Racket units but am a bit confused 17:28:23 I want to have: monad-sig^: bind return, then monad-base^: generic-fn-using-bind-return ..., then do state-monad-unit (export monad-sig^) (import monad-base^) + specialized fns 17:31:48 -!- ASau [~user@83.69.227.32] has quit [Ping timeout: 265 seconds] 17:34:12 lvillani [~lvillani@fedora/lvillani] has joined #scheme 17:36:41 karme [~user@2a01:4f8:100:51c1::4] has joined #scheme 17:37:24 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 17:41:44 -!- alvatar [~alvatar@59.127.222.87.dynamic.jazztel.es] has quit [Quit: leaving] 17:42:46 -!- hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Read error: Connection reset by peer] 17:46:26 -!- adadglgmut [~adadgltmu@cpe-174-100-207-183.neo.res.rr.com] has quit [Quit: Leaving] 17:49:30 hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 17:55:07 -!- MrFahrenheit [~RageOfTho@users-33-21.vinet.ba] has quit [Read error: Operation timed out] 17:57:33 -!- e-future [~e-future@unaffiliated/sergio/x-8197433] has quit [Ping timeout: 240 seconds] 17:59:07 ASau [~user@83.69.227.32] has joined #scheme 17:59:31 e-future [~e-future@unaffiliated/sergio/x-8197433] has joined #scheme 18:06:31 mmc [~michal@109.112.43.205] has joined #scheme 18:18:42 -!- kniu [~kniu@pool-71-105-64-193.lsanca.dsl-w.verizon.net] has quit [Ping timeout: 258 seconds] 18:25:17 alvatar [~alvatar@59.127.222.87.dynamic.jazztel.es] has joined #scheme 18:25:50 tommylommy2 [~tommylomm@5ad2c149.bb.sky.com] has joined #scheme 18:28:16 saccade [~saccade@18.143.1.197] has joined #scheme 18:28:44 -!- tommylommykins [~tommylomm@5ad2c149.bb.sky.com] has quit [Ping timeout: 260 seconds] 18:32:21 schmir [~schmir@p54A9283A.dip0.t-ipconnect.de] has joined #scheme 18:32:26 kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has joined #scheme 18:40:30 asarch [~asarch@189.188.148.234] has joined #scheme 18:40:33 -!- karme [~user@2a01:4f8:100:51c1::4] has quit [Read error: Connection reset by peer] 18:43:23 -!- saccade [~saccade@18.143.1.197] has quit [Quit: This computer has gone to sleep] 18:43:43 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 18:45:29 kar8nga [~kar8nga@m-42.vc-graz.ac.at] has joined #scheme 18:50:59 wbooze [~user@xdsl-78-34-204-236.netcologne.de] has joined #scheme 18:58:14 -!- wbooze [~user@xdsl-78-34-204-236.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:59:04 -!- schmir [~schmir@p54A9283A.dip0.t-ipconnect.de] has quit [Ping timeout: 260 seconds] 18:59:32 phao [~phao@189.107.177.110] has joined #scheme 18:59:43 -!- sladegen [~nemo@unaffiliated/sladegen] has quit [Disconnected by services] 18:59:56 sladegen [~nemo@unaffiliated/sladegen] has joined #scheme 19:00:25 saccade [~saccade@dhcp-18-111-82-90.dyn.mit.edu] has joined #scheme 19:00:50 -!- phao [~phao@189.107.177.110] has left #scheme 19:04:53 wbooze [~user@xdsl-78-34-204-236.netcologne.de] has joined #scheme 19:06:44 -!- asarch [~asarch@189.188.148.234] has quit [Quit: Leaving] 19:09:45 rbarraud [~rbarraud@118-93-7-3.dsl.dyn.ihug.co.nz] has joined #scheme 19:10:50 -!- hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has quit [Remote host closed the connection] 19:11:59 -!- rbarraud__ [~rbarraud@118-93-76-91.dsl.dyn.ihug.co.nz] has quit [Ping timeout: 258 seconds] 19:13:02 rbarraud_ [~rbarraud@118-92-147-201.dsl.dyn.ihug.co.nz] has joined #scheme 19:15:11 -!- rbarraud [~rbarraud@118-93-7-3.dsl.dyn.ihug.co.nz] has quit [Ping timeout: 240 seconds] 19:16:16 -!- nicktick [debian-tor@gateway/tor-sasl/nicktick] has quit [Remote host closed the connection] 19:16:28 saccade_ [~saccade_@COMBINATOR.MIT.EDU] has joined #scheme 19:21:18 rbarraud__ [~rbarraud@118-92-137-154.dsl.dyn.ihug.co.nz] has joined #scheme 19:22:48 -!- rbarraud_ [~rbarraud@118-92-147-201.dsl.dyn.ihug.co.nz] has quit [Ping timeout: 240 seconds] 19:24:32 -!- luz [~davids@189.60.69.82] has quit [Quit: Client exiting] 19:25:31 schmir [~schmir@p54A9283A.dip0.t-ipconnect.de] has joined #scheme 19:34:09 hotblack23 [~jh@p4FC5B3F7.dip.t-dialin.net] has joined #scheme 19:38:04 -!- lvillani [~lvillani@fedora/lvillani] has quit [Ping timeout: 276 seconds] 19:42:56 -!- cpr420 [~cpr@unaffiliated/cpr420] has quit [Quit: Bye!] 19:43:34 -!- mmc [~michal@109.112.43.205] has quit [Ping timeout: 276 seconds] 19:48:46 -!- gravicappa [~gravicapp@ppp85-140-67-249.pppoe.mtu-net.ru] has quit [Ping timeout: 276 seconds] 19:50:14 foof: in chibi tip, is the `bytes' data type already usable? 19:55:22 (for example, there's no sexp_bytesp(), which made me wonder...) 19:57:51 gravicappa [~gravicapp@ppp85-140-64-176.pppoe.mtu-net.ru] has joined #scheme 20:06:49 -!- tommylommy2 is now known as tommylommykins 20:06:53 -!- Blkt [~user@dynamic-adsl-78-13-247-126.clienti.tiscali.it] has quit [Read error: Connection reset by peer] 20:09:22 -!- kar8nga [~kar8nga@m-42.vc-graz.ac.at] has quit [Remote host closed the connection] 20:09:41 -!- schmir [~schmir@p54A9283A.dip0.t-ipconnect.de] has quit [Ping timeout: 264 seconds] 20:18:36 hmm 20:19:05 If I have a list of procedures of no arguments which I want to apply, is there a nice, concise way of applying them all? 20:20:28 (map (lambda (x) (x)) procs) ? 20:21:27 oh, that looks like it works.. :s 20:22:28 btw, is there any reasonable reason to use for-each over map, except for reinforcing the fact to anyone reading code that there is no need for the return values? 20:22:57 Blkt [~user@dynamic-adsl-78-13-247-126.clienti.tiscali.it] has joined #scheme 20:23:19 tommylommykins: for-each is guaranteed to traverse the list in the order of the list 20:23:31 map is allowed to traverse the list in any order, or even in parrallel if it can 20:23:33 tommylommykins: map is for when you want a list. for-each is for when you are only interested in side-effects. 20:23:50 Indeed 20:23:53 It aids the reader too, for what mario-goulart said 20:23:57 ah 20:24:04 If I see a for-each, I know "ah, he's side-effecting something" 20:24:20 If I see map, I'd be very surprised if it was also doing a side-effect 20:24:48 cheers :) 20:25:10 tommylommykins: there's map-in-order from srfi-1 if you want map to traverse the list in order. 20:25:10 tommylommykins: If you need the guaranteed order of for-each but also need return values, you can use map-in-order from SRFI-1, BTW 20:25:15 haha 20:25:18 :-) 20:25:42 fowlduck [~fowlduck@2002:cc0f:6d26:0:fa1e:dfff:fed7:9dc1] has joined #scheme 20:26:15 can hygienic macros be implemented without explicit renaming? 20:26:21 hehe 20:26:51 in particular, in a reflective system with first-class environments that allow inspection or lexical capture, is it possible to have hygienic macros? 20:28:22 isn't that what syntactic closures give you? 20:28:58 *Komi* googles about syntactic closures 20:31:58 -!- metasyntax` [~taylor@12.132.219.7] has quit [Quit: Be seeing you.] 20:32:27 -!- rbarraud__ [~rbarraud@118-92-137-154.dsl.dyn.ihug.co.nz] has quit [Read error: Connection reset by peer] 20:35:02 -!- kniu [~kniu@pool-71-106-4-84.lsanca.dsl-w.verizon.net] has quit [Quit: Leaving] 20:45:41 TR2N [email@89-180-233-222.net.novis.pt] has joined #scheme 20:45:53 asarch [~asarch@189.188.148.234] has joined #scheme 20:46:13 -!- asarch [~asarch@189.188.148.234] has quit [Remote host closed the connection] 20:49:58 masm [~masm@bl15-132-179.dsl.telepac.pt] has joined #scheme 20:56:04 -!- NNshag [user@lns-bzn-21-82-64-107-212.adsl.proxad.net] has quit [Ping timeout: 248 seconds] 20:58:33 -!- DrDuck [~miles@adsl-67-170-242.shv.bellsouth.net] has quit [Ping timeout: 240 seconds] 21:00:48 jmcphers [~jmcphers@218.185.108.156] has joined #scheme 21:05:14 hohoho [~hohoho@ntkngw227224.kngw.nt.ftth.ppp.infoweb.ne.jp] has joined #scheme 21:10:44 NNshag [user@lns-bzn-54-82-251-124-196.adsl.proxad.net] has joined #scheme 21:14:50 MrFahrenheit [~RageOfTho@users-33-147.vinet.ba] has joined #scheme 21:18:00 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 265 seconds] 21:23:33 -!- pjb [~t@81.202.16.46.dyn.user.ono.com] has quit [Remote host closed the connection] 21:31:05 pjb [~t@81.202.16.46.dyn.user.ono.com] has joined #scheme 21:32:23 waltermai [~walt@c-68-54-64-79.hsd1.fl.comcast.net] has joined #scheme 21:32:58 anybody know of a procedure that returns the max value from a list of numbers? 21:33:27 (max) seems to only return the maximum from all seperate operands. 21:34:02 therefore, a procedure that decomposes a list into seperate elements would also suffice, I suppose 21:34:42 fold or apply 21:34:46 i guess 21:36:19 thanks kilimanjaro, looking into it 21:38:02 -!- Komi [Komi@83.231.89.166] has quit [Ping timeout: 258 seconds] 21:38:49 eval (foldl (lambda (x y) (max x y)) -inf.0 '(3 1 2)) 21:38:58 rudybot: eval (foldl (lambda (x y) (max x y)) -inf.0 '(3 1 2)) 21:38:58 pizza_: ; Value: 3.0 21:39:15 rudybot: eval (foldl (lambda (x y) (max x y)) 0 '(3 1 2)) 21:39:15 pizza_: ; Value: 3 21:39:23 i'm confused why the answers are different 21:44:57 (max 2 1.9) 21:45:00 -!- alvatar [~alvatar@59.127.222.87.dynamic.jazztel.es] has quit [Quit: leaving] 21:45:04 rudybot: eval (max 2 1.9) 21:45:07 kilimanjaro: your sandbox is ready 21:45:07 kilimanjaro: ; Value: 2.0 21:45:12 rudybot: eval (let ((l '(1 3 2))) (foldl max (car l) (cdr l))) 21:45:12 pizza_: ; Value: 3 21:45:22 type promotion i assume 21:45:24 yea 21:46:41 -!- waltermai [~walt@c-68-54-64-79.hsd1.fl.comcast.net] has quit [Ping timeout: 265 seconds] 21:51:06 Komi [Komi@62.32.145.138] has joined #scheme 21:51:06 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Read error: Connection reset by peer] 21:53:07 -!- fowlduck [~fowlduck@2002:cc0f:6d26:0:fa1e:dfff:fed7:9dc1] has quit [Remote host closed the connection] 21:54:36 pizza_: http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_idx_274 21:54:37 -rudybot:#scheme- http://tinyurl.com/54zhx2 21:55:22 thank you for doing my homework for me; i'd been reading r6rs but haven't read the library docs yet :) 21:56:32 abusead_ [~abusead@CPE001cf068222b-CM0014e825df0e.cpe.net.cable.rogers.com] has joined #scheme 21:57:30 -!- ASau [~user@83.69.227.32] has quit [Remote host closed the connection] 21:57:31 rtra [~rtra@unaffiliated/rtra] has joined #scheme 21:58:04 ASau [~user@83.69.227.32] has joined #scheme 21:58:53 -!- abusead [~abusead@CPE001cf068222b-CM0014e825df0e.cpe.net.cable.rogers.com] has quit [Ping timeout: 240 seconds] 22:04:45 TonySidaway [~tonysidaw@cpc1-walt3-0-0-cust709.popl.cable.ntl.com] has joined #scheme 22:08:46 Blkt` [~user@dynamic-adsl-78-13-247-126.clienti.tiscali.it] has joined #scheme 22:09:11 -!- Blkt` [~user@dynamic-adsl-78-13-247-126.clienti.tiscali.it] has quit [Remote host closed the connection] 22:09:18 metasyntax: any idea of the rationale of that "feature" in max? 22:11:38 -!- Blkt [~user@dynamic-adsl-78-13-247-126.clienti.tiscali.it] has quit [Ping timeout: 260 seconds] 22:13:45 -!- gravicappa [~gravicapp@ppp85-140-64-176.pppoe.mtu-net.ru] has quit [Ping timeout: 265 seconds] 22:17:25 -!- hotblack23 [~jh@p4FC5B3F7.dip.t-dialin.net] has quit [Quit: Leaving.] 22:30:49 -!- abusead_ [~abusead@CPE001cf068222b-CM0014e825df0e.cpe.net.cable.rogers.com] has quit [Read error: Operation timed out] 22:52:45 -!- saccade [~saccade@dhcp-18-111-82-90.dyn.mit.edu] has quit [Quit: This computer has gone to sleep] 23:07:44 -!- dzhus [~sphinx@89-178-231-123.broadband.corbina.ru] has quit [Ping timeout: 258 seconds] 23:16:43 fowlduck [~fowlduck@24-177-112-133.dhcp.mdsn.wi.charter.com] has joined #scheme 23:17:49 -!- Fare [~Fare@ita4fw1.itasoftware.com] has quit [Quit: Leaving] 23:24:27 -!- masm [~masm@bl15-132-179.dsl.telepac.pt] has quit [Quit: Leaving.] 23:24:56 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 23:29:14 bgs1337 [~ian@h75.208.89.75.dynamic.ip.windstream.net] has joined #scheme 23:29:51 -!- bgs1337 [~ian@h75.208.89.75.dynamic.ip.windstream.net] has left #scheme 23:49:28 -!- fradgers- [~fradgers-@5adb10a1.bb.sky.com] has left #scheme 23:55:55 -!- snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has quit [*.net *.split] 23:55:55 -!- fowlduck [~fowlduck@24-177-112-133.dhcp.mdsn.wi.charter.com] has quit [*.net *.split] 23:55:56 -!- wbooze [~user@xdsl-78-34-204-236.netcologne.de] has quit [*.net *.split] 23:55:56 -!- eldragon [~eldragon@84.79.67.254] has quit [*.net *.split] 23:55:56 -!- incubot [~incubot@klutometis.wikitex.org] has quit [*.net *.split] 23:55:56 -!- dfeuer [~dfeuer@wikimedia/Dfeuer] has quit [*.net *.split] 23:55:56 -!- certainty [~closure@dslc-082-082-134-143.pools.arcor-ip.net] has quit [*.net *.split] 23:55:56 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [*.net *.split] 23:55:56 -!- Quadrescence [~Quad@unaffiliated/quadrescence] has quit [*.net *.split] 23:55:57 -!- Khisanth [~Khisanth@pool-96-250-26-26.nycmny.east.verizon.net] has quit [*.net *.split] 23:59:54 snarkyboojum [~snarkyboo@110-174-43-105.static.tpgi.com.au] has joined #scheme 23:59:54 fowlduck [~fowlduck@24-177-112-133.dhcp.mdsn.wi.charter.com] has joined #scheme 23:59:54 wbooze [~user@xdsl-78-34-204-236.netcologne.de] has joined #scheme 23:59:54 eldragon [~eldragon@84.79.67.254] has joined #scheme 23:59:54 incubot [~incubot@klutometis.wikitex.org] has joined #scheme 23:59:54 dfeuer [~dfeuer@wikimedia/Dfeuer] has joined #scheme 23:59:54 certainty [~closure@dslc-082-082-134-143.pools.arcor-ip.net] has joined #scheme 23:59:54 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 23:59:54 Quadrescence [~Quad@unaffiliated/quadrescence] has joined #scheme 23:59:54 Khisanth [~Khisanth@pool-96-250-26-26.nycmny.east.verizon.net] has joined #scheme