00:02:20 -!- qrstuv [~bnjuytghj@50.122.31.233] has quit [Ping timeout: 252 seconds] 00:04:38 qrstuv [none@50.122.16.125] has joined #scheme 00:17:19 jrajav [~jrajav@71-82-133-188.dhcp.roch.mn.charter.com] has joined #scheme 00:20:47 dnolen [~user@cpe-74-64-61-245.nyc.res.rr.com] has joined #scheme 00:31:34 -!- jrajav [~jrajav@71-82-133-188.dhcp.roch.mn.charter.com] has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE] 00:32:58 arcfide [1000@98.223.194.12] has joined #scheme 00:34:44 jrajav [~jrajav@71-82-133-188.dhcp.roch.mn.charter.com] has joined #scheme 00:47:45 -!- jrapdx [~jra@c-76-115-235-187.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 01:00:06 kubatyszko [~kubatyszk@softbank218115049016.bbtec.net] has joined #scheme 01:11:32 -!- snits [~snits@inet-hqmc01-o.oracle.com] has quit [Quit: leaving] 01:16:12 toekutr [~user@50-0-51-11.dsl.static.sonic.net] has joined #scheme 01:19:27 jao [~jao@83.32.71.232] has joined #scheme 01:19:30 -!- jao [~jao@83.32.71.232] has quit [Changing host] 01:19:30 jao [~jao@pdpc/supporter/professional/jao] has joined #scheme 01:20:58 -!- joneshf-laptop [~joneshf@64.30.112.86] has quit [Ping timeout: 245 seconds] 01:21:13 taylanub, I think syntax-rules only allows one ellipsis in any sequence, so matching is neither greedy nor non-greedy, but rather unambiguous. 01:23:45 carleastlund: You mean a pattern (_ foo ... bar ...) is invalid ? 01:24:04 taylanub, I believe so, yes. 01:26:03 Now that I look at the specification again, seems like you're right, thanks. 01:33:23 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 252 seconds] 01:33:59 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 01:36:33 -!- wbooze [~wbooze@xdsl-78-35-174-150.netcologne.de] has quit [Ping timeout: 252 seconds] 01:38:09 Hrm, would it be "evil" to do something like (syntax-rules () ((_ foo ...) (let ((i 0)) (begin (do-something) (set! i (+ 1 i))) ...))) ? 01:51:14 -!- samth is now known as samth_away 02:12:00 jcowan [~jcowan@mail.digitalkingdom.org] has joined #scheme 02:14:20 rudybot: seen duncanm_ 02:14:20 *offby1: duncanm_ was seen joining in #scheme eleven hours ago, and then duncanm was seen quitting in a-chinaman.com eleven hours ago, saying "Ping timeout: 276 seconds" 02:16:47 adiii [~adityavit@c-76-117-52-187.hsd1.nj.comcast.net] has joined #scheme 02:18:16 -!- Triclops256|away is now known as Triclops256 02:29:30 taylanub: What exactly is your macro supposed to do? 02:30:18 Are you able to give some sample inputs and expected outputs? 02:31:29 -!- dnolen [~user@cpe-74-64-61-245.nyc.res.rr.com] has quit [Ping timeout: 256 seconds] 02:36:09 b4283 [~b4283@1-172-81-174.dynamic.hinet.net] has joined #scheme 02:38:16 hopfrog [~user@pool-96-236-222-96.pitbpa.fios.verizon.net] has joined #scheme 02:44:25 -!- MiningMarsh is now known as Mining|away 02:45:54 yacks [~yacks@180.151.36.169] has joined #scheme 02:51:07 -!- ldionmarcil [~user@unaffiliated/maden] has quit [Read error: Connection reset by peer] 02:58:43 cky: The point is to act upon the repetition count in the template expression that's being repeated via ellipsis. 03:05:41 -!- bjz [~brendanza@125.253.99.68] has quit [Quit: Leaving...] 03:08:10 MrFahrenheit [~RageOfTho@cable-77-221-21-70.dynamic.telemach.ba] has joined #scheme 03:14:49 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 03:19:57 taylanub: Samples, please? 03:33:59 -!- rmathews [~roshan@122.164.22.241] has quit [Quit: ...] 03:34:15 Proof-of-concept minimal snippet: (let-syntax ((example (syntax-rules () ((_ x ...) (let ((i 0)) (begin (display 'x) (display ": ") (display i) (newline) (set! i (+ 1 i))) ...))))) (example a b c)) => Outputs a: 1 b: 2 c: 3 03:35:42 https://github.com/TaylanUB/guile-modules/blob/master/bytestructures.scm Practical application of same strategy seen here in the syntax `bytestructure*'. 03:35:44 cdidd [~cdidd@37-145-190-168.broadband.corbina.ru] has joined #scheme 03:38:50 yazdmich|znc [~yazdmich@om.n0.ms] has joined #scheme 03:39:48 -!- yacks [~yacks@180.151.36.169] has quit [*.net *.split] 03:39:48 -!- hopfrog [~user@pool-96-236-222-96.pitbpa.fios.verizon.net] has quit [*.net *.split] 03:39:48 -!- adiii [~adityavit@c-76-117-52-187.hsd1.nj.comcast.net] has quit [*.net *.split] 03:39:48 -!- yazdmich [~yazdmich@unaffiliated/yazdmich] has quit [*.net *.split] 03:39:49 -!- yazdmich|znc is now known as yazdmich 03:40:20 (FWIW that file is a work-in-progress and will be a mess until I'm done with it.) 03:47:56 -!- cibs [~cibs@218.211.32.194] has quit [Ping timeout: 256 seconds] 03:49:25 yacks [~yacks@180.151.36.169] has joined #scheme 03:52:22 adiii [~adityavit@c-76-117-52-187.hsd1.nj.comcast.net] has joined #scheme 04:02:14 cibs [~cibs@218.211.32.194] has joined #scheme 04:08:25 rmathews [~roshan@122.165.89.11] has joined #scheme 04:13:09 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 04:15:29 joneshf-laptop [~joneshf@public-nat2.arc.losrios.edu] has joined #scheme 04:17:39 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Ping timeout: 248 seconds] 04:23:44 -!- joneshf-laptop [~joneshf@public-nat2.arc.losrios.edu] has quit [Ping timeout: 252 seconds] 04:24:21 William [~William@108-85-16-151.lightspeed.gnvlsc.sbcglobal.net] has joined #scheme 04:24:45 -!- William is now known as Guest91124 04:24:50 youlysses [~user@75-132-7-80.dhcp.stls.mo.charter.com] has joined #scheme 04:25:59 -!- CoverSlide [~richard@pool-173-55-58-198.lsanca.fios.verizon.net] has quit [Ping timeout: 256 seconds] 04:32:28 CoverSlide [~richard@pool-173-55-58-198.lsanca.fios.verizon.net] has joined #scheme 04:35:11 -!- jrajav [~jrajav@71-82-133-188.dhcp.roch.mn.charter.com] has quit [Quit: I tend to be neutral about apples] 04:36:32 joneshf-laptop [~joneshf@public-nat2.arc.losrios.edu] has joined #scheme 04:39:12 lewis1711 [~lewis@122-59-194-155.jetstream.xtra.co.nz] has joined #scheme 04:40:48 -!- b4283 [~b4283@1-172-81-174.dynamic.hinet.net] has quit [Remote host closed the connection] 04:48:16 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Quit: Leaving] 04:55:58 -!- preflex [~preflex@unaffiliated/mauke/bot/preflex] has quit [Ping timeout: 246 seconds] 04:56:28 preflex_ [~preflex@unaffiliated/mauke/bot/preflex] has joined #scheme 04:57:16 -!- preflex_ is now known as preflex 05:01:30 what do syntax-rules macros actually manipulate? what sort of objects are they? 05:01:57 (define-syntax fn (syntax-rules () ((_ args body ...) (lambda args body ...)))) ; what is "args" and "body" here? 05:02:41 All that happens with that is that (fn 17 34) is rewritten as (lambda 17 34) 05:03:02 The RHS of a syntax-rules rule is *not Scheme*, despite appearances. 05:03:44 It is an uninterpreted S-expression that means something only after the syntax definition has done its work. 05:04:36 right, sure 05:04:42 You need to read JRM's Syntax-rules Primer For the Merely Eccentric, I think. 05:04:47 http://www.phyast.pitt.edu/~micheles/syntax-rules.pdf 05:04:50 and many other places 05:05:20 you've told me nothing new - unless you told me that nothing syntax-rules uses are objects you can do things with 05:05:33 That is what I'm telling you. 05:06:09 There may be objects under the covers and generally are, but since syntax-rules does not execute user code at macro expansion time, the identity of those objects is concealed. 05:06:25 they are not "syntax objects" or any such? 05:06:51 In syntax-case, yes. 05:06:59 Syntax-case can be used to implement syntax-rules, but need not be. 05:07:05 ahh 05:07:17 mmc2 [~michal@178-85-64-28.dynamic.upc.nl] has joined #scheme 05:07:29 so with syntax case you can treat this objects as syntax objects 05:07:59 Yes, but I am not very knowledgeable about syntax-case. 05:08:27 no, that's helpful. clears it up for me. 05:17:03 -!- Guest91124 [~William@108-85-16-151.lightspeed.gnvlsc.sbcglobal.net] has quit [Read error: Connection reset by peer] 05:21:10 -!- jcowan [~jcowan@mail.digitalkingdom.org] has quit [Quit: Leaving] 05:26:19 -!- mmc2 [~michal@178-85-64-28.dynamic.upc.nl] has quit [Ping timeout: 240 seconds] 05:29:36 -!- youlysses [~user@75-132-7-80.dhcp.stls.mo.charter.com] has quit [Read error: Connection reset by peer] 05:30:15 youlysses [~user@75-132-7-80.dhcp.stls.mo.charter.com] has joined #scheme 05:31:48 -!- jao [~jao@pdpc/supporter/professional/jao] has quit [Ping timeout: 245 seconds] 05:37:20 -!- arcfide [1000@98.223.194.12] has quit [Quit: Konversation terminated!] 05:44:31 -!- joneshf-laptop [~joneshf@public-nat2.arc.losrios.edu] has quit [Ping timeout: 260 seconds] 06:09:29 -!- X-Scale [email@2001:470:1f14:135b::2] has quit [Ping timeout: 246 seconds] 06:11:30 -!- Triclops256 is now known as Triclops256|away 06:13:12 -!- yacks [~yacks@180.151.36.169] has quit [Read error: Operation timed out] 06:13:58 przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has joined #scheme 06:39:43 juxovec [~juxovec@151.18.broadband14.iol.cz] has joined #scheme 06:40:51 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 245 seconds] 06:51:25 gravicappa [~gravicapp@ppp91-77-170-197.pppoe.mtu-net.ru] has joined #scheme 06:57:42 yacks [~yacks@180.151.36.169] has joined #scheme 07:03:13 -!- qrstuv [none@50.122.16.125] has quit [Ping timeout: 252 seconds] 07:04:29 qrstuv [none@50.122.17.69] has joined #scheme 07:06:08 -!- cdidd [~cdidd@37-145-190-168.broadband.corbina.ru] has quit [Remote host closed the connection] 07:07:24 -!- b1rkh0ff [~b1rkh0ff@178.77.7.226] has quit [Ping timeout: 276 seconds] 07:16:36 -!- rudybot [~luser@ec2-50-18-28-110.us-west-1.compute.amazonaws.com] has quit [Ping timeout: 256 seconds] 07:16:56 rudybot [~luser@ec2-50-18-28-110.us-west-1.compute.amazonaws.com] has joined #scheme 07:17:41 jrapdx [~jra@c-76-115-235-187.hsd1.wa.comcast.net] has joined #scheme 07:17:56 -!- przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has quit [Ping timeout: 245 seconds] 07:18:00 b1rkh0ff [~b1rkh0ff@178.77.19.125] has joined #scheme 07:20:20 przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has joined #scheme 07:29:55 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 07:31:38 -!- juxovec [~juxovec@151.18.broadband14.iol.cz] has quit [Remote host closed the connection] 07:32:49 -!- yacks [~yacks@180.151.36.169] has quit [Ping timeout: 240 seconds] 07:38:18 yacks [~yacks@180.151.36.169] has joined #scheme 07:40:08 -!- przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has quit [Ping timeout: 255 seconds] 07:50:18 -!- ASau [~user@46.115.114.82] has quit [Quit: I be back.] 07:53:15 juxovec [~juxovec@151.18.broadband14.iol.cz] has joined #scheme 07:54:07 -!- toekutr [~user@50-0-51-11.dsl.static.sonic.net] has quit [Read error: Connection reset by peer] 07:57:27 mmc2 [~michal@85.90.76.130] has joined #scheme 08:04:49 -!- juxovec [~juxovec@151.18.broadband14.iol.cz] has quit [Remote host closed the connection] 08:11:25 civodul [~user@193.50.110.135] has joined #scheme 08:13:15 -!- ecraven [~user@www.nexoid.at] has quit [Quit: rcirc on GNU Emacs 24.1.50.2] 08:14:28 ecraven [~user@178.79.130.240] has joined #scheme 08:14:40 sirdancealot [~sirdancea@98.82.broadband5.iol.cz] has joined #scheme 08:17:58 wingo [~wingo@cha74-2-88-160-190-192.fbx.proxad.net] has joined #scheme 08:28:36 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Remote host closed the connection] 08:29:18 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 08:32:43 rmathews_ [~roshan@122.165.89.11] has joined #scheme 08:34:33 -!- rmathews [~roshan@122.165.89.11] has quit [Ping timeout: 252 seconds] 08:34:33 -!- rmathews_ is now known as rmathews 08:35:47 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Ping timeout: 248 seconds] 08:37:01 hkBst_ [~marijn@gentoo/developer/hkbst] has joined #scheme 08:49:54 eataix [eataix@unaffiliated/eataix] has joined #scheme 08:56:49 juxovec [~juxovec@85.119.90.202] has joined #scheme 09:06:45 rmathews_ [~roshan@122.165.89.11] has joined #scheme 09:08:28 -!- rmathews [~roshan@122.165.89.11] has quit [Ping timeout: 245 seconds] 09:08:29 -!- rmathews_ is now known as rmathews 09:17:24 -!- Tanami_ is now known as Tanami 09:27:22 przl [~przlrkt@46.231.183.162] has joined #scheme 09:28:04 -!- przl [~przlrkt@46.231.183.162] has quit [Client Quit] 09:45:14 -!- yacks [~yacks@180.151.36.169] has quit [Ping timeout: 272 seconds] 09:56:04 ijp [~user@31.53.23.37] has joined #scheme 10:01:18 spobat [~spobat@p5DC76F6B.dip.t-dialin.net] has joined #scheme 10:03:34 -!- robot-beethoven [~user@c-24-118-142-0.hsd1.mn.comcast.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 10:20:49 -!- rmathews [~roshan@122.165.89.11] has quit [Ping timeout: 240 seconds] 10:20:51 rmathews_ [~roshan@122.165.89.11] has joined #scheme 10:29:41 rmathews [~roshan@122.165.89.11] has joined #scheme 10:30:33 -!- rmathews_ [~roshan@122.165.89.11] has quit [Ping timeout: 245 seconds] 10:35:13 przl [~przlrkt@46.231.183.162] has joined #scheme 10:37:20 -!- kubatyszko [~kubatyszk@softbank218115049016.bbtec.net] has quit [Read error: Connection reset by peer] 10:38:00 kubatyszko [~kubatyszk@218.115.49.16] has joined #scheme 10:39:43 -!- juxovec [~juxovec@85.119.90.202] has quit [Remote host closed the connection] 10:48:12 add^_ [~add^_@m37-3-22-251.cust.tele2.se] has joined #scheme 10:56:12 -!- rbarraud__ [~rbarraud@125-239-32-133.jetstream.xtra.co.nz] has quit [Ping timeout: 276 seconds] 11:02:16 wbooze [~wbooze@xdsl-78-35-164-173.netcologne.de] has joined #scheme 11:09:40 -!- rmathews [~roshan@122.165.89.11] has quit [Quit: ...] 11:10:30 juxovec [~juxovec@85.119.90.202] has joined #scheme 11:15:01 -!- juxovec [~juxovec@85.119.90.202] has quit [Ping timeout: 245 seconds] 11:15:39 juxovec [~juxovec@85.119.90.202] has joined #scheme 11:24:22 lewis_ [~lewis@122-59-194-155.jetstream.xtra.co.nz] has joined #scheme 11:25:48 -!- lewis1711 [~lewis@122-59-194-155.jetstream.xtra.co.nz] has quit [Ping timeout: 256 seconds] 11:38:03 rmathews [~roshan@122.164.142.67] has joined #scheme 11:46:39 -!- przl [~przlrkt@46.231.183.162] has quit [Ping timeout: 260 seconds] 11:49:49 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Remote host closed the connection] 11:49:57 -!- BossKonaSegwaY1 [~Michael@cpe-75-187-45-52.columbus.res.rr.com] has quit [Ping timeout: 240 seconds] 11:49:57 -!- wbooze [~wbooze@xdsl-78-35-164-173.netcologne.de] has quit [Ping timeout: 240 seconds] 11:49:57 -!- qrstuv [none@50.122.17.69] has quit [Ping timeout: 240 seconds] 11:50:03 qrstuv [none@50.122.17.69] has joined #scheme 11:50:09 BossKonaSegwaY [~Michael@cpe-75-187-45-52.columbus.res.rr.com] has joined #scheme 11:55:41 -!- add^_ [~add^_@m37-3-22-251.cust.tele2.se] has quit [Quit: The Garbage Collector got me...] 11:55:52 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 11:56:05 add^_ [~user@m37-3-22-251.cust.tele2.se] has joined #scheme 12:06:15 Riastradh: is there any way to retain file name and line number information when loading code in MIT/GNU Scheme, in order to get nicer error messages? 12:31:07 drewc: do you use any library for javascript? 12:41:38 -!- arbscht [~arbscht@fsf/member/arbscht] has quit [Ping timeout: 255 seconds] 12:50:37 wbooze [~wbooze@xdsl-78-35-164-173.netcologne.de] has joined #scheme 13:06:40 -!- lewis_ [~lewis@122-59-194-155.jetstream.xtra.co.nz] has quit [Quit: Leaving] 13:11:02 peterhil [~peterhil@cs78247138.pp.htv.fi] has joined #scheme 13:37:30 kk` [~kk@unaffiliated/kk/x-5380134] has joined #scheme 13:40:38 przl [~przlrkt@p54BD23B6.dip.t-dialin.net] has joined #scheme 13:44:46 yacks [~yacks@180.151.36.169] has joined #scheme 14:02:15 jrajav [~jrajav@198.179.137.211] has joined #scheme 14:04:16 -!- wbooze [~wbooze@xdsl-78-35-164-173.netcologne.de] has quit [Ping timeout: 272 seconds] 14:06:48 -!- ijp [~user@31.53.23.37] has quit [Ping timeout: 245 seconds] 14:10:34 sambio [~sambio@190.57.227.109] has joined #scheme 14:11:18 -!- juxovec [~juxovec@85.119.90.202] has quit [Remote host closed the connection] 14:13:34 ijp [~user@86.162.110.186] has joined #scheme 14:13:53 -!- hkBst_ [~marijn@gentoo/developer/hkbst] has quit [Ping timeout: 245 seconds] 14:18:18 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 14:20:53 -!- Triclops256|away is now known as Triclops256 14:22:21 -!- Triclops256 is now known as Triclops256|away 14:25:51 -!- przl [~przlrkt@p54BD23B6.dip.t-dialin.net] has quit [Quit: leaving] 14:26:19 przl [~przlrkt@p54BD23B6.dip.t-dialin.net] has joined #scheme 14:27:45 -!- gravicappa [~gravicapp@ppp91-77-170-197.pppoe.mtu-net.ru] has quit [Ping timeout: 248 seconds] 14:28:23 cdidd [~cdidd@95-28-40-246.broadband.corbina.ru] has joined #scheme 14:30:14 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Read error: Connection reset by peer] 14:33:32 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 14:40:48 francisl [~flavoie@199.84.164.114] has joined #scheme 14:47:38 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Ping timeout: 245 seconds] 14:49:25 -!- spobat [~spobat@p5DC76F6B.dip.t-dialin.net] has quit [Quit: Leaving] 14:50:46 hkBst [~marijn@gentoo/developer/hkbst] has joined #scheme 14:57:30 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 14:57:30 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Changing host] 14:57:30 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 14:58:28 -!- mmc2 [~michal@85.90.76.130] has quit [Ping timeout: 245 seconds] 15:05:20 -!- yacks [~yacks@180.151.36.169] has quit [Remote host closed the connection] 15:05:58 -!- hkBst [~marijn@gentoo/developer/hkbst] has quit [Ping timeout: 245 seconds] 15:11:01 hkBst_ [~marijn@gentoo/developer/hkbst] has joined #scheme 15:14:40 -!- samth_away is now known as samth 15:15:58 -!- hkBst_ [~marijn@gentoo/developer/hkbst] has quit [Ping timeout: 245 seconds] 15:19:39 hkBst_ [~marijn@gentoo/developer/hkbst] has joined #scheme 15:20:22 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 252 seconds] 15:20:57 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 15:22:14 rins [~aaron@75.149.129.85] has joined #scheme 15:25:33 -!- hkBst_ [~marijn@gentoo/developer/hkbst] has quit [Ping timeout: 245 seconds] 15:26:25 hkBst_ [~marijn@gentoo/developer/hkbst] has joined #scheme 15:29:08 -!- kubatyszko [~kubatyszk@218.115.49.16] has quit [Quit: kubatyszko] 15:30:33 -!- jrajav [~jrajav@198.179.137.211] has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE] 15:30:37 tupi [~user@186.205.40.203] has joined #scheme 15:30:37 -!- przl [~przlrkt@p54BD23B6.dip.t-dialin.net] has quit [Ping timeout: 252 seconds] 15:33:41 -!- hkBst_ [~marijn@gentoo/developer/hkbst] has quit [Read error: Connection reset by peer] 15:34:37 hkBst_ [~marijn@gentoo/developer/hkbst] has joined #scheme 15:40:33 -!- hkBst_ [~marijn@gentoo/developer/hkbst] has quit [Ping timeout: 245 seconds] 15:41:47 hkBst_ [~marijn@gentoo/developer/hkbst] has joined #scheme 15:42:23 jao [~jao@83.32.71.232] has joined #scheme 15:42:27 -!- jao [~jao@83.32.71.232] has quit [Changing host] 15:42:27 jao [~jao@pdpc/supporter/professional/jao] has joined #scheme 15:51:24 -!- saccadewrk [saccadewrk@nat/google/x-kkyurpgvpayljuwv] has quit [Read error: Connection timed out] 16:05:07 arcfide [~arcfide@2001:18e8:2:10f4:ea03:9aff:fe9a:68f0] has joined #scheme 16:05:29 -!- CoverSlide [~richard@pool-173-55-58-198.lsanca.fios.verizon.net] has quit [Read error: Operation timed out] 16:07:24 -!- hkBst_ [~marijn@gentoo/developer/hkbst] has quit [Read error: Connection reset by peer] 16:07:30 -!- civodul [~user@193.50.110.135] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 16:08:12 -!- Mining|away [~MiningMar@unaffiliated/miningmarsh] has quit [Ping timeout: 276 seconds] 16:08:51 -!- Triclops256|away [~Triclops2@Powder/Developer/Triclops200] has quit [Ping timeout: 276 seconds] 16:12:48 CoverSlide [~richard@pool-173-55-58-198.lsanca.fios.verizon.net] has joined #scheme 16:13:15 jrajav [~jrajav@198.179.137.211] has joined #scheme 16:21:40 -!- Euthy [~euthy@unaffiliated/euthydemus] has quit [Ping timeout: 248 seconds] 16:23:50 yacks [~yacks@180.151.36.169] has joined #scheme 16:24:47 hkBst_ [~marijn@gentoo/developer/hkbst] has joined #scheme 16:30:38 -!- fogus|away is now known as `fogus 16:37:49 -!- bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has quit [Ping timeout: 276 seconds] 16:37:54 hkBst__ [~marijn@79.170.210.172] has joined #scheme 16:39:06 -!- hkBst_ [~marijn@gentoo/developer/hkbst] has quit [Ping timeout: 276 seconds] 16:49:33 -!- hkBst__ [~marijn@79.170.210.172] has quit [Ping timeout: 252 seconds] 16:53:28 szablica [~karol@89.67.52.124] has joined #scheme 16:54:50 I guess you probably get a lot call/cc questions in here... 16:55:08 So here goes another one: 16:55:29 http://pastie.org/6135173 16:55:39 (immortal) loops infinitely 16:55:55 (immortal-2) doesn't 16:56:55 Ouch. 16:57:01 Incomplete paste. 16:57:22 Yeah, `ignore/cps' .. 16:57:44 And `->' ? Is that something like `case-lambda' ? 16:57:57 http://pastie.org/6135230 16:58:36 Oh, wait. 16:58:47 -> won't behave like lambda if I bind it that way? 16:59:09 przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has joined #scheme 16:59:19 Oh I didn't see your definition of `->'. :P 16:59:55 OK, doesn't `immortal-2' just return a lambda ? Maybe you meant to test ((immortal-2)) ? 17:00:28 Where do you have that `->' idea from by the way ? 17:01:00 (immortal-2) (The way I see it) should call the first function with the second one as an argument, shouldn't it? 17:01:19 Looks nicer I think. Try to bare with me. ;) 17:01:22 Indeed, sorry, I think my mind isn't very clear today. 17:01:39 And the `->' messes with my mind. :P 17:02:27 I can always repaste a version with normal lambdas instead if that helps. ;) 17:02:53 *taylanub* copies it into an Emacs buffer with scheme-mode enabled and cleans it up. 17:03:01 -!- yacks [~yacks@180.151.36.169] has quit [Ping timeout: 252 seconds] 17:03:13 http://pastie.org/6135290 17:03:34 spobat [~spobat@p5DC76F6B.dip.t-dialin.net] has joined #scheme 17:04:12 I use `pretty-symbol-mode' in Emacs which automatically displays occurrences of the token `lambda' as `'. 17:04:56 I don't use Emacs. (But shhh! Don't tell anyone.) 17:05:39 Anyway, the way I understand it (immortal) and (immortal-2) should behave the same. 17:06:38 Hopefully soon the Guile-integration will be done and Emacs Lisp code will mix with Scheme code. -- From what I see immortal-2 creates a lambda that ignores its argument, then calls it with another lambda .. which is ignored. 17:07:39 Basically the difference would boil down to how the first lambda differs from call/cc. 17:08:11 szablica: that (define -> lambda) won't work on most sane schems 17:08:28 It works in guile as far as I can tell. 17:08:40 szablica: In `immortal-2', you never call the second lambda. 17:08:47 ((-> (x) x) 3) 17:09:02 not in 2.0 it doesn't, 1.8 maybe 17:09:02 You just pass it to the first, which passes it to `ignore/cps' which then drops it on the floor. 17:09:22 ijp: Yup, I'm on 1.8. 17:09:40 stamourv: And that's what I've expected call/cc to do at first... 17:10:11 `immortal-2' has no call/cc. 17:10:40 szablica: Depending on the implementation (I think), `call/cc' implicitly calls the continuation at the end if the function didn't call it. 17:10:42 What you wrote is just `let', written as left-left-`lambda'. 17:11:06 So remove the (call/cc ignore/cps) from `immortal' and it's the same. 17:11:11 Mining|away [~MiningMar@199.19.116.207] has joined #scheme 17:11:14 rephrase: I expected the first lambda to work like call/cc. 17:11:41 Triclops256 [~Triclops2@Powder/Developer/Triclops200] has joined #scheme 17:11:43 No, since it doesn't implicitly call its argument as a function at the end of its body. 17:12:28 Which a function called by `call/cc' implicitly is made to do, figuratively. 17:12:42 mmc2 [~michal@178-85-64-28.dynamic.upc.nl] has joined #scheme 17:12:48 Hmmm. 17:13:32 taylanub: That doesn't make any sense. 17:13:42 (call/cc ( (cont) do some stuff)) -- implicit conversion --> (call/cc ( (cont) do some stuff (cont))) ;; Yeah, I'm low on sense today. 17:13:53 But I guess you can think of it like that ? 17:15:11 Hmmm. 17:15:20 szablica: I recommend reading tmp.barzilay.org/cont.txt 17:15:45 That's an extension of PLAI's chapter on continuations written by eli. 17:15:49 gravicappa [~gravicapp@ppp91-77-170-197.pppoe.mtu-net.ru] has joined #scheme 17:15:53 stamourv: I'll look into it. 17:16:08 PLAI in general is an excellent book, I highly recommend it. 17:16:30 Googled it out already. 17:16:36 Its author, Shriram Krishnamurthy, has video lectures of it online. Lemme find you the link. 17:16:36 Thx for the recommendation. 17:17:31 szablica: http://cs.brown.edu/courses/cs173/2012/Videos/ 17:17:45 Shriram's a great lecturer. 17:17:55 Anyway, I'm off for lunch, will be back later. 17:17:58 *stamourv* disappears. 17:19:25 yacks [~yacks@180.151.36.169] has joined #scheme 17:24:54 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 17:32:28 -!- szablica [~karol@89.67.52.124] has left #scheme 17:33:31 -!- MrFahrenheit [~RageOfTho@cable-77-221-21-70.dynamic.telemach.ba] has quit [Read error: Connection reset by peer] 17:33:57 MrFahrenheit [~RageOfTho@cable-77-221-21-70.dynamic.telemach.ba] has joined #scheme 17:43:35 snowylike [~sn@91-67-171-156-dynip.superkabel.de] has joined #scheme 17:46:16 huseby [~huseby@gateway/tor-sasl/huseby] has joined #scheme 17:53:12 Euthy [~euthy@unaffiliated/euthydemus] has joined #scheme 17:53:37 -!- yacks [~yacks@180.151.36.169] has quit [Ping timeout: 252 seconds] 17:54:09 -!- fizzie` is now known as fizzie 17:55:05 ASau [~user@46.115.67.137] has joined #scheme 17:57:19 saccadewrk [saccadewrk@nat/google/x-mcbxqwuhubphdxux] has joined #scheme 17:59:10 Oejet [~Oejet@unaffiliated/oejet] has joined #scheme 18:03:14 yacks [~yacks@180.151.36.169] has joined #scheme 18:05:05 -!- jrajav [~jrajav@198.179.137.211] has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE] 18:10:28 -!- przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 18:19:48 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 18:20:16 bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has joined #scheme 18:25:21 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 18:25:45 -!- jrapdx [~jra@c-76-115-235-187.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 18:29:40 -!- yacks [~yacks@180.151.36.169] has quit [Ping timeout: 256 seconds] 18:29:42 -!- huseby [~huseby@gateway/tor-sasl/huseby] has quit [Remote host closed the connection] 18:36:42 HG` [~HG@wprt-4db6c098.pool.mediaWays.net] has joined #scheme 18:36:57 przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has joined #scheme 18:37:46 -!- HG` [~HG@wprt-4db6c098.pool.mediaWays.net] has quit [Remote host closed the connection] 18:38:43 HG` [~HG@wprt-4db6c098.pool.mediaWays.net] has joined #scheme 18:38:47 -!- przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has quit [Client Quit] 18:39:08 yacks [~yacks@180.151.36.169] has joined #scheme 18:39:38 -!- HG` [~HG@wprt-4db6c098.pool.mediaWays.net] has quit [Remote host closed the connection] 18:41:41 -!- sambio [~sambio@190.57.227.109] has quit [Ping timeout: 245 seconds] 18:48:34 snorble_ [~snorble@213.101.209.229] has joined #scheme 18:54:29 sambio [~sambio@190.57.227.109] has joined #scheme 18:55:13 huseby [~huseby@gateway/tor-sasl/huseby] has joined #scheme 18:56:13 -!- arcfide [~arcfide@2001:18e8:2:10f4:ea03:9aff:fe9a:68f0] has quit [Quit: Konversation terminated!] 19:06:49 -!- b1rkh0ff [~b1rkh0ff@178.77.19.125] has quit [Read error: Connection reset by peer] 19:15:03 spobat_ [~spobat@p5DC76F6B.dip.t-dialin.net] has joined #scheme 19:15:05 juxovec [~juxovec@88.103.13.78] has joined #scheme 19:16:16 -!- bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has quit [Ping timeout: 245 seconds] 19:18:14 His 'The Swine Before Perl' talk was fun, too: http://cs.brown.edu/~sk/Publications/Talks/SwineBeforePerl/ 19:19:53 -!- juxovec [~juxovec@88.103.13.78] has quit [Ping timeout: 255 seconds] 19:21:11 juxovec [~juxovec@88.103.13.78] has joined #scheme 19:24:14 -!- nightfly [~sage@sagenite.net] has quit [Ping timeout: 252 seconds] 19:24:54 -!- spobat [~spobat@p5DC76F6B.dip.t-dialin.net] has quit [*.net *.split] 19:29:15 przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has joined #scheme 19:32:19 -!- przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has quit [Client Quit] 19:33:46 -!- spobat_ is now known as spobat 19:37:30 arbscht [~arbscht@fsf/member/arbscht] has joined #scheme 19:37:38 -!- rmathews [~roshan@122.164.142.67] has quit [Quit: ...] 19:43:01 Giomancer [~gio@107.201.206.230] has joined #scheme 19:43:31 rbarraud__ [~rbarraud@125-239-32-133.jetstream.xtra.co.nz] has joined #scheme 19:47:18 b1rkh0ff [~b1rkh0ff@178.77.19.125] has joined #scheme 19:54:25 -!- yacks [~yacks@180.151.36.169] has quit [Quit: Leaving] 19:55:26 -!- spobat is now known as noone 19:55:38 -!- noone is now known as spobat 19:59:48 joneshf-laptop [~joneshf@public-nat2.arc.losrios.edu] has joined #scheme 20:01:48 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 20:02:59 -!- snowylike [~sn@91-67-171-156-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 20:09:27 Yep.. gotta say I'm liking guile.. 20:10:52 I compiled drracket, and after playing with it a bit, I'm not really a fan 20:11:20 Giomancer: just so you know, you can run racket w/o drracket 20:12:53 true 20:14:02 But I wasn't fond of their command line "legacy" scheme interpreter. 20:14:16 -!- juxovec [~juxovec@88.103.13.78] has quit [Remote host closed the connection] 20:14:42 I don't think they consider the 'racket' executable legacy 20:15:10 what with xrepl and all that 20:15:16 but r5rs mode they do :p 20:15:21 r5rs is legacy 20:16:40 przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has joined #scheme 20:17:26 *Giomancer* shrugs 20:20:05 While it technically is, I'd have to point out that I'd still rather not be treated as a second-class language. The plt people have moved on into their own language. 20:21:53 the same applies to basically any scheme of reasonable size 20:23:20 Because of its flexibility and extensibility? 20:23:56 if only 20:25:07 Well, do explain. 20:25:30 I haven't tried most of the other implementations 20:25:42 well, if you read the r5rs document, you will notice that you basically can't do anything useful with it 20:25:46 s/most/any 20:26:41 so, you need to extend it for basically any purpose. Rinse/repeat a dozen or so times, and you get a useful implementation 20:26:50 Oh, right. Apologies, I was thinking r6 20:27:11 Or was I? 20:27:15 and r6rs is considered tl;dr 20:27:21 haha 20:28:46 toekutr [~user@50-0-51-11.dsl.static.sonic.net] has joined #scheme 20:30:56 so the major implementations have basically moved forward on their own, thwen 20:31:05 ? 20:32:00 I would say we mostly haven't moved on 20:32:40 ..you make it sound like an exgirlfriend 20:35:18 -!- CoverSlide [~richard@pool-173-55-58-198.lsanca.fios.verizon.net] has quit [Ping timeout: 240 seconds] 20:35:55 Lambda the ultimate ex-girlfriend? 20:36:02 -!- wingo [~wingo@cha74-2-88-160-190-192.fbx.proxad.net] has quit [Ping timeout: 256 seconds] 20:36:34 xD 20:41:55 jrapdx [~jra@74-95-41-205-Oregon.hfc.comcastbusiness.net] has joined #scheme 20:44:43 juxovec [~juxovec@88.103.13.78] has joined #scheme 20:44:49 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 248 seconds] 20:45:51 stamourv: you called her and she never returned? 20:46:24 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 20:46:53 wbooze [~wbooze@xdsl-78-35-157-248.netcologne.de] has joined #scheme 20:47:24 the dangers of mixing love & call/cc 20:48:09 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 20:48:48 asumu: Nah, that was Charlie. 20:48:59 (http://en.wikipedia.org/wiki/M.T.A. for the non-bostonians.) 20:49:29 (which led to the awesome http://www.pipeline.com/~hbaker1/CheneyMTA.html) 20:49:45 Best title ever. 20:52:49 -!- juxovec [~juxovec@88.103.13.78] has quit [Ping timeout: 248 seconds] 20:53:22 -!- Giomancer [~gio@107.201.206.230] has quit [Quit: Ex-Chat] 20:53:36 -!- przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has quit [Ping timeout: 256 seconds] 20:54:12 -!- Mining|away [~MiningMar@199.19.116.207] has quit [Ping timeout: 276 seconds] 20:54:14 -!- taylanub [tub@79.217.68.241] has quit [Disconnected by services] 20:54:34 taylanub [tub@p4FD9277B.dip.t-dialin.net] has joined #scheme 20:55:30 -!- Triclops256 [~Triclops2@Powder/Developer/Triclops200] has quit [Ping timeout: 276 seconds] 20:59:26 wingo [~wingo@cha74-2-88-160-190-192.fbx.proxad.net] has joined #scheme 21:09:16 Mining|away [~MiningMar@199.19.116.207] has joined #scheme 21:09:36 Triclops256 [~Triclops2@Powder/Developer/Triclops200] has joined #scheme 21:12:41 -!- `fogus is now known as fogus|away 21:14:21 -!- Triclops256 [~Triclops2@Powder/Developer/Triclops200] has quit [Ping timeout: 276 seconds] 21:14:21 -!- Mining|away [~MiningMar@199.19.116.207] has quit [Ping timeout: 276 seconds] 21:20:27 -!- cdidd [~cdidd@95-28-40-246.broadband.corbina.ru] has quit [Read error: Connection reset by peer] 21:24:19 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 21:29:35 -!- duncanm_ is now known as duncanm 21:31:16 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 244 seconds] 21:33:27 przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has joined #scheme 21:36:54 przl_ [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has joined #scheme 21:38:02 ldionmarcil [~user@unaffiliated/maden] has joined #scheme 21:39:54 civodul [~user@reverse-83.fdn.fr] has joined #scheme 21:45:25 juxovec [~juxovec@88.103.13.78] has joined #scheme 21:50:01 -!- juxovec [~juxovec@88.103.13.78] has quit [Ping timeout: 245 seconds] 21:51:07 -!- cmatei [~cmatei@95.76.25.200] has quit [Ping timeout: 276 seconds] 21:53:16 kubatyszko [~kubatyszk@softbank218115049016.bbtec.net] has joined #scheme 21:54:47 bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has joined #scheme 21:56:06 -!- adiii [~adityavit@c-76-117-52-187.hsd1.nj.comcast.net] has quit [Ping timeout: 272 seconds] 21:57:09 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 21:59:42 -!- gravicappa [~gravicapp@ppp91-77-170-197.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 22:05:18 -!- wingo [~wingo@cha74-2-88-160-190-192.fbx.proxad.net] has quit [Ping timeout: 240 seconds] 22:09:22 adiii [~adityavit@c-68-45-153-184.hsd1.nj.comcast.net] has joined #scheme 22:35:17 Mining|away [~MiningMar@199.19.116.207] has joined #scheme 22:35:36 Triclops256 [~Triclops2@Powder/Developer/Triclops200] has joined #scheme 22:37:01 -!- przl_ [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has quit [Ping timeout: 252 seconds] 22:37:39 -!- przl [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has quit [Ping timeout: 260 seconds] 22:38:04 -!- joneshf-laptop [~joneshf@public-nat2.arc.losrios.edu] has quit [Ping timeout: 256 seconds] 22:38:43 -!- Mining|away is now known as MiningMarsh 22:41:30 arcfide [~arcfide@2001:18e8:2:10f4:ea03:9aff:fe9a:68f0] has joined #scheme 22:42:06 przl_ [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has joined #scheme 22:42:10 przl__ [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has joined #scheme 22:45:56 juxovec [~juxovec@88.103.13.78] has joined #scheme 22:50:19 -!- juxovec [~juxovec@88.103.13.78] has quit [Ping timeout: 244 seconds] 22:51:23 -!- DerGuteMoritz [~syn@85.88.17.198] has quit [Ping timeout: 255 seconds] 22:51:32 DerGuteMoritz [~syn@85.88.17.198] has joined #scheme 22:51:44 -!- add^_ [~user@m37-3-22-251.cust.tele2.se] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 22:56:17 -!- MiningMarsh is now known as Mining|away 22:57:22 robot-beethoven [~user@c-24-118-142-0.hsd1.mn.comcast.net] has joined #scheme 23:00:36 -!- MrFahrenheit [~RageOfTho@cable-77-221-21-70.dynamic.telemach.ba] has quit [Read error: Connection reset by peer] 23:01:03 MrFahrenheit [~RageOfTho@cable-77-221-21-70.dynamic.telemach.ba] has joined #scheme 23:01:42 -!- spobat [~spobat@p5DC76F6B.dip.t-dialin.net] has quit [Quit: Leaving] 23:02:53 PuercoPo` [~user@190.222.252.106] has joined #scheme 23:04:28 -!- PuercoPop [~user@190.222.252.106] has quit [Ping timeout: 246 seconds] 23:06:16 -!- mmc2 [~michal@178-85-64-28.dynamic.upc.nl] has quit [Ping timeout: 245 seconds] 23:06:46 -!- Mining|away is now known as MiningMarsh 23:07:07 -!- PuercoPo` is now known as PuercoPop 23:13:59 -!- przl__ [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has quit [Ping timeout: 255 seconds] 23:13:59 -!- przl_ [~przlrkt@p54BF9617.dip0.t-ipconnect.de] has quit [Ping timeout: 255 seconds] 23:26:15 user52882 [~user52882@94-194-53-166.zone8.bethere.co.uk] has joined #scheme 23:29:44 -!- MiningMarsh [~MiningMar@199.19.116.207] has quit [Changing host] 23:29:44 MiningMarsh [~MiningMar@unaffiliated/miningmarsh] has joined #scheme 23:37:08 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 252 seconds] 23:37:43 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 23:39:04 -!- Triclops256 is now known as Triclops256|away 23:40:29 -!- user52882 [~user52882@94-194-53-166.zone8.bethere.co.uk] has quit [Quit: leaving] 23:40:57 user52882 [~user52882@94-194-53-166.zone8.bethere.co.uk] has joined #scheme 23:41:20 -!- francisl [~flavoie@199.84.164.114] has quit [Ping timeout: 252 seconds] 23:41:36 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 276 seconds] 23:46:24 juxovec [~juxovec@88.103.13.78] has joined #scheme 23:50:52 -!- juxovec [~juxovec@88.103.13.78] has quit [Ping timeout: 252 seconds]