00:05:34 -!- duggiefresh [~duggiefre@64.119.141.126] has quit [Remote host closed the connection] 00:25:09 -!- tenq|away is now known as tenq 00:27:43 -!- nugnuts [~nugnuts@pool-74-105-21-221.nwrknj.fios.verizon.net] has quit [Quit: Leaving] 00:27:50 -!- iemejia [~ismael@apache2-noxim.yoda.dreamhost.com] has quit [Remote host closed the connection] 00:36:11 -!- mario-go` is now known as mario-goulart 00:49:06 -!- groovy2shoes [~guv@unaffiliated/groovebot] has quit [Quit: groovy2shoes] 00:55:28 duggiefresh [~duggiefre@c-66-30-11-90.hsd1.ma.comcast.net] has joined #scheme 01:06:24 -!- amgarchIn9 [~amgarchin@p4FD63FE2.dip0.t-ipconnect.de] has quit [Quit: Konversation terminated!] 01:08:09 alexei_ [~amgarchin@p4FD63FE2.dip0.t-ipconnect.de] has joined #scheme 01:13:35 -!- stepnem [~stepnem@internet2.cznet.cz] has quit [Ping timeout: 272 seconds] 01:15:18 -!- duggiefresh [~duggiefre@c-66-30-11-90.hsd1.ma.comcast.net] has quit [Remote host closed the connection] 01:17:30 -!- pnkfelix [~Adium@bas75-2-88-170-201-21.fbx.proxad.net] has quit [Quit: Leaving.] 01:19:05 duggiefresh [~duggiefre@c-66-30-11-90.hsd1.ma.comcast.net] has joined #scheme 01:19:06 -!- duggiefresh [~duggiefre@c-66-30-11-90.hsd1.ma.comcast.net] has quit [Client Quit] 01:27:40 groovy2shoes [~guv@unaffiliated/groovebot] has joined #scheme 02:49:17 Cromulent [~Cromulent@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has joined #scheme 03:04:54 davexunit [~user@fsf/member/davexunit] has joined #scheme 03:18:57 fridim_ [~fridim@bas2-montreal07-2925317577.dsl.bell.ca] has joined #scheme 03:19:35 -!- fridim_ [~fridim@bas2-montreal07-2925317577.dsl.bell.ca] has quit [Max SendQ exceeded] 03:24:39 jao [~jao@21.Red-79-153-49.dynamicIP.rima-tde.net] has joined #scheme 03:24:42 -!- jao [~jao@21.Red-79-153-49.dynamicIP.rima-tde.net] has quit [Changing host] 03:24:42 jao [~jao@pdpc/supporter/professional/jao] has joined #scheme 03:25:45 -!- zzach [~zzach@dslb-084-063-144-213.pools.arcor-ip.net] has quit [Ping timeout: 246 seconds] 03:26:12 zzach [~zzach@dslb-084-063-144-161.pools.arcor-ip.net] has joined #scheme 03:30:23 -!- stamourv` [~user@ahuntsic.ccs.neu.edu] has quit [Ping timeout: 272 seconds] 03:31:29 -!- ASau` is now known as ASau 03:33:39 -!- alexei_ [~amgarchin@p4FD63FE2.dip0.t-ipconnect.de] has quit [Quit: Konversation terminated!] 03:34:09 -!- jao [~jao@pdpc/supporter/professional/jao] has quit [Read error: Operation timed out] 03:34:17 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 03:36:14 fridim_ [~fridim@bas2-montreal07-2925317577.dsl.bell.ca] has joined #scheme 03:40:23 stamourv` [~user@ahuntsic.ccs.neu.edu] has joined #scheme 03:47:26 -!- stamourv` [~user@ahuntsic.ccs.neu.edu] has quit [Ping timeout: 240 seconds] 03:48:14 stamourv` [~user@ahuntsic.ccs.neu.edu] has joined #scheme 04:01:42 -!- RageOfThou [~RageOfTho@unaffiliated/rageofthou] has quit [Read error: Operation timed out] 04:01:59 -!- tenq [~tenq@199.19.116.207] has quit [Ping timeout: 252 seconds] 04:05:49 tenq|away [~tenq@199.19.116.207] has joined #scheme 04:07:26 preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 04:07:55 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 245 seconds] 04:08:10 -!- preflex_ is now known as preflex 04:12:21 -!- samth [sid14502@racket/samth] has quit [Ping timeout: 245 seconds] 04:12:31 samth [sid14502@racket/samth] has joined #scheme 04:12:46 -!- Guest49113 [~uid19706@gateway/web/irccloud.com/x-azdflabznkkpynaa] has quit [Ping timeout: 245 seconds] 04:12:47 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 04:13:11 -!- fizzie [fis@unaffiliated/fizzie] has quit [Ping timeout: 245 seconds] 04:13:36 -!- devon [~devon@2001:470:8b2d:7fc:a800:ff:febf:caf9] has quit [Ping timeout: 245 seconds] 04:14:01 -!- sheilong [~sabayonus@unaffiliated/sheilong] has quit [Quit: Konversation terminated!] 04:14:09 duggiefresh [uid19706@gateway/web/irccloud.com/x-awlwalybrhngcvpc] has joined #scheme 04:14:20 -!- tenq|away is now known as tenq 04:14:26 -!- asumu [~at@2001:470:b:b7:1e6f:65ff:fe23:c3d4] has quit [Ping timeout: 245 seconds] 04:14:33 -!- duggiefresh is now known as Guest26034 04:14:33 asumu [~at@2001:470:b:b7:1e6f:65ff:fe23:c3d4] has joined #scheme 04:20:25 fizzie [fis@unaffiliated/fizzie] has joined #scheme 04:44:55 -!- _5kg [~zifeitong@60.191.2.238] has quit [Read error: Connection reset by peer] 04:57:55 -!- yacks [~py@103.6.159.103] has quit [Ping timeout: 245 seconds] 04:58:43 yacks [~py@103.6.159.103] has joined #scheme 04:58:44 -!- davexunit [~user@fsf/member/davexunit] has quit [Quit: Later] 05:02:20 _5kg [~zifeitong@60.191.2.238] has joined #scheme 05:04:00 -!- oleo [~oleo@xdsl-78-35-158-196.netcologne.de] has quit [Read error: Connection reset by peer] 05:05:37 oleo [~oleo@xdsl-78-35-130-232.netcologne.de] has joined #scheme 05:15:47 -!- effy_ [~x@123.122.64.229] has quit [Ping timeout: 260 seconds] 05:34:36 b4283 [~b4283@218-164-202-80.dynamic.hinet.net] has joined #scheme 05:39:43 -!- tenq is now known as tenq|away 05:40:06 effy [~x@111.196.189.25] has joined #scheme 05:51:51 -!- tenq|away is now known as tenq 06:08:34 gravicappa [~gravicapp@ppp91-77-189-19.pppoe.mtu-net.ru] has joined #scheme 06:17:20 -!- Cromulent [~Cromulent@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 06:29:47 -!- scoofy [~scoofy@catv-89-135-80-2.catv.broadband.hu] has quit [Ping timeout: 265 seconds] 06:54:11 hello 07:06:24 -!- effy [~x@111.196.189.25] has quit [Quit: bye~~] 07:07:08 CADD [~CADD@12.227.104.109] has joined #scheme 07:07:31 -!- CADD is now known as Guest6653 07:31:25 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 07:33:18 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Connection reset by peer] 07:33:34 araujo [~araujo@190.73.46.113] has joined #scheme 07:33:43 -!- araujo [~araujo@190.73.46.113] has quit [Changing host] 07:33:43 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 07:41:37 -!- ctindall [~ctindall@billipede.net] has quit [Ping timeout: 252 seconds] 07:51:16 -!- tiksa [~tiksa@gateway/tor-sasl/tiksa] has quit [Remote host closed the connection] 08:02:19 weie [~weie@softbank221078042071.bbtec.net] has joined #scheme 08:03:17 -!- jyf [~root@unaffiliated/yunfan] has quit [Ping timeout: 248 seconds] 08:05:07 -!- weie [~weie@softbank221078042071.bbtec.net] has quit [Client Quit] 08:05:16 -!- Guest6653 [~CADD@12.227.104.109] has quit [Ping timeout: 245 seconds] 08:08:16 jewel [~jewel@105-236-228-213.access.mtnbusiness.co.za] has joined #scheme 08:08:25 weie [~weie@softbank221078042071.bbtec.net] has joined #scheme 08:17:05 -!- yacks [~py@103.6.159.103] has quit [Read error: Operation timed out] 08:19:04 ctindall [~ctindall@billipede.net] has joined #scheme 08:26:33 jyf [~root@192.241.238.111] has joined #scheme 08:48:52 -!- groovy2shoes [~guv@unaffiliated/groovebot] has quit [Quit: groovy2shoes] 08:58:10 lo 09:01:50 hi 09:03:35 -!- Giomancer [~gio@107.201.206.230] has quit [Quit: Leaving] 09:12:14 -!- fridim_ [~fridim@bas2-montreal07-2925317577.dsl.bell.ca] has quit [Ping timeout: 240 seconds] 09:30:21 add^_ [~user@m176-70-201-196.cust.tele2.se] has joined #scheme 09:31:18 -!- add^_ [~user@m176-70-201-196.cust.tele2.se] has quit [Remote host closed the connection] 09:54:33 dsevilla [~user@206.Red-83-43-78.dynamicIP.rima-tde.net] has joined #scheme 10:01:13 add^_ [~user@m176-70-201-196.cust.tele2.se] has joined #scheme 10:04:10 -!- dsevilla [~user@206.Red-83-43-78.dynamicIP.rima-tde.net] has quit [Remote host closed the connection] 10:25:36 alexei_ [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has joined #scheme 10:43:15 CADD [~CADD@12.227.104.109] has joined #scheme 11:06:14 -!- gravicappa [~gravicapp@ppp91-77-189-19.pppoe.mtu-net.ru] has quit [Ping timeout: 264 seconds] 11:16:37 Cromulent [~Cromulent@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has joined #scheme 11:27:14 yacks [~py@103.6.159.103] has joined #scheme 11:29:29 stepnem [~stepnem@internet2.cznet.cz] has joined #scheme 11:30:23 -!- MichaelRaskin [~MichaelRa@195.91.224.161] has quit [Ping timeout: 250 seconds] 11:35:41 -!- add^_ [~user@m176-70-201-196.cust.tele2.se] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 11:56:16 tiksa [~tiksa@gateway/tor-sasl/tiksa] has joined #scheme 12:13:32 gravicappa [~gravicapp@ppp91-77-190-81.pppoe.mtu-net.ru] has joined #scheme 12:23:54 Okasu [~1@unaffiliated/okasu] has joined #scheme 12:28:20 -!- Cromulent [~Cromulent@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 12:30:04 effy [~x@114.253.38.170] has joined #scheme 12:47:26 -!- joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 12:47:45 joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has joined #scheme 12:49:49 -!- joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 12:49:57 joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has joined #scheme 12:50:12 -!- joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 12:50:37 joneshf-laptop [~joneshf@c-98-208-36-36.hsd1.ca.comcast.net] has joined #scheme 13:06:40 davexunit [~user@fsf/member/davexunit] has joined #scheme 13:11:56 amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has joined #scheme 13:15:25 noam [~noam@213.57.201.130] has joined #scheme 13:21:03 -!- amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has quit [Quit: Konversation terminated!] 13:27:23 Cromulent [~Cromulent@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has joined #scheme 13:38:07 -!- sethalves [~user@headache.hungry.com] has quit [Ping timeout: 272 seconds] 13:38:35 sethalves [~user@headache.hungry.com] has joined #scheme 13:39:57 -!- tenq is now known as tenq|away 13:55:14 -!- Cromulent [~Cromulent@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has quit [Read error: Connection reset by peer] 13:55:36 Cromulent [~Cromulent@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has joined #scheme 14:04:54 amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has joined #scheme 14:12:17 hiroakip [~hiroaki@77-20-51-63-dynip.superkabel.de] has joined #scheme 14:12:25 -!- amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has quit [Quit: Konversation terminated!] 14:16:18 -!- alexei_ [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has quit [Read error: Operation timed out] 14:19:01 HG` [~HG@31.205.59.111] has joined #scheme 14:26:25 alexei_ [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has joined #scheme 14:39:14 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 14:40:21 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 265 seconds] 14:44:45 *offby1* yawns 14:48:44 -!- lolcow is now known as leppie 14:49:04 -!- Cromulent [~Cromulent@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 14:49:38 zkc [~zhangkaiz@27.47.15.94] has joined #scheme 15:04:19 amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has joined #scheme 15:04:21 -!- alexei_ [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 15:08:41 -!- tiksa [~tiksa@gateway/tor-sasl/tiksa] has quit [Quit: quit] 15:12:19 rotty [rotty@yade.xx.vu] has joined #scheme 15:15:47 RageOfThou [~RageOfTho@unaffiliated/rageofthou] has joined #scheme 15:17:40 defanor_ [~defanor@ppp91-77-161-23.pppoe.mtu-net.ru] has joined #scheme 15:18:13 -!- defanor [~defanor@ppp91-77-172-38.pppoe.mtu-net.ru] has quit [Ping timeout: 246 seconds] 15:25:49 neng [5fd3bc33@gateway/web/freenode/ip.95.211.188.51] has joined #scheme 15:26:19 hi, is this an okay channel to ask for help with scheme? 15:31:14 mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 15:35:31 I'm looking for a clarification of R7RS 'syntax-rules' when the ellipsis identifier is explicitly provided before the keyword list. In that case, should 'bound-identifier=?' or 'free-identifier=?' be used to compare the specified ellipsis identifier with identifiers in the patterns and templates? 15:38:19 'free-identifier=?' is used to match ellipses in the traditional R5RS syntax-rules, but I'm not sure that's optimal when the ellipsis identifier is specified. 15:38:26 opinions? 15:45:51 here's an example where it makes a difference: 15:45:57 (define-syntax const-macro (syntax-rules () ((_ out) (syntax-rules ::: () ((_ x :::) out))))) 15:46:07 (define-syntax foo (const-macro '(x ... :::))) 15:46:40 if 'bound-identifier=?' is used, then (foo x) expands to '(x ... :::) 15:47:33 if 'free-identifier=?' is used, then there's an error, because the ::: in the argument to 'foo' is interpreted as an ellipsis in the generated macro template. 15:48:35 -!- HG` [~HG@31.205.59.111] has quit [Quit: HG`] 15:48:53 s/argument to 'foo'/operand to 'const-macro' in the definition of 'foo'/ 15:50:46 civodul [~user@gateway/tor-sasl/civodul] has joined #scheme 15:53:50 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 240 seconds] 15:54:15 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 16:08:28 Does a scheme version exist where it is possible to eval a string with access to local/lexically bound variables? 16:08:56 you can do it in guile 16:08:56 kilimanjaro_ [~kilimanja@ip68-0-132-121.tc.ph.cox.net] has joined #scheme 16:09:07 (for better or worse :) 16:12:40 Giomancer [~gio@107.201.206.230] has joined #scheme 16:14:56 mark_weaver: how? Tried: (define (tst1 x) (eval (read (open-input-string "(write x)")) (interaction-environment))) and (tst1 "ab") delivers: Unbound variable: x 16:15:20 you have to use 'the-environment' and 'local-eval'. 16:16:00 (the-environment) captures a lexical environment, and then you can pass that lexical environment as an argument to (local-eval). 16:16:50 well, it might be sufficient to just replace 'eval' with 'local-eval' and 'interaction-environment' with 'the-environment' in your example above. 16:17:16 you'll also need the (ice-9 local-eval) module, assuming that you're using Guile 2.0.x (which you should be). 16:18:42 mark_weaver: thanks, it worked! 16:19:34 you're welcome. still, I'd encourage you to consider finding another way to accomplish what you're trying to do. 16:23:36 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 245 seconds] 16:26:55 -!- b4283 [~b4283@218-164-202-80.dynamic.hinet.net] has quit [Quit: ] 16:34:15 tupi [~user@189.60.10.95] has joined #scheme 16:43:34 tiksa [~tiksa@gateway/tor-sasl/tiksa] has joined #scheme 16:48:38 -!- hiroakip [~hiroaki@77-20-51-63-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 16:53:02 -!- amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 16:53:34 hi. im fairly new to scheme, and im curious about something. how can one print a variable with (display), similar to Common Lisp's (format t "blah ~a blah" variable), or C's printf("blah %d blah", integer-variable)? is this possible? thanks 16:54:10 most schemes have something like 'format'. 16:54:40 e.g. in guile, you can do (format #t "blah ~a blah" variable) 16:57:44 oh, thanks 16:58:08 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 16:58:18 fridim_ [~fridim@bas2-montreal07-2925317577.dsl.bell.ca] has joined #scheme 17:11:11 rgc [~user@95.Red-83-33-70.dynamicIP.rima-tde.net] has joined #scheme 17:15:32 -!- CADD [~CADD@12.227.104.109] has quit [Quit: Lost terminal] 17:27:44 bars0 [~Name@d134-209.icpnet.pl] has joined #scheme 17:28:07 -!- bars0 [~Name@d134-209.icpnet.pl] has quit [Client Quit] 17:35:37 CADD [~CADD@12.227.104.109] has joined #scheme 17:42:29 -!- oleo [~oleo@xdsl-78-35-130-232.netcologne.de] has quit [Ping timeout: 248 seconds] 17:56:14 oleo [~oleo@xdsl-78-35-157-167.netcologne.de] has joined #scheme 18:00:11 scoofy [~scoofy@catv-89-135-80-2.catv.broadband.hu] has joined #scheme 18:02:40 choas [~lars@p50894214.dip0.t-ipconnect.de] has joined #scheme 18:02:49 mark_wea_ [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 18:04:13 heathjs [quassel@2600:3c02::f03c:91ff:feae:6e5b] has joined #scheme 18:04:13 -!- heathjs [quassel@2600:3c02::f03c:91ff:feae:6e5b] has quit [Changing host] 18:04:13 heathjs [quassel@unaffiliated/ybit] has joined #scheme 18:04:56 -!- hive-mind [pranq@unaffiliated/contempt] has quit [Disconnected by services] 18:05:25 hive-mind [pranq@unaffiliated/contempt] has joined #scheme 18:05:27 _5kg_ [~zifeitong@60.191.2.238] has joined #scheme 18:05:33 -!- choas_ [~lars@p50894214.dip0.t-ipconnect.de] has quit [Ping timeout: 240 seconds] 18:05:33 -!- TaylanUB [tub@p4FD90632.dip0.t-ipconnect.de] has quit [Read error: No buffer space available] 18:05:38 -!- Okasu [~1@unaffiliated/okasu] has quit [Ping timeout: 240 seconds] 18:05:41 -!- jyf [~root@192.241.238.111] has quit [Ping timeout: 240 seconds] 18:05:45 -!- mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Ping timeout: 240 seconds] 18:05:45 -!- sethalves [~user@headache.hungry.com] has quit [Ping timeout: 240 seconds] 18:05:46 -!- _5kg [~zifeitong@60.191.2.238] has quit [Ping timeout: 240 seconds] 18:05:46 -!- asumu [~at@2001:470:b:b7:1e6f:65ff:fe23:c3d4] has quit [Ping timeout: 240 seconds] 18:05:47 -!- Kruppe [~jcp@laforge.cs.uwaterloo.ca] has quit [Ping timeout: 240 seconds] 18:05:48 -!- xenophon [~user@64.124.65.162] has quit [Ping timeout: 240 seconds] 18:05:49 -!- heath [quassel@unaffiliated/ybit] has quit [Ping timeout: 240 seconds] 18:05:50 -!- dan64 [dan64@dannyadam.com] has quit [Ping timeout: 240 seconds] 18:05:51 asumu [~at@2001:470:b:b7:1e6f:65ff:fe23:c3d4] has joined #scheme 18:05:59 sethalves [~user@headache.hungry.com] has joined #scheme 18:06:03 Kruppe [~jcp@laforge.cs.uwaterloo.ca] has joined #scheme 18:06:04 xenophon [~user@64.124.65.162] has joined #scheme 18:06:58 jyf [~root@192.241.238.111] has joined #scheme 18:07:20 -!- Kruppe is now known as Guest30076 18:07:21 dan64 [dan64@dannyadam.com] has joined #scheme 18:08:27 TaylanUB [tub@p4FD90632.dip0.t-ipconnect.de] has joined #scheme 18:12:35 -!- mark_wea_ is now known as mark_weaver 18:14:47 -!- zkc [~zhangkaiz@27.47.15.94] has quit [Quit: Leaving] 18:15:29 Cromulent [~Cromulent@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has joined #scheme 18:25:03 HG` [~HG@31.205.59.111] has joined #scheme 18:26:20 -!- scoofy [~scoofy@catv-89-135-80-2.catv.broadband.hu] has quit [] 18:26:41 scoofy [scoofy@catv-89-135-80-2.catv.broadband.hu] has joined #scheme 18:29:43 amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has joined #scheme 18:43:44 -!- vraid [50d8e34d@gateway/web/freenode/ip.80.216.227.77] has quit [Ping timeout: 272 seconds] 18:59:23 groovy2shoes [~guv@cpe-071-077-065-019.nc.res.rr.com] has joined #scheme 18:59:24 -!- groovy2shoes [~guv@cpe-071-077-065-019.nc.res.rr.com] has quit [Changing host] 18:59:25 groovy2shoes [~guv@unaffiliated/groovebot] has joined #scheme 19:03:03 vraid [5fc39995@gateway/web/freenode/ip.95.195.153.149] has joined #scheme 19:05:29 dbe [~dbe@h-136-44.a336.priv.bahnhof.se] has joined #scheme 19:08:57 -!- HG` [~HG@31.205.59.111] has quit [Quit: Leaving.] 19:10:15 achmode [~chatzilla@72.252.124.67] has joined #scheme 19:12:04 do i have to keep track of all the recursive calls in my head? is there a simpler way to keep track of whats going on? 19:13:21 grusailo [~grusailo@62.122.72.154] has joined #scheme 19:13:23 -!- neng [5fd3bc33@gateway/web/freenode/ip.95.211.188.51] has left #scheme 19:13:31 -!- grusailo [~grusailo@62.122.72.154] has quit [Remote host closed the connection] 19:14:18 achmode: what do you mean? 19:15:13 hiroakip [~hiroaki@77-20-51-63-dynip.superkabel.de] has joined #scheme 19:15:42 groovy2shoes: when i have many recursive functions depending on each other, it can be tedious to keep track of whats going on inside all of them at each step 19:16:34 strobegen1 [~Adium@188.168.72.225] has joined #scheme 19:16:44 kolladf [~kolladf@91.229.248.163] has joined #scheme 19:16:54 -!- kolladf [~kolladf@91.229.248.163] has quit [Remote host closed the connection] 19:16:57 -!- strobegen [~Adium@188.168.72.225] has quit [Ping timeout: 250 seconds] 19:17:06 a function will be waiting on a value from another function that is called after it 19:17:32 -!- evhan [~evhan@pdpc/supporter/active/evhan] has quit [Ping timeout: 250 seconds] 19:17:58 -!- muep [twingo@otitsun.oulu.fi] has quit [Ping timeout: 250 seconds] 19:18:03 achmode: if the code gets hard to understand, maybe a refactor is in order 19:18:04 muep_ [twingo@otitsun.oulu.fi] has joined #scheme 19:19:15 evhan [~evhan@pdpc/supporter/active/evhan] has joined #scheme 19:19:32 (sun (moon) (star)) i have to wait for the value from moon and star before i can execute sun. there could be many functions like sun that have to wait like this and i could forget about them easily 19:19:57 russkov [~russkov@91.210.101.155] has joined #scheme 19:19:59 -!- russkov [~russkov@91.210.101.155] has quit [Remote host closed the connection] 19:20:09 achmode: if you can't / don't want to refactor, you could try writing down the substitution steps of a typical but small case... that usually helps me reason about hairy problems like that 19:22:40 -!- CADD [~CADD@12.227.104.109] has quit [Quit: leaving] 19:23:04 CADD [~CADD@12.227.104.109] has joined #scheme 19:28:32 rudybot_ [~luser@ec2-54-215-10-197.us-west-1.compute.amazonaws.com] has joined #scheme 19:31:58 nycs [~nycs@rrcs-24-39-141-128.nyc.biz.rr.com] has joined #scheme 19:32:22 -!- rudybot [~luser@ec2-54-215-10-197.us-west-1.compute.amazonaws.com] has quit [Ping timeout: 250 seconds] 19:32:23 -!- `^_^v [~nycs@rrcs-24-39-141-128.nyc.biz.rr.com] has quit [Ping timeout: 250 seconds] 19:34:26 -!- vraid [5fc39995@gateway/web/freenode/ip.95.195.153.149] has quit [Disconnected by services] 19:34:37 vraid [5fc3809a@gateway/web/freenode/ip.95.195.128.154] has joined #scheme 19:49:41 -!- Cromulent [~Cromulent@cpc1-reig5-2-0-cust251.6-3.cable.virginm.net] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/] 19:57:12 -!- vraid [5fc3809a@gateway/web/freenode/ip.95.195.128.154] has quit [Ping timeout: 272 seconds] 19:57:15 -!- davexunit [~user@fsf/member/davexunit] has quit [Quit: Later] 19:58:47 -!- amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has quit [Ping timeout: 260 seconds] 20:00:59 How can I do something like this: (lambda [. args] ...) 20:01:29 -!- muep_ [twingo@otitsun.oulu.fi] has quit [Quit: hei me bootataan] 20:08:57 dbe: you mean zero or more arguments? (lambda args ...) 20:12:52 SirDayBat: Thank you. Now I get another error though, "unterminated list" when appending it onto another list 20:13:01 Any ideas? 20:13:16 I'll pastebin code 20:13:53 http://ix.io/9mM 20:18:58 vraid [50d8e34d@gateway/web/freenode/ip.80.216.227.77] has joined #scheme 20:21:10 amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has joined #scheme 20:23:50 -!- TaylanUB [tub@p4FD90632.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 20:24:18 TaylanUB [tub@p4FD90632.dip0.t-ipconnect.de] has joined #scheme 20:30:35 dbe: (define partial (lambda (f . iargs) (lambda oargs (apply f (append iargs oargs))))) 20:35:30 is it possible to define a procedure with optional parameter which have a predifiened default value if the user didn't specify the corresponding parameter? 20:35:36 dbe: here's the relevant part of R5RS... iirc it's much the same in the other versions: http://schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-7.html#%_sec_4.1.4 20:35:36 http://tinyurl.com/2ojuhf 20:35:53 sorry wrong channel 20:36:13 groovy2shoes: Thanks a bunch, very helpful. 20:38:01 add^_ [~user@m176-70-201-196.cust.tele2.se] has joined #scheme 20:39:41 stamourv`` [~user@c-71-233-149-127.hsd1.ma.comcast.net] has joined #scheme 20:39:56 -!- stamourv`` [~user@c-71-233-149-127.hsd1.ma.comcast.net] has left #scheme 20:52:21 -!- hiroakip [~hiroaki@77-20-51-63-dynip.superkabel.de] has quit [Ping timeout: 248 seconds] 21:09:19 -!- achmode [~chatzilla@72.252.124.67] has quit [Quit: ChatZilla 0.9.90.1 [Firefox 26.0/20131205075310]] 21:09:31 hiroakip [~hiroaki@77-20-51-63-dynip.superkabel.de] has joined #scheme 21:10:25 adiii [~adityavit@c-50-136-254-86.hsd1.ca.comcast.net] has joined #scheme 21:18:17 -!- weie [~weie@softbank221078042071.bbtec.net] has quit [Quit: Leaving...] 21:21:23 -!- hiroakip [~hiroaki@77-20-51-63-dynip.superkabel.de] has quit [Ping timeout: 260 seconds] 21:24:45 -!- gravicappa [~gravicapp@ppp91-77-190-81.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 22:05:39 -!- add^_ [~user@m176-70-201-196.cust.tele2.se] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 22:06:26 ASau` [~user@p54AFF1C1.dip0.t-ipconnect.de] has joined #scheme 22:07:08 -!- amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 22:07:26 amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has joined #scheme 22:10:26 -!- ASau [~user@p54AFEB18.dip0.t-ipconnect.de] has quit [Ping timeout: 264 seconds] 22:10:40 -!- civodul [~user@gateway/tor-sasl/civodul] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 22:29:37 -!- CADD [~CADD@12.227.104.109] has quit [Quit: leaving] 22:31:44 -!- TaylanUB [tub@p4FD90632.dip0.t-ipconnect.de] has quit [Disconnected by services] 22:32:13 TaylanUB [tub@p4FD9063F.dip0.t-ipconnect.de] has joined #scheme 22:40:00 -!- strobegen1 [~Adium@188.168.72.225] has quit [Quit: Leaving.] 23:01:03 How do I do something like this: (do (expr) (expr))? I want to do this: (do (print "Give number:") (get-line)), and the return value should also be the result of (get-line) 23:02:04 do you want begin maybe? 23:03:37 Also, how can I find documentation on functions? Like, for instance, right now, I would like to know what 'begin' does. 23:06:49 -!- mark_weaver [~user@209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has left #scheme 23:14:19 -!- TaylanUB [tub@p4FD9063F.dip0.t-ipconnect.de] has quit [Quit: Using Circe, the loveliest of all IRC clients] 23:14:28 dbe: racket has a good references, it includes more than just scheme though 23:14:53 e.g http://docs.racket-lang.org/reference/begin.html 23:15:14 vraid: Thank you. 23:20:31 -!- rgc [~user@95.Red-83-33-70.dynamicIP.rima-tde.net] has quit [Remote host closed the connection] 23:24:59 -!- tupi [~user@189.60.10.95] has quit [Read error: Operation timed out] 23:35:56 -!- amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 23:36:04 amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has joined #scheme 23:37:22 -!- amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has quit [Client Quit] 23:37:35 amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has joined #scheme 23:39:28 -!- amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer] 23:39:37 amgarchIn9 [~amgarchin@p4FD5614B.dip0.t-ipconnect.de] has joined #scheme 23:43:45 Does anyone know if there is a relatively easy way to do this: (func '(1 2 3) '(a b c)) -> '((1 a) (1 b) (1 c) (2 a) ...)? You could do it with 'for' in Clojure and Racket. I'm in Chicken Scheme. 23:44:00 I'm also thinking there must be a better name for this then 'for'. 23:47:07 It seems to be called 'zip'. I found it. Thanks. 23:49:51 No, wait, that's not it... damn. 23:51:07 Isn't that just cartesian product? 23:51:19 rudybot_: eval (zip (list 1 2 3) '(a b c)) 23:51:21 vraid: your sandbox is ready 23:51:21 vraid: error: zip: undefined; cannot reference an identifier before its definition in module: 'program 23:51:58 dbe: http://stackoverflow.com/questions/2485226/cartesian-product-in-scheme 23:52:21 rudybot_: eval (map (lambda (a b) (list a b)) '(1 2 3) '(a b c)) 23:52:21 vraid: ; Value: '((1 a) (2 b) (3 c)) 23:54:02 antoszka: Huh, wow. Thank you so much. 23:58:35 -!- dbe [~dbe@h-136-44.a336.priv.bahnhof.se] has quit [Quit: got to sleep!]