00:10:26 And the Julian calendar is an alternate calendar with different leap year rules. 00:13:33 aisa_ [~aisa@c-68-35-167-179.hsd1.nm.comcast.net] has joined #scheme 00:13:42 -!- aisa [~aisa@c-68-35-167-179.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 00:13:42 -!- aisa_ is now known as aisa 00:15:06 damn, can't install anything with snow. invalid signature even when i import the signature 00:17:35 -!- Phao [phao@189.107.179.24] has quit [Quit: Fui embora] 00:19:03 -!- pnkfelix [~Adium@c-71-225-45-140.hsd1.nj.comcast.net] has quit [Ping timeout: 240 seconds] 00:19:41 -!- rpg [~rpg@216.243.156.16.real-time.com] has quit [Quit: rpg] 00:22:33 -!- HG` [~HG@xdsl-188-118-135-144.dip.osnanet.de] has quit [Quit: Leaving.] 00:32:05 -!- parolang [~kevin@c-64-246-121-114.oregonrd-wifi-1261.amplex.net] has quit [Remote host closed the connection] 00:34:11 -!- mmc1 [~michal@82-148-210-75.fiber.unet.nl] has quit [Ping timeout: 240 seconds] 00:35:21 -!- aisa [~aisa@c-68-35-167-179.hsd1.nm.comcast.net] has quit [Quit: aisa] 00:35:38 -!- rgrau [~user@62.Red-88-2-20.staticIP.rima-tde.net] has quit [Read error: Connection reset by peer] 00:35:39 aisa [~aisa@c-68-35-167-179.hsd1.nm.comcast.net] has joined #scheme 00:36:04 -!- bweaver [~user@host-68-169-175-225.WISOLT2.epbfi.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 00:36:08 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Quit: Leaving] 00:51:13 -!- ehwat [ehwat@CPE002401ce6288-CM0019474d1aac.cpe.net.cable.rogers.com] has quit [] 00:51:58 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 00:54:13 -!- Sveklo [~sveklo@unaffiliated/sveklo] has quit [Remote host closed the connection] 01:04:33 Sveklo [~sveklo@unaffiliated/sveklo] has joined #scheme 01:07:08 -!- mwolfe [~michael@cpe-67-49-72-40.socal.res.rr.com] has quit [Remote host closed the connection] 01:07:18 serpentologist [~sanya@93-80-153-34.broadband.corbina.ru] has joined #scheme 01:11:50 -!- martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has quit [Ping timeout: 246 seconds] 01:12:33 Azuvix [~Azuvix@174-27-39-176.bois.qwest.net] has joined #scheme 01:12:35 martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 01:37:35 -!- Sveklo [~sveklo@unaffiliated/sveklo] has quit [Remote host closed the connection] 01:42:38 davazp [~user@15.Red-83-57-38.dynamicIP.rima-tde.net] has joined #scheme 01:44:49 -!- aisa [~aisa@c-68-35-167-179.hsd1.nm.comcast.net] has quit [Quit: aisa] 01:53:29 -!- Iommi [~Iommi@72.Red-88-22-218.staticIP.rima-tde.net] has quit [Ping timeout: 255 seconds] 01:55:23 rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 01:58:05 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 01:58:32 -!- carleastlund [~cce@gotham.ccs.neu.edu] has quit [Quit: carleastlund] 02:04:32 -!- MrFahrenheit [~RageOfTho@users-146-124.vinet.ba] has quit [Ping timeout: 240 seconds] 02:16:23 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Remote host closed the connection] 02:17:50 dnolen [~davidnole@184.152.69.75] has joined #scheme 02:20:32 -!- pdelgallego_ [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 240 seconds] 02:20:34 -!- pdelgallego__ [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 255 seconds] 02:30:20 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Read error: Operation timed out] 02:32:20 -!- fantazo [~fantazo@213.129.230.10] has quit [Remote host closed the connection] 02:32:27 -!- dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 02:32:45 jeefung [~jeff@c-98-223-239-157.hsd1.in.comcast.net] has joined #scheme 02:32:54 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 02:32:54 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 02:32:54 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 02:45:57 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 02:51:38 -!- rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has quit [Quit: Computer has gone to sleep] 02:57:13 mudcake [~user@70.26.16.19] has joined #scheme 03:01:57 -!- mudcake [~user@70.26.16.19] has left #scheme 03:05:49 -!- davazp [~user@15.Red-83-57-38.dynamicIP.rima-tde.net] has quit [Remote host closed the connection] 03:09:11 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 03:09:17 -!- parcs [~patrick@ool-45741d7d.dyn.optonline.net] has quit [Read error: Connection reset by peer] 03:09:30 parcs [~patrick@ool-45741d7d.dyn.optonline.net] has joined #scheme 03:24:41 fantazo [~fantazo@178-191-165-18.adsl.highway.telekom.at] has joined #scheme 03:29:26 fantazo_ [~fantazo@178-191-172-23.adsl.highway.telekom.at] has joined #scheme 03:32:45 -!- fantazo [~fantazo@178-191-165-18.adsl.highway.telekom.at] has quit [Ping timeout: 260 seconds] 03:47:32 -!- gravicappa [~gravicapp@ppp85-141-165-134.pppoe.mtu-net.ru] has quit [Ping timeout: 272 seconds] 03:52:40 timj_ [~timj@e176199028.adsl.alicedsl.de] has joined #scheme 03:55:51 -!- timj [~timj@e176198240.adsl.alicedsl.de] has quit [Ping timeout: 240 seconds] 03:56:04 mwolfe [~michael@cpe-67-49-72-40.socal.res.rr.com] has joined #scheme 04:01:34 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 04:17:25 -!- rasterbar [~rasterbar@unaffiliated/rasterbar] has quit [Remote host closed the connection] 04:35:53 eli [~eli@winooski.ccs.neu.edu] has joined #scheme 04:37:14 -!- evhan [~evhan@76-250-39-229.lightspeed.mdsnwi.sbcglobal.net] has quit [Ping timeout: 240 seconds] 04:45:38 gabot [~eli@winooski.ccs.neu.edu] has joined #scheme 05:04:04 -!- Azuvix [~Azuvix@174-27-39-176.bois.qwest.net] has quit [Quit: Leaving] 05:04:55 -!- gabot [~eli@winooski.ccs.neu.edu] has quit [Ping timeout: 246 seconds] 05:06:04 gabot [~eli@winooski.ccs.neu.edu] has joined #scheme 05:06:07 -!- stamourv [~user@129.10.112.220] has quit [Ping timeout: 265 seconds] 05:15:43 ha ha ha 05:16:17 oh jesus christ. it's skynet 05:18:37 I just found one use for CPS in C and C++ programs. :-P 05:18:53 In a coding contest where no semicolons are permitted. 05:33:23 nilg [~user@77.70.2.229] has joined #scheme 05:35:12 -!- MapMan [mapman@2001:470:1f0a:120e::fe] has quit [Ping timeout: 245 seconds] 05:35:18 MapMan [mapman@2001:470:1f0a:120e::fe] has joined #scheme 05:37:19 -!- lewis1711 [~lewis@125-239-255-244.jetstream.xtra.co.nz] has left #scheme 05:42:40 Ruinpeople [~email@109.130.55.189] has joined #scheme 05:54:50 noonian [~noonian@c-24-20-15-118.hsd1.or.comcast.net] has joined #scheme 05:56:26 mdaya [~mdaya@dsl-185-137-97.dynamic.wa.co.za] has joined #scheme 05:57:00 -!- mdaya is now known as laevus 05:57:46 -!- laevus [~mdaya@dsl-185-137-97.dynamic.wa.co.za] has quit [Client Quit] 05:58:08 laevus [~mdaya@dsl-185-137-97.dynamic.wa.co.za] has joined #scheme 06:16:07 lewis1711 [~lewis@125-239-255-244.jetstream.xtra.co.nz] has joined #scheme 06:45:07 bitweiler [~bitweiler@adsl-99-40-239-167.dsl.stl2mo.sbcglobal.net] has joined #scheme 07:00:10 -!- laevus [~mdaya@dsl-185-137-97.dynamic.wa.co.za] has quit [Quit: laevus] 07:00:56 -!- Ruinpeople [~email@109.130.55.189] has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )] 07:08:15 -!- mwolfe [~michael@cpe-67-49-72-40.socal.res.rr.com] has quit [Remote host closed the connection] 07:17:59 Hm, is there a trick to handling strings in Scheme? 07:18:19 I'm feeling like I need to use set! and that's not a good feeling 07:18:20 :-| 07:18:38 I know that's incredibly vague... 07:19:38 set? omg, why don't you just write a for loop that does pointer arithmetic you cretin 07:20:03 :-P 07:20:17 Maybe I just need better regeces 07:20:21 Regexes 07:21:34 or to code your own combinator parser 07:24:57 jewel [~jewel@196-215-16-138.dynamic.isadsl.co.za] has joined #scheme 07:25:51 fds: What are you trying to do? 07:26:14 cky: Parse IRC messages, of course! :-) 07:26:38 there are procedures like substring 07:26:52 and you can convert strings to lists of chars if you want to 07:27:02 Modius [~Modius@cpe-70-123-158-125.austin.res.rr.com] has joined #scheme 07:27:25 fds: Have you looked at the SRFI 13 functions? 07:27:43 fds: Guile natively supports SRFI 13 without needing to import any modules. 07:28:01 I'll look into it now, thanks 07:28:05 :-) 07:29:38 damn you C, why does everything juicy have to be written in you *headbutts FFI* 07:29:42 hi cky 07:30:47 Ah, yeah, this looks good. I have to admit that I was so busy reading the regex documentation I hadn't thought of looking at generic string-related stuff. :-| 07:30:55 lewis1711: Heya! 07:31:13 I need a cup of tea before I get seriously into this though 07:31:14 lewis1711: Many programmers write juicy stuff in C because they're not bright enough to code it in Scheme to begin with. *grins, ducks, and runs* 07:31:19 fds: :-D 07:31:53 lol I just coded an irc library on typed/racket 07:32:11 rapacity: Nice. :-) 07:32:20 rapacity: I can't wrap my head around Typed Racket. Maybe I'll try one day. 07:32:21 cky: maybe so 07:32:37 Ruinpeople [~nnscript@109.130.55.189] has joined #scheme 07:32:45 ah :p, I had problems with it when I started 07:33:12 though I slwoly got used to static strong typing, my deisngs end up different than dynamic 07:33:45 damn, I'm sleepy :< typoing alot 07:33:58 fds! 07:34:16 -!- bitweiler [~bitweiler@adsl-99-40-239-167.dsl.stl2mo.sbcglobal.net] has quit [Ping timeout: 272 seconds] 07:35:30 eut! 07:35:39 lewis1711! 07:35:42 ...oh 07:35:43 :( 07:36:09 Apparently I know eut. 07:37:52 Heh. 07:38:46 you trying to adhere to the rfc? 07:41:20 I'm trying, but if it only handles whichever IRCD Freenode uses it'll be a start. :-P 07:45:38 :] 07:57:32 -!- noonian [~noonian@c-24-20-15-118.hsd1.or.comcast.net] has quit [Ping timeout: 255 seconds] 07:58:01 timely reminder to self: FFI's do not check whether you have given them absurd return types 08:16:39 HG` [~HG@xdsl-188-118-128-200.dip.osnanet.de] has joined #scheme 08:18:05 femtoo [~femto@95-89-248-44-dynip.superkabel.de] has joined #scheme 08:22:57 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 08:37:16 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 08:56:48 scheme has just been demoted to embedded language for this project. I hope you guys will still talk to me 09:01:06 lewis1711, is this a trick 09:01:17 It's okay, as long as your main application is written with GolfScript. Also, what kilimanjaro said. 09:03:03 thanks for getting my back 09:03:38 rasterbar [~rasterbar@unaffiliated/rasterbar] has joined #scheme 09:06:21 :-) 09:12:39 -!- parcs [~patrick@ool-45741d7d.dyn.optonline.net] has quit [Ping timeout: 240 seconds] 09:14:00 mmc1 [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 09:14:03 parcs [~patrick@ool-45741d7d.dyn.optonline.net] has joined #scheme 09:16:55 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 246 seconds] 09:19:55 haha I remember golf script :D 09:20:18 :-D 09:20:46 Here's something I recently wrote (with lots of improvements from leonid): 09:20:50 100,{)6,{.(&},{1$1$%{;}{4*35+6875*25base{122\-}%}if}%\or}%n* 09:24:29 needs more parens 09:24:53 drdo [~user@91.205.108.93.rev.vodafone.pt] has joined #scheme 09:26:49 Hahahahahaha. 09:26:50 Jafet1 [~Jafet@unaffiliated/jafet] has joined #scheme 09:27:38 -!- Jafet [~Jafet@unaffiliated/jafet] has quit [Ping timeout: 272 seconds] 09:27:41 Still, from my point of view, it's still a step up on many "mainstream" languages by not being infix. :-P 09:29:50 most languages are only infix for a few functions 09:30:07 arithmetic, concatenation, that's usually about it 09:37:28 nilg [~user@77.70.2.229] has joined #scheme 09:39:44 -!- serpentologist [~sanya@93-80-153-34.broadband.corbina.ru] has left #scheme 09:45:06 -!- mmc1 [~michal@82-148-210-75.fiber.unet.nl] has quit [Quit: Leaving.] 09:45:37 mmc1 [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 10:00:40 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 260 seconds] 10:04:31 femtooo [~femto@95-89-248-44-dynip.superkabel.de] has joined #scheme 10:05:27 -!- femtoo [~femto@95-89-248-44-dynip.superkabel.de] has quit [Ping timeout: 240 seconds] 10:05:59 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 10:07:16 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 10:15:18 pdelgallego__ [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 10:31:35 gravicappa [~gravicapp@ppp85-141-165-134.pppoe.mtu-net.ru] has joined #scheme 10:32:20 pdelgallego_ [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 10:32:38 -!- zanes [~zane@wall.tripitinc.com] has quit [Ping timeout: 250 seconds] 10:37:32 -!- pygospa [~pygospa@kiel-4dbec101.pool.mediaWays.net] has quit [Disconnected by services] 10:37:44 pygospa [~pygospa@kiel-4d067795.pool.mediaWays.net] has joined #scheme 10:37:48 nilg [~user@77.70.2.229] has joined #scheme 10:38:57 zanes_ [~zane@wall.tripitinc.com] has joined #scheme 10:47:10 -!- gravicappa [~gravicapp@ppp85-141-165-134.pppoe.mtu-net.ru] has quit [Ping timeout: 240 seconds] 10:51:48 bokr [~eduska@109.110.35.208] has joined #scheme 10:55:50 alaricsp [~alaric@relief.warhead.org.uk] has joined #scheme 11:01:34 rgrau [~user@62.Red-88-2-20.staticIP.rima-tde.net] has joined #scheme 11:02:32 wbooze` [~levgue@xdsl-78-35-177-159.netcologne.de] has joined #scheme 11:02:34 homie` [~levgue@xdsl-78-35-177-159.netcologne.de] has joined #scheme 11:04:43 -!- homie [~levgue@xdsl-78-35-132-152.netcologne.de] has quit [Ping timeout: 246 seconds] 11:04:44 Couick [~quassel@AClermont-Ferrand-158-1-128-72.w86-194.abo.wanadoo.fr] has joined #scheme 11:05:42 gravicappa [~gravicapp@ppp85-141-165-134.pppoe.mtu-net.ru] has joined #scheme 11:05:42 -!- wbooze [~levgue@xdsl-78-35-132-152.netcologne.de] has quit [Ping timeout: 276 seconds] 11:10:39 -!- Caleb-- [~caleb@bzq-109-65-207-153.red.bezeqint.net] has quit [Read error: Connection reset by peer] 11:12:00 -!- pdelgallego_ [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Read error: Operation timed out] 11:12:09 tupi [~david@186.205.37.15] has joined #scheme 11:12:47 -!- homie` [~levgue@xdsl-78-35-177-159.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 11:13:05 -!- wbooze` [~levgue@xdsl-78-35-177-159.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 11:15:05 -!- pdelgallego__ [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 255 seconds] 11:15:32 homie [~levgue@xdsl-78-35-177-159.netcologne.de] has joined #scheme 11:16:08 -!- zanes_ [~zane@wall.tripitinc.com] has quit [Read error: Connection reset by peer] 11:16:22 zanes_ [~zane@wall.tripitinc.com] has joined #scheme 11:18:37 wbooze [~levgue@xdsl-78-35-177-159.netcologne.de] has joined #scheme 11:21:05 MrFahrenheit [~RageOfTho@users-146-124.vinet.ba] has joined #scheme 11:24:33 -!- lewis1711 [~lewis@125-239-255-244.jetstream.xtra.co.nz] has left #scheme 11:26:44 -!- homie [~levgue@xdsl-78-35-177-159.netcologne.de] has quit [Remote host closed the connection] 11:26:44 -!- wbooze [~levgue@xdsl-78-35-177-159.netcologne.de] has quit [Read error: Connection reset by peer] 11:29:25 fantazo__ [~fantazo@178-190-239-215.adsl.highway.telekom.at] has joined #scheme 11:32:26 -!- fantazo_ [~fantazo@178-191-172-23.adsl.highway.telekom.at] has quit [Ping timeout: 240 seconds] 11:51:08 aklt [~aklt@77.75.167.158] has joined #scheme 11:52:25 Hi, I am using chicken scheme and am trying to get a script to run in the interepreter as well as being able to compile it... but I am not succeeding. I would like to ask for advice! 11:52:49 My problem is importing the posix module 11:58:54 -!- zanes_ is now known as zanes 11:59:27 -!- gravicappa [~gravicapp@ppp85-141-165-134.pppoe.mtu-net.ru] has quit [Ping timeout: 240 seconds] 12:00:03 homie [~levgue@xdsl-78-35-177-159.netcologne.de] has joined #scheme 12:03:24 wbooze [~levgue@xdsl-78-35-177-159.netcologne.de] has joined #scheme 12:07:19 aklt: Could you be more specific? 12:07:28 What exactly goes wrong? 12:09:11 sjamaan: I have: (import posix) (print (read-all (open-output-pipe "ls"))) 12:09:25 sjamaan: And it fails with an error, but I can compile it 12:09:37 Try (use posix) instead 12:10:07 USE loads the library and imports it both at the same time 12:10:17 I can't explain why compiling it works, though 12:10:43 I get an error when I compile it too 12:11:59 sjamaan: Oh, thanks. I think I tried with use, which was the one that compiled, but when running with csi I get a different error 12:12:04 sjamaan: Error: bad argument count - received 3 but expected 2: # 12:12:31 On *this* program? 12:12:34 It works here 12:12:48 Yes, the program I pasted 12:13:04 sjamaan: Hmm, that could be a sign of my chicken setup being strange maybe? 12:13:06 Which version of Chicke is this? 12:13:11 Chicken 12:13:34 It is Version 4.6.3 12:13:44 Ah, a development snapshot 12:13:50 ...but maybe I have a funny library setup 12:13:54 It's possible that contained a bug or something 12:13:56 -!- Fare [~Fare@ita4fw1.itasoftware.com] has quit [Quit: Leaving] 12:13:58 sjamaan: Oh, it is? 12:14:03 Uh! 12:14:21 Yes, release versions end in .0 12:14:36 Then I guess it would be a good idea to install it via a debian package. 12:14:38 Ah 12:14:50 -!- snappy [~naveen@armakuni.lastninja.net] has quit [Changing host] 12:14:50 snappy [~naveen@unaffiliated/snappy] has joined #scheme 12:14:53 sjamaan: What would be the recommended way to install chicken? 12:15:03 Your OS's package manager 12:15:11 If it has a recent enough version, of course 12:15:31 Hmm, thanks. I think I'll give that a try 12:15:34 yw 12:15:45 By the way, there's also #chicken 12:15:52 If you get no reply here you can try there 12:18:12 -!- aklt [~aklt@77.75.167.158] has quit [Read error: No route to host] 12:18:44 -!- snappy [~naveen@unaffiliated/snappy] has left #scheme 12:23:11 -!- em [~em@unaffiliated/emma] has quit [Ping timeout: 276 seconds] 12:23:24 hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has joined #scheme 12:24:48 em [~em@unaffiliated/emma] has joined #scheme 12:26:21 dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has joined #scheme 12:27:42 -!- MapMan [mapman@2001:470:1f0a:120e::fe] has quit [Read error: Operation timed out] 12:30:31 -!- Couick [~quassel@AClermont-Ferrand-158-1-128-72.w86-194.abo.wanadoo.fr] has quit [Remote host closed the connection] 12:35:24 gravicappa [~gravicapp@ppp85-141-165-134.pppoe.mtu-net.ru] has joined #scheme 12:41:03 Couick [~quassel@AClermont-Ferrand-158-1-128-72.w86-194.abo.wanadoo.fr] has joined #scheme 12:41:09 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 12:44:22 -!- Couick [~quassel@AClermont-Ferrand-158-1-128-72.w86-194.abo.wanadoo.fr] has quit [Remote host closed the connection] 12:47:36 -!- Jafet1 [~Jafet@unaffiliated/jafet] has quit [Quit: Leaving.] 12:53:34 aklt [~aklt@77.75.167.158] has joined #scheme 12:53:48 Hello again 12:56:20 I am trying to run a chicken scheme script. With "#! /usr/bin/csi" as the first line things are fine. 12:56:37 (or almost, things in my ~/.csirc are also loaded) 12:57:17 But if I use "#! /usr/bin/csi -script" or use "-n" then I get an error... can anyone give a tip? 13:06:02 nilg [~user@77.70.2.229] has joined #scheme 13:11:40 mathk__ [~mathk@194.177.62.22] has joined #scheme 13:13:24 -!- bokr [~eduska@109.110.35.208] has quit [Quit: Leaving.] 13:15:38 -!- mathk [~mathk@194.177.62.36] has quit [Ping timeout: 240 seconds] 13:15:38 -!- mathk__ is now known as mathk 13:23:43 -!- nilg [~user@77.70.2.229] has quit [Ping timeout: 276 seconds] 13:27:47 nilg [~user@77.70.2.229] has joined #scheme 13:28:16 -!- femtooo [~femto@95-89-248-44-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 13:30:07 xvilka [~xvilka@109.170.106.227] has joined #scheme 13:30:14 hi 13:30:15 what's wrong if i'm do (define (mcall (num . subnum) name . operands)) and when call it by (mcall (10 9) "sys_exit" 'INTEGER) ? 13:32:13 zmv [~daniel@187.34.54.192] has joined #scheme 13:36:12 you want apply 13:38:45 elly: what you mean? 13:40:07 you want to use apply for that 13:41:01 (define (add1 . x) (apply + 1 x)) 13:41:03 name and operands are not defined. 13:41:11 that is also true 13:42:57 name and operands defined before, thats ok 13:43:31 elly: thx, as i remember apply from R5RS? 13:44:39 I do not know 13:44:43 Sorry, I didn't read it well. It's all in the arglist. 13:45:09 I'm not sure it's allowed to have such destructuring arg lists for functions in scheme. 13:45:18 The best you can do, is pseudo-currying. 13:45:55 So, either write a macro, or parse the arguments yourself (but you'll need to quote or build lists). 13:46:12 hm. may be try to use more simple implementation? 13:46:48 -!- `micro [~micro@www.bway.net] has quit [Ping timeout: 240 seconds] 13:47:51 i'm choose this for save code - i'm already have such implementation for simple (define (mcall num name . operands)) and example (mcall 81 "sys_write" 'STRING) 13:48:15 and just use one code for parse both macro 13:51:57 (define (mcall num name . operands) (if (list? num) (let ((num (first num)) (subnum (rest num))) ...) ...)) 13:52:22 so you can call (mcall 81 "sys_write" 'STRING) or (mcall '(10 9) "sys_exit" 'INTEGER) 13:53:29 oh, thx! 13:58:32 masm [~masm@bl19-159-74.dsl.telepac.pt] has joined #scheme 14:01:02 -!- fantazo__ [~fantazo@178-190-239-215.adsl.highway.telekom.at] has quit [Remote host closed the connection] 14:17:20 kenjin2201 [~kenjin@211.177.88.67] has joined #scheme 14:20:37 -!- kenjin2201 [~kenjin@211.177.88.67] has quit [Client Quit] 14:28:24 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 14:29:34 -!- Adamant [~Adamant@unaffiliated/adamant] has quit [Remote host closed the connection] 14:37:29 Caleb-- [~caleb@109.65.207.153] has joined #scheme 14:58:05 Adamant [~Adamant@unaffiliated/adamant] has joined #scheme 15:00:22 -!- corruptmemory [~jim@ool-18bbd5b2.static.optonline.net] has quit [Quit: Leaving] 15:16:57 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 15:17:26 laevus [~marc@dsl-185-137-97.dynamic.wa.co.za] has joined #scheme 15:21:23 pdelgallego_ [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 15:22:32 karme [~user@stgt-5f70ac56.pool.mediaWays.net] has joined #scheme 15:22:53 pdelgallego__ [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 15:25:46 parolang [~kevin@c-64-246-121-114.oregonrd-wifi-1261.amplex.net] has joined #scheme 15:32:54 nilg` [~user@77.70.2.229] has joined #scheme 15:35:38 -!- nilg [~user@77.70.2.229] has quit [Ping timeout: 255 seconds] 15:40:26 carleastlund [~cce@gotham.ccs.neu.edu] has joined #scheme 15:42:50 femtoo [~femto@95-89-248-44-dynip.superkabel.de] has joined #scheme 15:49:19 nilg [~user@77.70.2.229] has joined #scheme 15:51:42 choas [~lars@p578F6859.dip.t-dialin.net] has joined #scheme 15:53:06 -!- laevus [~marc@dsl-185-137-97.dynamic.wa.co.za] has quit [Quit: laevus] 15:54:14 laevus [~marc@dsl-185-137-97.dynamic.wa.co.za] has joined #scheme 15:55:15 -!- mmc1 [~michal@82-148-210-75.fiber.unet.nl] has quit [Read error: Connection reset by peer] 15:55:26 mmc1 [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 15:56:22 -!- mmc1 [~michal@82-148-210-75.fiber.unet.nl] has quit [Read error: Connection reset by peer] 15:56:31 mmc1 [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 15:59:14 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 16:01:30 evhan [~evhan@76-250-39-229.lightspeed.mdsnwi.sbcglobal.net] has joined #scheme 16:11:32 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 16:12:10 -!- aklt [~aklt@77.75.167.158] has quit [Quit: leaving] 16:12:35 hm... if i'm try do: (define (mcall num name . operands) (if (pair? num) (let ((num1 (car num)) (num2 (cdr num))) ...) ...)) and then call (mcall '(12 8) "name" 'bla-bla-bla) it give me error 16:13:02 expected procedure 16:14:14 when try (mcall (cons 12 8) "name" 'bla...) - expected pair 16:18:05 '(12 8) is (cons 12 (cons 8 null)) 16:18:17 (regarding your first problem) 16:18:38 as for your second problem, I do not understand it without having seen your code 16:18:56 ok. wait 16:21:28 xvilka pasted "mcall" at http://paste.lisp.org/display/119167 16:22:43 -!- masm [~masm@bl19-159-74.dsl.telepac.pt] has quit [Quit: Leaving.] 16:24:13 what error are you getting, and at what line? 16:25:40 error - expected pair - at the last line 16:28:59 hrm 16:29:07 do you get a stack trace? 16:31:38 ouch, it is not yet implemented :/ 16:33:39 what is? 16:34:10 http://stripedgazelle.org/joey/dream.html - i'm trying port it on KolibriOS 16:38:30 mwolfe [~michael@cpe-67-49-72-40.socal.res.rr.com] has joined #scheme 16:38:40 I dunno how to help you, then :\ sorry 16:43:22 does 'writing a new language" amount to more than coming up with a new syntax that can be parsed by and compiled back to an existing language? 16:46:09 hm. ok. may be you know where i can see examples how to implement debugger features? 16:46:52 -!- karme [~user@stgt-5f70ac56.pool.mediaWays.net] has quit [Remote host closed the connection] 16:47:09 -!- Caleb-- [~caleb@109.65.207.153] has quit [Read error: Connection reset by peer] 16:47:15 -!- gravicappa [~gravicapp@ppp85-141-165-134.pppoe.mtu-net.ru] has quit [Ping timeout: 240 seconds] 16:51:14 -!- pdelgallego_ [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 240 seconds] 16:51:19 -!- pdelgallego__ [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 255 seconds] 16:53:12 em: sometimes! 16:53:23 xvilka: no, sorry :( 16:56:37 -!- femtoo [~femto@95-89-248-44-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 16:56:48 davazp [~user@15.Red-83-57-38.dynamicIP.rima-tde.net] has joined #scheme 17:01:59 em: well, or interpreted, which is subtly different sometimes. But that starts to sound like one of those statements about everything being equivalent to turing machines (or lambda calculus), which is probably not where you wanted to go. 17:04:44 gravicappa [~gravicapp@ppp85-140-145-178.pppoe.mtu-net.ru] has joined #scheme 17:10:45 masm [~masm@bl19-159-74.dsl.telepac.pt] has joined #scheme 17:11:10 -!- gravicappa [~gravicapp@ppp85-140-145-178.pppoe.mtu-net.ru] has quit [Ping timeout: 240 seconds] 17:16:05 -!- yosafbridge [~yosafbrid@li125-242.members.linode.com] has quit [Quit: Coyote finally caught me] 17:20:05 yosafbridge [~yosafbrid@li125-242.members.linode.com] has joined #scheme 17:23:58 -!- foof [~user@li126-140.members.linode.com] has quit [Remote host closed the connection] 17:24:02 -!- yx [debian-tor@gateway/tor-sasl/yx] has quit [Remote host closed the connection] 17:24:05 f8l [~f8l@87-205-27-57.ip.netia.com.pl] has joined #scheme 17:24:16 foof [~user@li126-140.members.linode.com] has joined #scheme 17:26:28 yx [debian-tor@gateway/tor-sasl/yx] has joined #scheme 17:29:25 -!- neilcj [~neilcj@c-174-49-216-137.hsd1.pa.comcast.net] has quit [Quit: leaving] 17:29:44 qu1j0t3 [~qu1j0t3@98.124.60.149] has joined #scheme 17:29:59 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 276 seconds] 17:30:00 neilcj [~neilcj@c-174-49-216-137.hsd1.pa.comcast.net] has joined #scheme 17:30:58 gravicappa [~gravicapp@ppp85-140-145-232.pppoe.mtu-net.ru] has joined #scheme 17:38:00 femtoo [~femto@95-89-248-44-dynip.superkabel.de] has joined #scheme 17:39:44 -!- parolang [~kevin@c-64-246-121-114.oregonrd-wifi-1261.amplex.net] has quit [Quit: Gotta go.] 17:40:44 rien [~rien@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 17:45:36 hm. now it write me too few args on (mcall '(5 6) "name" 'INTEGER) 17:46:02 em, there's a lot more to language design than syntax. I could come up with a bunch of languages that were just Racket with a different syntax, but who cares? On the other hand, Racket comes with a bunch of languages that have the same syntax but different semantics -- Typed Racket, Lazy Racket, etc. -- and that's much more interesting. 17:56:11 Caleb-- [~caleb@109.65.207.153] has joined #scheme 18:04:39 -!- gravicappa [~gravicapp@ppp85-140-145-232.pppoe.mtu-net.ru] has quit [Ping timeout: 240 seconds] 18:04:44 gravicappa [~gravicapp@ppp85-140-67-20.pppoe.mtu-net.ru] has joined #scheme 18:05:11 Phao [phao@189.107.171.87] has joined #scheme 18:07:22 mimosaliquido [~mimosaliq@bl17-25-52.dsl.telepac.pt] has joined #scheme 18:07:45 what do you improve in learning Scheme through SICP? 18:13:54 -!- mimosaliquido [~mimosaliq@bl17-25-52.dsl.telepac.pt] has left #scheme 18:22:27 -!- rasterbar [~rasterbar@unaffiliated/rasterbar] has quit [Remote host closed the connection] 18:22:50 -!- mwolfe [~michael@cpe-67-49-72-40.socal.res.rr.com] has quit [Remote host closed the connection] 18:23:12 -!- laevus [~marc@dsl-185-137-97.dynamic.wa.co.za] has quit [Quit: laevus] 18:23:15 republican_devil [~g@pool-74-111-197-135.lsanca.fios.verizon.net] has joined #scheme 18:28:40 Azuvix [~Azuvix@174-27-39-176.bois.qwest.net] has joined #scheme 18:31:25 -!- masm [~masm@bl19-159-74.dsl.telepac.pt] has quit [Quit: Leaving.] 18:34:08 rasterbar [~rasterbar@unaffiliated/rasterbar] has joined #scheme 18:39:00 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 18:40:59 -!- hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has quit [Quit: Leaving.] 18:42:15 Thuntap [debian-tor@gateway/tor-sasl/thuntap] has joined #scheme 18:44:33 -!- tonyg is now known as leastfixedpoint 18:44:55 -!- leastfixedpoint is now known as tonyg 18:51:32 -!- republican_devil [~g@pool-74-111-197-135.lsanca.fios.verizon.net] has quit [Read error: Connection reset by peer] 18:52:34 -!- StephenFalken [email@2001:470:1f14:135b::2] has quit [Ping timeout: 272 seconds] 18:54:33 -!- jewel [~jewel@196-215-16-138.dynamic.isadsl.co.za] has quit [Ping timeout: 265 seconds] 18:57:26 -!- Azuvix [~Azuvix@174-27-39-176.bois.qwest.net] has quit [Quit: Leaving] 19:01:25 -!- davazp [~user@15.Red-83-57-38.dynamicIP.rima-tde.net] has quit [Read error: Connection reset by peer] 19:02:05 -!- Phao [phao@189.107.171.87] has quit [Quit: Fui embora] 19:03:37 -!- MrFahrenheit [~RageOfTho@users-146-124.vinet.ba] has quit [Ping timeout: 255 seconds] 19:03:58 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 250 seconds] 19:13:34 -!- zmv [~daniel@187.34.54.192] has quit [Ping timeout: 240 seconds] 19:17:24 -!- nilg` [~user@77.70.2.229] has quit [Remote host closed the connection] 19:20:45 -!- ToxicFrog [~ToxicFrog@2607:f2c0:f00e:500:222:15ff:fe91:b24c] has quit [Read error: Connection reset by peer] 19:24:31 ToxicFrog [~ToxicFrog@2607:f2c0:f00e:500:222:15ff:fe91:b24c] has joined #scheme 19:25:00 -!- ToxicFrog [~ToxicFrog@2607:f2c0:f00e:500:222:15ff:fe91:b24c] has quit [Read error: Connection reset by peer] 19:25:29 ToxicFrog [~ToxicFrog@2607:f2c0:f00e:500:222:15ff:fe91:b24c] has joined #scheme 19:35:18 StephenFalken [email@2001:470:1f14:135b::2] has joined #scheme 19:35:36 mwolfe [~michael@64.134.220.47] has joined #scheme 19:36:22 Any idea where you can find r5rstest.scm test suite ? In the past it used to be hosted at ftp://ccrma-ftp.stanford.edu/pub/Lisp/r5rstest.scm, but not anymore. 19:38:37 dnolen [~davidnole@184.152.69.75] has joined #scheme 19:48:02 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 20:01:28 -!- femtoo [~femto@95-89-248-44-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 20:02:48 -!- tessier [~treed@mail.copilotco.com] has quit [Changing host] 20:02:48 tessier [~treed@kernel-panic/copilotco] has joined #scheme 20:04:30 -!- mmc1 [~michal@82-148-210-75.fiber.unet.nl] has quit [Quit: Leaving.] 20:21:19 mjonsson [~mjonsson@cpe-98-14-173-5.nyc.res.rr.com] has joined #scheme 20:29:41 what did it do? 20:32:07 StephenFalken: try googling for "ftp://ccrma-ftp.stanford.edu/pub/Lisp/r5rstest.scm" 20:32:19 many people mention it and I see the word "tarball" tossed around 20:32:24 somebody may have zipped it 20:33:42 StephenFalken: not the canonical uri and maybe not what you are looking for, but there is http://code.call-cc.org/cgi-bin/gitweb.cgi?p=chicken-core.git;a=blob_plain;f=tests/r5rs_pitfalls.scm;hb=HEAD 20:33:43 http://tinyurl.com/4g9jzxe 20:43:06 mmc1 [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 20:46:50 Couick [~quassel@AClermont-Ferrand-158-1-128-72.w86-194.abo.wanadoo.fr] has joined #scheme 20:50:31 kingless [~kingless@108-65-61-54.lightspeed.rlghnc.sbcglobal.net] has joined #scheme 20:56:46 pytho [4ce8a3c6@gateway/web/freenode/ip.76.232.163.198] has joined #scheme 20:58:47 mbalaban [~mbalaban@c-24-11-171-16.hsd1.mi.comcast.net] has joined #scheme 21:06:36 -!- Couick [~quassel@AClermont-Ferrand-158-1-128-72.w86-194.abo.wanadoo.fr] has quit [Remote host closed the connection] 21:10:24 -!- nilg [~user@77.70.2.229] has quit [Read error: Connection reset by peer] 21:10:54 empt [~empt@221.181.131.63] has joined #scheme 21:15:20 nilg [~user@77.70.2.229] has joined #scheme 21:20:45 -!- dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 21:27:35 hm, hmtl-tags and html-utils cannot be used safely it seems 21:28:00 ignore me 21:30:25 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Remote host closed the connection] 21:33:36 -!- leppie [~lolcow@196-215-83-125.dynamic.isadsl.co.za] has quit [Ping timeout: 276 seconds] 21:33:50 leppie [~lolcow@196-215-83-125.dynamic.isadsl.co.za] has joined #scheme 21:35:04 -!- rasterbar [~rasterbar@unaffiliated/rasterbar] has quit [Remote host closed the connection] 21:35:05 -!- leppie [~lolcow@196-215-83-125.dynamic.isadsl.co.za] has quit [Read error: Connection reset by peer] 21:35:17 leppie [~lolcow@196-215-83-125.dynamic.isadsl.co.za] has joined #scheme 21:41:22 mimosaliquido [~mimosaliq@bl17-25-52.dsl.telepac.pt] has joined #scheme 21:43:02 someone can please explain what are the advantages of learning how to program(better. i know the basics of python and c, but i never did a very pratical program) 21:45:21 -!- nilg [~user@77.70.2.229] has quit [Read error: Connection reset by peer] 21:47:37 Couick [~quassel@AClermont-Ferrand-158-1-128-72.w86-194.abo.wanadoo.fr] has joined #scheme 21:48:06 -!- kingless [~kingless@108-65-61-54.lightspeed.rlghnc.sbcglobal.net] has quit [Remote host closed the connection] 21:49:05 mimosaliquido: what kind of advantages are you interested in? 21:49:17 pdelgallego__ [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 21:49:27 pdelgallego_ [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 21:49:50 bremner, i want to get quiker in knowing what to do, and learn new fun stuff 21:50:51 mimosaliquido, it will make you much more attractive to all the ladies. 21:51:30 ohh 21:51:43 masm [~masm@bl19-159-74.dsl.telepac.pt] has joined #scheme 21:55:44 Caleb--, it will make me use glasses? 21:57:18 nah 22:01:42 -!- mwolfe [~michael@64.134.220.47] has quit [Remote host closed the connection] 22:05:29 -!- Ruinpeople [~nnscript@109.130.55.189] has quit [Read error: Connection reset by peer] 22:08:47 Phao [phao@189.107.165.196] has joined #scheme 22:09:15 dnolen [~davidnole@184.152.69.75] has joined #scheme 22:09:22 -!- dnolen [~davidnole@184.152.69.75] has quit [Client Quit] 22:10:49 mimosaliquido: do you want to learn Scheme? SICP teaches Scheme and functional principles which can be applied in many languages. 22:11:14 mimosaliquido: it's undoubtedly going to improve the way you program 22:12:15 qu1j0t3, if it will improve i want to learn 22:12:38 qu1j0t3, so what are the difference between SICP and HTDP? 22:12:51 *qu1j0t3* isn't sure what HTDP is 22:12:57 oh 22:13:07 yes i know the book, but haven't read it. 22:13:12 *qu1j0t3* is studying SICP. 22:13:17 so others here can answer that 22:14:19 qu1j0t3, and you are enjoying it? 22:14:44 -!- pytho [4ce8a3c6@gateway/web/freenode/ip.76.232.163.198] has quit [Quit: Page closed] 22:15:03 -!- mmc1 [~michal@82-148-210-75.fiber.unet.nl] has quit [Ping timeout: 240 seconds] 22:15:37 mimosaliquido: definitely! 22:15:48 mimosaliquido: but it's not everyone's cup of antifreeze. 22:16:08 mimosaliquido: dive in and try it 22:16:09 qu1j0t3, it's uses a lot's of maths am i right? 22:16:55 mimosaliquido: it uses some mathematical problems to illustrate, but apart from that it doesn't use more math than is necessary 22:17:01 mimosaliquido: imho... 22:17:54 mimosaliquido: in early parts it covers time and space complexity which is important material 22:18:03 -!- f8l [~f8l@87-205-27-57.ip.netia.com.pl] has quit [Quit: WeeChat 0.3.4] 22:18:07 mimosaliquido: not dreadfully difficult, even for me 22:18:12 qu1j0t3, yes i will try, i am expanding my python skills to 22:22:09 *too 22:25:02 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 22:25:28 -!- Thuntap [debian-tor@gateway/tor-sasl/thuntap] has quit [] 22:29:40 mwolfe [~michael@cpe-67-49-72-40.socal.res.rr.com] has joined #scheme 22:30:01 -!- mimosaliquido [~mimosaliq@bl17-25-52.dsl.telepac.pt] has quit [Quit: Saindo] 22:31:06 twopoint718 [~chris@76.201.147.220] has joined #scheme 22:33:16 mathk__ [~mathk@lns-bzn-29-82-248-204-40.adsl.proxad.net] has joined #scheme 22:36:24 -!- pdelgallego__ [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Read error: Operation timed out] 22:37:18 -!- mathk [~mathk@194.177.62.22] has quit [Ping timeout: 276 seconds] 22:37:18 -!- mathk__ is now known as mathk 22:37:39 pdelgallego__ [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 22:55:07 erjiang [~erjiang@7.80.244.66.jest.smithvilledigital.net] has joined #scheme 22:58:02 -!- twopoint718 [~chris@76.201.147.220] has left #scheme 23:11:22 -!- mbalaban [~mbalaban@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Quit: Leaving] 23:12:16 mathguru123 [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #scheme 23:14:51 hey 23:17:20 -!- mathguru123 [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Quit: Leaving] 23:17:56 mathguru123 [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has joined #scheme 23:20:45 wbooze` [~levgue@xdsl-78-35-161-199.netcologne.de] has joined #scheme 23:20:51 homie` [~levgue@xdsl-78-35-161-199.netcologne.de] has joined #scheme 23:22:15 -!- homie [~levgue@xdsl-78-35-177-159.netcologne.de] has quit [Ping timeout: 240 seconds] 23:22:28 Coming from CL -> Scheme, what should I be looking at in place of property-lists/assoc lists/destructuring? 23:22:48 -!- wbooze [~levgue@xdsl-78-35-177-159.netcologne.de] has quit [Ping timeout: 265 seconds] 23:23:07 -!- homie` [~levgue@xdsl-78-35-161-199.netcologne.de] has quit [Client Quit] 23:23:07 Modius: basically: Greenspun's Tenth. 23:23:18 pjb: What do you mean in this case? 23:23:25 -!- wbooze` [~levgue@xdsl-78-35-161-199.netcologne.de] has quit [Client Quit] 23:23:27 Implement CL in scheme. 23:23:38 Come back to CL. 23:23:39 pjb: I'm not coming into scheme assuming anything, I assume there's some idiomatic way people tend to store stuff 23:24:04 You might search the SRFI. THere's scheme libraries. 23:24:08 what data structure are you looking for? 23:24:35 Modius, you can express plists and alists just as well in Scheme. If you want a Scheme analogue of DESTRUCTURING-BIND, there is one at . 23:24:50 rien: Don't have a specific question - I know in typical CL code you tend to see property lists used, etc. I want to see how code tends to be done in Scheme before going and reimplementing getf and importing a destructuring-bind 23:25:06 Riastradh: I'm aware they could run the same way; but don't want to bring assumptions in. 23:25:29 destructuring-bind is definitely the matchable egg 23:25:32 E.g. without empty list being null etc., I was wondering if there was some other way schemers tended to do things. 23:25:49 I.e. when writing real scheme code, what do *YOU* (with you being anyone reading) od. 23:25:50 do 23:26:50 homie [~levgue@xdsl-78-35-161-199.netcologne.de] has joined #scheme 23:27:05 rudybot: (null? '()) 23:27:05 rien: your r5rs sandbox is ready 23:27:05 rien: ; Value: #t 23:27:11 groovy2shoes [~guv@unaffiliated/groovebot] has joined #scheme 23:27:19 an empty list can be tested with null? ^^ 23:27:27 sorry, there's no question mark there 23:27:30 -!- choas [~lars@p578F6859.dip.t-dialin.net] has quit [Ping timeout: 240 seconds] 23:27:56 I'm aware of that; but I just meant that while you can implement things that are short in other languages with extra stuff typed in, that there may be scheme-ey ways to look at containers in general. 23:28:07 I also make extensive use of hash-tables in scheme 23:28:14 -!- masm [~masm@bl19-159-74.dsl.telepac.pt] has quit [Ping timeout: 240 seconds] 23:28:38 hmm that's a very generic question. 23:28:54 wbooze [~levgue@xdsl-78-35-161-199.netcologne.de] has joined #scheme 23:29:14 Modius: really, there's even less idiomatic things in scheme than in Common Lisp. You use a library, either external, or that you write yourself. 23:29:58 pjb: I'd like to experment with a lisp on IPhone - getting Gambit going was relatively easy, ECL, even following all the instructions about, seems impossible. 23:30:16 I finally sacrificed a cat and got ECL running in the simulator; but it has some random lockup on the phone. 23:30:25 There's also ccl, I think. 23:31:19 ccl doesn't compile 23:31:31 masm [~masm@2.80.159.74] has joined #scheme 23:32:33 Just a feeling right now; but the Gambit's size and how it's working so far fills me with confidence that it's plausible - ECL much less so. 23:32:49 I.e. that the latter could need major surgery/goat sacrifices to actually work. 23:33:31 that's really sad. ECL should be painless being that it compiles to C. 23:33:47 someone should just write CL on top of a Scheme 23:34:04 On the iPhone? Can you do anything with Scheme the iPhone? 23:34:17 oh yeah 23:34:30 This Gambit seems fairly drop-in 23:34:32 there's a version of Othello / Reversi on the app store right now that was written in Scheme 23:34:48 And don't forget Farmageddon 23:34:52 BIG difference to the goat sacrifices just to get ECL to compile, i.e. they didn't have to hack Gambit to get it to work. 23:34:58 Both written in Gambit btw 23:35:05 I imagine the only reason why that hasn't been pulled for using Scheme is that it's not popular enough to be on the radar. 23:35:07 didn't know about farmageddon, will check it out 23:35:20 I just get positive vibes out of Gambit 23:35:46 Riastradh: I believe the author explained that he didn't have any problems at all with it. I don't think anything goes under the radar. 23:36:09 Apple changed their policy about three times now? 23:36:14 From what I recall, Apple's developer agreement prohibits the use of anything but Objective-C and perhaps a couple of other languages (Java, perhaps?), and also precludes any Objective-C that is not the original source code. 23:36:20 Their last change meant Scheme was now allowed, IIRC 23:36:25 sjamaan: every other day, yeah :/ 23:36:31 It's pure insanity 23:36:41 Apple policy is like Chinese law 23:36:47 Inconsistent and changes every other day 23:37:35 Let's be real - what have they rejected? If they wouuld write their true "true in their heart" intent, it would read: "You can't use Adobe Flash" 23:37:41 I looked at this about a year ago; perhaps it has changed substantially since then. Looking at it once was enough to persuade me never to think about developing for such an asinine, fascist platform. 23:38:30 I don't want to go off into a tangent on a language forum; but the fascist platform comes with there being a market where my grandmother can buy an app rather than mainstream pirate it. 23:38:32 apple has always been fascist, and I say that as a mac user 23:39:32 Modius: "rather than mainstream pirate it", I don't understand that part 23:39:48 sjamaan: IPhone actually has mainstream users paying for software on it. 23:40:11 yeah, because there's no other way to get software on it in a mainstream way ;) 23:40:15 -!- mathguru123 [~mathguru1@c-24-11-171-16.hsd1.mi.comcast.net] has quit [Ping timeout: 240 seconds] 23:40:17 sjamaan: There's a sort of median user - I'd call it "my grandmother" - my grandmother wouldn't pirate IPhone apps; but one of her grandkids would, with an android, put pirated android apps on. 23:40:22 there is but it's a pain 23:40:26 What I object to is that Apple's app store is the only distribution channel for programs on the platform. 23:40:35 The default on the IPhone is the user is set up to buy - on Android he's initially set up to not buy. 23:40:42 rien: If it's a pain, is it really mainstream? 23:40:50 -!- Couick [~quassel@AClermont-Ferrand-158-1-128-72.w86-194.abo.wanadoo.fr] has quit [Remote host closed the connection] 23:40:54 What is a `pirated app'? What murder and plundering on the high seas does it entail? 23:40:58 -!- mjonsson [~mjonsson@cpe-98-14-173-5.nyc.res.rr.com] has quit [Read error: Operation timed out] 23:41:01 sjamaan: it's a pain to pirate for the iphone. that's why it isn't mainstream 23:41:09 Riastradh: jailbreaking 23:41:10 right 23:41:15 Riastradh: Not gonna go there. Just looking from the motivations of someone who wants to make $50 selling their fart-app. 23:41:29 mjonsson [~mjonsson@cpe-98-14-173-5.nyc.res.rr.com] has joined #scheme 23:41:39 Modius: But at least it's a polished fart app with a good-looking UI! 23:41:52 Typical iPhone app - $30K dev cost, $500 return - far better than the $30K dev $0 return anywhere else. 23:42:27 some guy just made $1M in 20 days of the new mac store being open 23:42:38 it was a photoshop-like app 23:42:48 That's insane 23:42:51 Anyhow, with an above-average understanding of CL (and how to edit s-expressions/comfdort reading) I'm not totally crippled in learning Scheme . I'd like to look at some idiomatic Scheme code or ideas so I don't end up reimplementing dumb things in it. 23:43:24 Modius: check the SRFIs. 23:43:34 sjamaan: it sells for 29.99 now that it's in the mac store, he came down from $59 and not selling many :) 23:44:13 I should probabyl ask - I keep hearing of how any feature I can think of is in SRFI. Is SRFI a wet-dream wish list, or a set of features that are implemented on just one of the many scheme implementations? 23:44:14 Modius: reimplementing is part of learning :) 23:44:30 Modius, see for yourself: . 23:44:32 rien: I can implement easily, just don't want to reinvent a dumb wheel. 23:44:40 I.e. when someone talks of an SRFI, will any given SRFI apply to Gambit? 23:44:45 Modius: SRFIs come with a reference implementation 23:44:55 sjamaan: Are they generally portable? 23:44:57 So if your Scheme doesn't support it, you could always use that 23:45:12 Modius, not much can be said generally of all SRFIs. 23:45:16 That depends a bit on the feature being added 23:45:32 I should donate the immutable/tailsharing CL hashtable that I basically ripped off of Clojure 23:46:26 Modius: Beware that SRFIs are submitted to scrutiny by some of the most obsessive folks around 23:47:23 Just read some of the discussion archives of existing SRFIs to get an idea what the SRFI process is like 23:48:56 -!- mathk [~mathk@lns-bzn-29-82-248-204-40.adsl.proxad.net] has quit [Quit: ..zzZzzZ] 23:49:07 sjamaan: how's the reference implementation? working C/Scheme code? 23:49:28 yes 23:49:39 If possible, portable Scheme code 23:49:46 wow that's really nice. 23:50:01 If not, Scheme code that depends on a particular reasonably widely implemented feature 23:50:47 For example, IIRC some syntax extensions make use of syntax-case. Not all Schemes support it, but at least it's widespread enough and most people know it well enough to port it to their own macro system 23:50:51 rasterbar [~rasterbar@unaffiliated/rasterbar] has joined #scheme 23:52:10 hm, maybe I'm wrong and there's no syntax-case 23:52:15 anyway, you get the idea :) 23:52:33 Is it idiomatic/possible in any given scheme, pre-execution (like with reader macros or macros) to have code execute at "compile" time that builds some data structure that's stored in the image? 23:53:01 Like with gambit, would the macros expand at the time the C is generated, including storing the data literals in there somehow? 23:53:19 Modius, that's just a macro that constructs a quote expression. No problem. 23:53:37 Modius: probably not portably. Breaking hygiene is difficult... 23:53:58 But it really depends on what kind of data structure you're trying to build... 23:54:42 carleastlund: are there array literals/expressions? That would probably be enough to anything. . .. 23:55:16 Yes, they're called vectors. I believe the literals are in the standard. 23:55:42 -!- carleastlund [~cce@gotham.ccs.neu.edu] has quit [Quit: carleastlund] 23:57:05 Hard to tell how the workflow of this would compare to CL - I'm biased toward what I'm losing from CL but don't know enough Scheme for the big picture. Still would be a big step-up from using something like LUA or Javascript that much is obvious, or of using something unstable. 23:58:11 -!- groovy2shoes [~guv@unaffiliated/groovebot] has quit [Read error: Connection reset by peer] 23:58:44 I may even see something positive come out of that #F business :P 23:59:19 groovy2shoes [~guv@unaffiliated/groovebot] has joined #scheme