00:02:46 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 00:03:44 fantazo_: considering srfi-12 is available, a hack like (handle-exceptions exn #f undefined-symbol) could do the trick, I guess. 00:03:48 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Remote host closed the connection] 00:04:39 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 00:05:32 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Remote host closed the connection] 00:06:15 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Read error: Connection reset by peer] 00:08:02 -!- fantazo_ [~fantazo@178-191-170-212.adsl.highway.telekom.at] has quit [Ping timeout: 250 seconds] 00:08:13 fantazo__ [~fantazo@178-191-163-50.adsl.highway.telekom.at] has joined #scheme 00:09:24 myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has joined #scheme 00:09:25 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 00:16:08 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Remote host closed the connection] 00:16:14 -!- gravicappa [~gravicapp@ppp91-78-228-173.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 00:16:53 -!- zevarito_ [~zevarito@r186-48-218-66.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 246 seconds] 00:24:05 -!- fantazo__ [~fantazo@178-191-163-50.adsl.highway.telekom.at] has quit [Ping timeout: 265 seconds] 00:25:48 -!- lewis1711 [~lewis@125-239-255-244.jetstream.xtra.co.nz] has left #scheme 00:29:30 bitweiler [~bitweiler@adsl-99-40-239-167.dsl.stl2mo.sbcglobal.net] has joined #scheme 00:39:41 fantazo__ [~fantazo@178-191-163-50.adsl.highway.telekom.at] has joined #scheme 00:44:02 -!- fantazo__ [~fantazo@178-191-163-50.adsl.highway.telekom.at] has quit [Ping timeout: 240 seconds] 00:56:28 timepilot [~timepilot@66.71.230.151] has joined #scheme 00:58:27 fantazo__ [~fantazo@178-191-163-50.adsl.highway.telekom.at] has joined #scheme 01:00:32 alaricsp [~alaric@93-96-143-25.zone4.bethere.co.uk] has joined #scheme 01:07:17 -!- myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 01:09:44 -!- jonrafkind [~jon@crystalis.cs.utah.edu] has quit [Ping timeout: 246 seconds] 01:13:14 Seus [~Seus@99.114.191.45] has joined #scheme 01:22:26 -!- timepilot [~timepilot@66.71.230.151] has quit [Quit: timepilot] 01:22:39 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 01:23:42 -!- Seus [~Seus@99.114.191.45] has quit [Quit: Seus] 01:25:30 -!- alaricsp [~alaric@93-96-143-25.zone4.bethere.co.uk] has quit [Ping timeout: 240 seconds] 01:27:54 Seus [~Seus@adsl-99-114-191-45.dsl.spfdmo.sbcglobal.net] has joined #scheme 01:27:58 -!- Seus [~Seus@adsl-99-114-191-45.dsl.spfdmo.sbcglobal.net] has quit [Client Quit] 01:31:51 -!- mwolfe [~mwolfe@corona.cornerturn.com] has quit [Remote host closed the connection] 01:34:15 -!- peterhil` [~peterhil@a91-153-127-82.elisa-laajakaista.fi] has quit [Ping timeout: 240 seconds] 01:37:45 towodo [~anonymous@209-6-120-139.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com] has joined #scheme 01:44:12 -!- dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 01:46:01 peterhil` [~peterhil@a91-153-127-82.elisa-laajakaista.fi] has joined #scheme 01:52:41 -!- towodo [~anonymous@209-6-120-139.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com] has quit [Quit: towodo] 01:54:18 towodo [~anonymous@209-6-120-139.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com] has joined #scheme 01:55:05 -!- tupi [~david@186.205.37.15] has quit [Quit: Leaving] 01:58:46 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Remote host closed the connection] 02:12:00 -!- fantazo__ [~fantazo@178-191-163-50.adsl.highway.telekom.at] has quit [Remote host closed the connection] 02:17:55 vilsonvieira [~vilson@187.112.161.13] has joined #scheme 02:20:41 -!- towodo [~anonymous@209-6-120-139.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com] has quit [Ping timeout: 276 seconds] 02:21:49 jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has joined #scheme 02:24:02 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 240 seconds] 02:26:03 pencilk [~jk@222.178.152.71] has joined #scheme 02:27:58 -!- valium97582 [~daniel@189-47-118-92.dsl.telesp.net.br] has quit [Quit: bye internet is off] 02:31:07 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 02:32:32 kenjin2201 [~kenjin@211.177.88.67] has joined #scheme 02:33:19 dnolen [~davidnole@184.152.69.75] has joined #scheme 02:46:24 vu3rdd [~vu3rdd@nat/cisco/x-cigdhkrjvuglkylh] has joined #scheme 02:46:24 -!- vu3rdd [~vu3rdd@nat/cisco/x-cigdhkrjvuglkylh] has quit [Changing host] 02:46:24 vu3rdd [~vu3rdd@fsf/member/vu3rdd] has joined #scheme 02:47:55 -!- zanes [~zane@wall.tripitinc.com] has quit [Quit: zanes] 02:50:55 aisa [~aisa@c-68-35-167-179.hsd1.nm.comcast.net] has joined #scheme 03:00:12 -!- kenjin2201 [~kenjin@211.177.88.67] has quit [Ping timeout: 265 seconds] 03:02:04 -!- homie [~levgue@xdsl-78-35-166-152.netcologne.de] has quit [Read error: Connection reset by peer] 03:02:08 -!- wbooze [~levgue@xdsl-78-35-166-152.netcologne.de] has quit [Read error: Connection reset by peer] 03:03:13 homie [~levgue@xdsl-78-35-141-172.netcologne.de] has joined #scheme 03:03:46 wbooze [~levgue@xdsl-78-35-141-172.netcologne.de] has joined #scheme 03:11:02 -!- aisa [~aisa@c-68-35-167-179.hsd1.nm.comcast.net] has quit [Read error: Connection reset by peer] 03:11:04 aisa_ [~aisa@c-68-35-167-179.hsd1.nm.comcast.net] has joined #scheme 03:16:53 -!- schmir [~schmir@p5099de5a.dip0.t-ipconnect.de] has quit [Ping timeout: 264 seconds] 03:21:12 -!- masm [~masm@bl15-79-18.dsl.telepac.pt] has quit [Quit: Leaving.] 03:23:34 -!- corruptmemory [~jim@ool-18bbd5b2.static.optonline.net] has quit [Quit: Leaving] 03:24:17 corruptmemory [~jim@ool-18bbd5b2.static.optonline.net] has joined #scheme 03:25:04 -!- corruptmemory [~jim@ool-18bbd5b2.static.optonline.net] has quit [Read error: Connection reset by peer] 03:30:15 haole [~ivan@189.103.20.37] has joined #scheme 03:30:39 hello there... how do i read an entire text file into a scheme string? i can only read line by line until now, and then append them with string-append 03:30:45 there must be a better way 03:35:25 <_p4bl0> haole: if you really want the content of your file in a string rather than as a port, you can do something like 03:35:32 Maybe get-string-all would work for you? 03:35:51 i.e., (get-string-all #) 03:36:40 <_p4bl0> erjiang: ah. Dunno about this, way shorter than what I was going to suggest (involving (with-output-to-string)) 03:37:30 _p4bl0: oh, took me a second. yeah, that's probably similar to how get-string-all would be defined anyways 03:38:42 haole: I just looked through the page on Scheme I/O: http://www.scheme.com/tspl4/io.html 03:39:49 i'm using gambit-c, and it doesn't have the involving procedure 03:40:27 erjiang: i have this book printed in my hand and i didn't find the answer there... its strange, because it looks so simple 03:40:42 if i use read-all i get a list of scheme symbols that were interpreted from my port 03:40:53 Riastradh, Riastradh, Riastradh, Riastradh, Riastradh! 03:40:55 i just want a text file to become a big string in my program 03:41:14 -!- DrDuck [~duck@216.186.151.63] has quit [Ping timeout: 240 seconds] 03:42:29 <_p4bl0> haole: http://www.iro.umontreal.ca/~gambit/doc/gambit-c.html#I_002fO-and-ports 03:43:45 lewis1711 [~lewis@125-239-255-244.jetstream.xtra.co.nz] has joined #scheme 03:45:54 _p4bl0: i was looking there also... i've only found read-substring, but then i would have to calculate the size of my port... and also calling substring doesn't seem like a performance friendly operation 03:50:00 ah, Gambit isn't R6RS, and TSPL4 covers R6RS 03:50:37 Malkovich Malkovich Malkovich 03:50:53 haole: could you pre-allocate a string the same size as your file? 03:51:25 i.e. (make-string (get-filesize "filename")) but I just made up get-filesize 03:51:37 Maaa-a-aa-a-aaa-a-aalkovich! 03:51:51 Rah, rah, rah, Ferguson, Ferguson, Ferguson! 03:52:13 Anyone? Anyone? Bueller? Bueller? Bueller? Bueller? 03:52:37 timj__ [~timj@e176194200.adsl.alicedsl.de] has joined #scheme 03:54:12 (read-line my-port #!eof #f) does the trick 03:54:14 thanks guys 03:56:53 -!- timj_ [~timj@e176192179.adsl.alicedsl.de] has quit [Ping timeout: 276 seconds] 03:57:22 myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has joined #scheme 03:57:28 DrDuck [~duck@216.186.151.63] has joined #scheme 04:04:58 -!- simontwo_ [~simon@78.129.201.122] has quit [Ping timeout: 255 seconds] 04:13:43 -!- lewis1711 [~lewis@125-239-255-244.jetstream.xtra.co.nz] has left #scheme 04:14:21 simontwo [~simon@78.129.201.122] has joined #scheme 04:33:55 -!- pygospa [~pygospa@kiel-4dbec1c3.pool.mediaWays.net] has quit [Disconnected by services] 04:34:07 pygospa [~pygospa@kiel-4dbed5b7.pool.mediaWays.net] has joined #scheme 04:36:34 -!- haole [~ivan@189.103.20.37] has quit [Quit: Ex-Chat] 04:37:29 -!- myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has quit [Remote host closed the connection] 04:38:35 @fantazo_ See http://paste.lisp.org/display/118857#1 Skip that 'eval'. And I'd rewrite the whole syntax-rules as (_ (symbol args ...) body1 body ...) so that you don't need (list body ...) 04:42:34 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 04:46:06 -!- qsun [~qsun@66.220.3.138] has quit [Ping timeout: 272 seconds] 04:47:07 qsun [~qsun@66.220.3.138] has joined #scheme 05:12:16 phao [~phao@189.107.133.57] has joined #scheme 05:15:10 -!- elly [~elly@atheme/member/elly] has quit [Ping timeout: 240 seconds] 05:21:35 http://ix.io/1pH in the first make-set, is that think where I "extend" equal? really valid? =D Looks too good to be true 05:24:27 phao: God bless you for using a decent paste site 05:24:58 sometimes I get the feeling that you're being ironic for the plain text paste website 05:25:11 nope 05:25:13 I hate pastebin 05:25:20 tarts the code up with colors, weird fonts, etc 05:25:23 I like any that I can get from the command line 05:25:23 all I wanna see is the code 05:25:39 I used to use rafb 05:25:41 but that went off 05:25:41 alas, your code is too complicated for me to understand at this late hour 05:25:49 MichaelRaskin [~MichaelRa@195.178.216.22] has joined #scheme 05:25:52 the second one you could ignore 05:25:59 the second definition* 05:26:43 what I'd like to do is to extend equal so that member sees the equal I've extended.. I think I can't do that w/o set! 05:27:14 betcha can 05:27:29 alas, now I'm more interested in getting ix working than in helping Now, ou :-) 05:27:32 s/Now/you/ 05:27:50 (let ((equal (lambda (x y) (= x 1)))) 05:27:50 (member 2 '(1 2 3 4))) 05:27:52 that worked 05:28:30 rudybot: (let ((equal (lambda (x y) (= x 1)))) (member 2 '(1 2 3 4))) 05:28:30 *offby1: your scheme sandbox is ready 05:28:30 *offby1: ; Value: (2 3 4) 05:28:31 It didn't do what you thought. 05:28:43 yes 05:28:46 elly [~elly@atheme/member/elly] has joined #scheme 05:28:47 it didn't 05:29:00 You have redefined the name "equal", but "member" does not depend on this name (nor even the name "equal?") 05:29:09 s/redefined/locally redefined 05:29:37 dynamic scope to the rescue! 05:30:03 so... I have to define my own member? 05:30:27 lol 05:30:28 erjiang: phew 05:30:38 please keep your filthy talk to yourself 05:31:01 phao: I'm pretty sure there's a function that is like "member", but lets you specify the equality predicate. 05:31:08 if it's not built-in, then it's surely in srfi-1 05:31:09 Indeed. I really don't want to hear what phao does to his member. :-( 05:31:23 heheh 05:32:10 yeah 05:32:20 srfi1's member lets me specify the equality proce 05:35:30 rudybot: doc member 05:35:30 *offby1: http://docs.plt-scheme.org/reference/pairs.html#(def._((quote._~23~25kernel)._member)) 05:36:40 rudybot: (memf (lambda (x) (= x 1)) (list 9 8 7)) 05:36:41 *offby1: ; Value: #f 05:36:44 rudybot: (memf (lambda (x) (= x 1)) (list 9 8 7 1 2 3)) 05:36:44 *offby1: ; Value: (1 2 3) 05:36:47 \o/ 05:36:51 /o\ 05:37:25 or, more tersely: 05:37:33 rudybot: (memf (curryr = 1) (list 9 8 7 1 2 3)) 05:37:33 *offby1: ; Value: (1 2 3) 05:41:31 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 05:41:59 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 05:41:59 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 05:41:59 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 05:44:23 -!- jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has quit [Quit: Leaving] 05:49:50 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 240 seconds] 05:50:07 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 05:59:18 lewis1711 [~lewis@125-239-255-244.jetstream.xtra.co.nz] has joined #scheme 06:03:37 cky, rien_, that tip on bags you gave me yesterday came really HANDY 06:06:45 -!- erjiang [~erjiang@7.80.244.66.jest.smithvilledigital.net] has quit [Ping timeout: 276 seconds] 06:13:54 -!- monoid_ [~tmo@adsl-76-193-181-154.dsl.chcgil.sbcglobal.net] has quit [Quit: Ex-Chat] 06:17:21 -!- vilsonvieira [~vilson@187.112.161.13] has quit [Quit: Saindo] 06:18:29 myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has joined #scheme 06:19:26 gozoner_ [~ebg@ip68-6-68-92.sb.sd.cox.net] has joined #scheme 06:19:38 -!- DrDuck [~duck@216.186.151.63] has quit [Ping timeout: 240 seconds] 06:21:50 -!- gozoner [~ebg@ip68-6-68-92.sb.sd.cox.net] has quit [Ping timeout: 240 seconds] 06:26:22 -!- bitweiler [~bitweiler@adsl-99-40-239-167.dsl.stl2mo.sbcglobal.net] has quit [Remote host closed the connection] 06:37:25 -!- aisa_ [~aisa@c-68-35-167-179.hsd1.nm.comcast.net] has quit [Quit: aisa_] 06:39:49 -!- gozoner_ [~ebg@ip68-6-68-92.sb.sd.cox.net] has quit [Remote host closed the connection] 06:42:44 -!- carleastlund [~cce@209-6-40-238.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Quit: carleastlund] 06:47:49 -!- pencilk [~jk@222.178.152.71] has quit [Remote host closed the connection] 06:51:06 Axioplase [~Axioplase@fortigate.kb.ecei.tohoku.ac.jp] has joined #scheme 06:51:09 -!- Axioplase is now known as Axioplase_ 06:51:49 -!- pantsd_home [~pantsd_ho@174-21-255-207.tukw.qwest.net] has quit [Ping timeout: 240 seconds] 07:00:46 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 07:00:54 -!- rien [~unkanon@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 265 seconds] 07:01:22 rien [~unkanon@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 07:08:22 notsonerdysunny [~chatzilla@121.243.182.185] has joined #scheme 07:12:29 offby1` [~user@q-static-138-125.avvanta.com] has joined #scheme 07:14:09 -!- cky [~cky@car.spillville.com] has quit [Ping timeout: 240 seconds] 07:14:29 -!- joast [~rick@CPE-76-178-178-72.natnow.res.rr.com] has quit [Ping timeout: 240 seconds] 07:14:34 adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has joined #scheme 07:15:14 cky [~cky@car.spillville.com] has joined #scheme 07:15:51 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 240 seconds] 07:16:29 -!- offby1 [~user@pdpc/supporter/monthlybyte/offby1] has quit [Ping timeout: 240 seconds] 07:31:18 joast [~rick@76.178.178.72] has joined #scheme 07:35:26 kenjin2201 [~kenjin@211.177.88.67] has joined #scheme 07:45:56 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 07:47:15 saint_cypher [~rjspotter@c-76-126-70-224.hsd1.ca.comcast.net] has joined #scheme 07:52:26 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 240 seconds] 07:56:16 -!- saint_cypher [~rjspotter@c-76-126-70-224.hsd1.ca.comcast.net] has quit [Read error: Connection reset by peer] 08:15:30 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has quit [Remote host closed the connection] 08:19:49 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 240 seconds] 08:20:06 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 08:51:51 -!- ASau [~user@93-80-210-26.broadband.corbina.ru] has quit [Ping timeout: 240 seconds] 08:54:21 sanduz2 [~sanduz2@75-149-186-118-Miami.hfc.comcastbusiness.net] has joined #scheme 08:56:12 -!- snappy [~naveen@armakuni.lastninja.net] has quit [Changing host] 08:56:12 snappy [~naveen@unaffiliated/snappy] has joined #scheme 08:57:36 alaricsp [~alaric@93-96-143-25.zone4.bethere.co.uk] has joined #scheme 09:02:32 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 09:05:51 -!- wbooze [~levgue@xdsl-78-35-141-172.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 09:06:12 -!- homie [~levgue@xdsl-78-35-141-172.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 09:09:43 jgracin [~jgracin@dh111-186.xnet.hr] has joined #scheme 09:10:39 homie [~levgue@xdsl-78-35-141-172.netcologne.de] has joined #scheme 09:16:01 HG` [~HG@xdsl-92-252-118-246.dip.osnanet.de] has joined #scheme 09:17:23 wbooze [~levgue@xdsl-78-35-141-172.netcologne.de] has joined #scheme 09:24:11 fantazo [~fantazo@178-191-173-246.adsl.highway.telekom.at] has joined #scheme 09:36:33 -!- phao [~phao@189.107.133.57] has quit [Quit: Leaving] 09:38:28 -!- REPLeffect [~REPLeffec@69.54.115.254] has quit [Ping timeout: 265 seconds] 09:39:10 -!- alaricsp [~alaric@93-96-143-25.zone4.bethere.co.uk] has quit [Ping timeout: 250 seconds] 09:39:40 REPLeffect [~REPLeffec@69.54.115.254] has joined #scheme 09:41:40 -!- kenjin2201 [~kenjin@211.177.88.67] has quit [Ping timeout: 240 seconds] 09:44:14 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 09:48:45 -!- rien [~unkanon@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 260 seconds] 09:49:10 vu3rdd` [~vu3rdd@nat/cisco/x-nluncoxhksvprjln] has joined #scheme 09:49:43 rien [~unkanon@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 09:51:38 -!- vu3rdd [~vu3rdd@fsf/member/vu3rdd] has quit [Ping timeout: 240 seconds] 09:55:10 -!- HG` [~HG@xdsl-92-252-118-246.dip.osnanet.de] has quit [Read error: Connection reset by peer] 09:55:23 HG` [~HG@xdsl-92-252-118-246.dip.osnanet.de] has joined #scheme 09:59:11 -!- vu3rdd` [~vu3rdd@nat/cisco/x-nluncoxhksvprjln] has quit [Remote host closed the connection] 10:00:00 weinholt [weinholt@debian/emeritus/weinholt] has joined #scheme 10:00:40 vu3rdd [~vu3rdd@nat/cisco/x-gbkgkeuwxgpdmhld] has joined #scheme 10:00:40 -!- vu3rdd [~vu3rdd@nat/cisco/x-gbkgkeuwxgpdmhld] has quit [Changing host] 10:00:40 vu3rdd [~vu3rdd@fsf/member/vu3rdd] has joined #scheme 10:09:08 -!- mathk [~mathk@194.177.62.148] has quit [Quit: ..zzZzzZ] 10:11:17 -!- myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has quit [Ping timeout: 276 seconds] 10:11:49 myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has joined #scheme 10:15:41 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 265 seconds] 10:17:00 alaricsp [~alaric@geniedb.hotdesktop.biz] has joined #scheme 10:23:17 -!- simontwo [~simon@78.129.201.122] has quit [Ping timeout: 240 seconds] 10:30:48 simontwo [~simon@78.129.201.122] has joined #scheme 10:36:14 masm [~masm@bl15-79-18.dsl.telepac.pt] has joined #scheme 10:51:09 -!- notsonerdysunny [~chatzilla@121.243.182.185] has quit [Ping timeout: 240 seconds] 10:59:34 -!- vu3rdd [~vu3rdd@fsf/member/vu3rdd] has quit [Remote host closed the connection] 10:59:53 -!- sanduz2 [~sanduz2@75-149-186-118-Miami.hfc.comcastbusiness.net] has quit [Quit: Leaving] 11:04:20 phao [~phao@189.107.133.57] has joined #scheme 11:08:07 if I set equal? to be some other function (lambda (x y) #t) for example, with (set! equal? (lambda (x y) #f)), will the functions that already use equal? be affected? 11:09:52 the functions I create using equal? will 'adjust', but 11:10:05 I'm talking about internal functions that use equal? like assoc or member 11:13:28 no they won't 11:13:29 http://ix.io/1pK that prints #f and (1 2) 11:13:50 if you are using chicken that code is already compiled 11:14:42 that code I pasted.. should I print #f and #f or #f and (1 2) 11:15:11 csi prints #f and (1 2)... a program by csc prints #f and #f 11:19:35 the member function in the library does not use equal? but an internal form 11:19:49 whereas the srfi-1 member does use the equal? funciton 11:20:12 ok 11:20:14 however for compiled code this does not work since that's nothing you can chaneg 11:20:24 right, thx. 11:20:28 welcome! 11:21:22 phao: does this have a practical relevance to you or are you asking out of curiosity? 11:21:34 practical relevance 11:21:48 I was trying to see if I could always extend equal? to make comparisons between other datatypes I create 11:24:31 why would you need to extend equal? for that? 11:25:16 because the datatypes may include procedures 11:25:44 or may be because only a part of them needs to be equal? for them to be equal 11:28:12 sanduz2 [~sanduz2@75-149-186-118-Miami.hfc.comcastbusiness.net] has joined #scheme 11:28:15 phao: I don't think using `equal?' is a good idea in this case. When people see `equal?', they think about the standard `equal?' semantics, not the one you assigned to it. 11:28:23 tupi [~david@186.205.37.15] has joined #scheme 11:29:03 -!- adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has quit [Ping timeout: 240 seconds] 11:35:14 gravicappa [~gravicapp@ppp91-78-228-173.pppoe.mtu-net.ru] has joined #scheme 11:41:48 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 250 seconds] 11:42:08 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 11:47:50 Seus [~Seus@adsl-99-114-191-45.dsl.spfdmo.sbcglobal.net] has joined #scheme 11:49:15 wisey [~Steven@host86-150-108-29.range86-150.btcentralplus.com] has joined #scheme 11:51:06 -!- lewis1711 [~lewis@125-239-255-244.jetstream.xtra.co.nz] has left #scheme 12:00:12 dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has joined #scheme 12:00:25 does any Scheme contain a library that does Erlang-like binary stream parsing and writing? 12:01:55 valium97582 [~daniel@187.35.234.217] has joined #scheme 12:12:23 -!- myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has quit [Remote host closed the connection] 12:15:07 rexim [~rexim@91.204.184.177] has joined #scheme 12:16:26 adu [~ajr@64.134.67.69] has joined #scheme 12:19:29 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 12:24:58 -!- wisey [~Steven@host86-150-108-29.range86-150.btcentralplus.com] has quit [Quit: Leaving] 12:29:34 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 265 seconds] 12:35:46 vu3rdd [~vu3rdd@122.167.69.217] has joined #scheme 12:35:47 -!- vu3rdd [~vu3rdd@122.167.69.217] has quit [Changing host] 12:35:47 vu3rdd [~vu3rdd@fsf/member/vu3rdd] has joined #scheme 12:38:32 myu2 [~myu2@124x35x46x241.ap124.ftth.ucom.ne.jp] has joined #scheme 12:47:13 haesbaert [~haesbaert@189.27.173.145.dynamic.adsl.gvt.net.br] has joined #scheme 12:51:43 -!- haesbaert [~haesbaert@189.27.173.145.dynamic.adsl.gvt.net.br] has quit [Client Quit] 12:52:01 haesbaert [~haesbaert@189.27.173.145.dynamic.adsl.gvt.net.br] has joined #scheme 12:52:29 -!- haesbaert [~haesbaert@189.27.173.145.dynamic.adsl.gvt.net.br] has quit [Client Quit] 12:52:41 haesbaert [~haesbaert@189.27.173.145.dynamic.adsl.gvt.net.br] has joined #scheme 13:00:55 carleastlund [~cce@209-6-40-238.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has joined #scheme 13:02:54 -!- fantazo [~fantazo@178-191-173-246.adsl.highway.telekom.at] has quit [Remote host closed the connection] 13:05:26 kenjin2201 [~kenjin@211.177.88.67] has joined #scheme 13:07:09 -!- phao [~phao@189.107.133.57] has quit [Quit: Leaving] 13:08:36 -!- adu [~ajr@64.134.67.69] has quit [Quit: adu] 13:13:18 zevarito [~zevarito@r186-48-192-33.dialup.adsl.anteldata.net.uy] has joined #scheme 13:16:21 adu [~ajr@64.134.67.69] has joined #scheme 13:17:44 -!- zevarito [~zevarito@r186-48-192-33.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 240 seconds] 13:18:50 nilg` [~user@77.70.2.229] has joined #scheme 13:21:37 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 13:22:21 -!- bokr [~eduska@109.110.40.163] has quit [Quit: Leaving.] 13:23:38 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Max SendQ exceeded] 13:24:00 cv 13:24:14 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 13:24:18 89999u]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] 13:24:20 zevarito [~zevarito@r186-48-209-216.dialup.adsl.anteldata.net.uy] has joined #scheme 13:27:15 foof: what? 13:28:12 -!- myu2 [~myu2@124x35x46x241.ap124.ftth.ucom.ne.jp] has quit [Remote host closed the connection] 13:28:24 I think he said something like "89999u]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]" 13:28:40 and why so? 13:28:55 Drunk? 13:29:07 Cleaning his keyboard? 13:29:12 Not minding his cat? 13:30:34 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 250 seconds] 13:30:59 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 13:30:59 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 13:30:59 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 13:33:18 It's the cat. 13:33:27 And I certainly hope she isn't drunk! 13:33:42 :) 13:36:31 -!- sanduz2 [~sanduz2@75-149-186-118-Miami.hfc.comcastbusiness.net] has quit [Quit: Leaving] 13:46:08 myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has joined #scheme 13:46:08 she was just checking if ] can be used as ) in scheme programs. It seems that she has a deeply nested form. 13:50:09 cats are deeply nested 13:50:25 DrDuck [~duck@216.186.151.63] has joined #scheme 13:51:28 In fact, brackets are merely ASCII representations of cat tails. 13:52:51 aka bracats 13:53:00 Quite. :-) 14:00:45 towodo [~anonymous@209-6-120-139.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com] has joined #scheme 14:02:01 no those are accolades {} 14:09:20 phao [~phao@189.107.133.57] has joined #scheme 14:12:00 -!- nilg` [~user@77.70.2.229] has quit [Remote host closed the connection] 14:12:44 nilg` [~user@77.70.2.229] has joined #scheme 14:17:07 -!- nilg` [~user@77.70.2.229] has quit [Remote host closed the connection] 14:17:51 nilg` [~user@77.70.2.229] has joined #scheme 14:18:25 -!- nilg` [~user@77.70.2.229] has quit [Remote host closed the connection] 14:18:31 -!- adu [~ajr@64.134.67.69] has quit [Quit: adu] 14:19:33 nilg` [~user@77.70.2.229] has joined #scheme 14:24:42 erjiang [~erjiang@7.80.244.66.jest.smithvilledigital.net] has joined #scheme 14:24:56 -!- arbscht [~arbscht@unaffiliated/arbscht] has quit [Remote host closed the connection] 14:26:28 adu [~ajr@64.134.67.69] has joined #scheme 14:26:28 -!- adu [~ajr@64.134.67.69] has quit [Client Quit] 14:27:16 -!- Nisstyre [~nisstyre@infocalypse-net.info] has quit [Remote host closed the connection] 14:27:18 adu [~ajr@64.134.67.69] has joined #scheme 14:29:50 arbscht [~arbscht@unaffiliated/arbscht] has joined #scheme 14:34:55 hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has joined #scheme 14:39:38 -!- phao [~phao@189.107.133.57] has quit [Quit: Leaving] 14:39:47 phao [~phao@189.107.133.57] has joined #scheme 14:39:59 -!- phao [~phao@189.107.133.57] has quit [Client Quit] 14:40:10 phao [~phao@189.107.133.57] has joined #scheme 14:40:21 -!- towodo [~anonymous@209-6-120-139.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com] has quit [Quit: towodo] 14:48:49 -!- dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has quit [Ping timeout: 240 seconds] 14:49:12 -!- myu2 [~myu2@58x5x224x106.ap58.ftth.ucom.ne.jp] has quit [Remote host closed the connection] 14:49:54 cky: I thought ? was ;p 14:50:34 dnolen [~davidnole@184.152.69.75] has joined #scheme 14:55:15 femtoo [~femto@95-89-198-16-dynip.superkabel.de] has joined #scheme 14:55:21 leppie: All of the above. :-P 14:55:45 ~ :) 14:55:47 leppie: In other words, (, ), [, ], {, }, ?, and maybe < and > too. :-) 14:56:17 or if you look from behind, * 14:56:26 Hehehehe. 14:56:47 i'll vote for you btw :) if I remember 14:56:53 Thanks! :-) 14:57:17 i was thinking of nominating myself, but all I would say is: I just want more closing votes... 14:57:37 i'm way too much of a dick to be a moderator 14:57:45 Hehehehehehe. Did you read Rook's nomination? 14:57:51 nope 14:57:57 link ? 14:58:08 There's no direct links to individual nominations. :-( 14:58:28 ok link to nominations page as it is not being advertised anymore 14:58:39 http://stackoverflow.com/election 14:58:54 gozoner [~ebg@ebg-10004083621.jpl.nasa.gov] has joined #scheme 14:59:42 lol 14:59:48 how many votes do I get? 14:59:53 -!- jgracin [~jgracin@dh111-186.xnet.hr] has quit [Remote host closed the connection] 15:00:20 You can place 3 rankings. 15:00:43 kool, then the vote has been decided, you, rook and rob harvey 15:00:52 Hehehe, aww, thanks. :-) 15:01:09 but seriously, I want more closing votes! 15:01:21 make it happen congressman ky 15:01:48 although I do like the new flagging scheme 15:01:49 I don't know if moderators have any congressional powers. 15:01:54 saves a few 15:01:58 *nods* 15:02:00 -!- zevarito [~zevarito@r186-48-209-216.dialup.adsl.anteldata.net.uy] has left #scheme 15:02:07 I can definitely close questions on people's behalf, for sure. 15:02:26 my typical comment now is: Not programming... (stop wasting my closing votes) 15:02:54 Hehehehehe. 15:03:34 http://stackoverflow.com/questions/4757412/stack-and-heap-memory is why I wont get a single vote if I stood :) 15:03:38 I have a fairly broad view with regards what is considered programming-related, but, I won't hesitate to close anything that's outside of that criterion. 15:03:44 *checks* 15:03:58 i dispise shell scripting questions 15:04:09 sysadmin job, not mine :) 15:04:30 Shell scripting is a fine line. Some people write real programs in Bourne shell (me, 10+ years ago), but yes, sometimes it strays into sysadmin territory. 15:05:04 how often do you hear about professional shell scripters? 15:05:25 Apparently, some people write installers in Bourne shell because it's most widely availabl. 15:05:28 *available 15:05:40 the installer for racket is a .sh 15:05:44 *nods* 15:05:51 -!- pygospa [~pygospa@kiel-4dbed5b7.pool.mediaWays.net] has quit [Disconnected by services] 15:05:56 i do agree it can be considered, but 90% of the time, no 15:06:00 *nods* 15:06:03 pygospa [~pygospa@kiel-5f768b90.pool.mediaWays.net] has joined #scheme 15:06:06 It's a nuanced thing, for sure. 15:06:50 Re the stack/heap question, I'd probably rephrase it into a better question, assuming it's not been flogged to death already. 15:06:57 (Otherwise I'd close as duplicate.) 15:07:27 well it is a dupe, but it seems only me marked it for closing :( 15:07:38 :-( 15:07:53 I don't have my web browsing VM loaded up, otherwise I'd cast a close vote too. 15:08:09 sometimes sarcasm gets the better of me 15:09:06 Hehehehehehe. 15:09:51 Well, as for the OP's "why", it's easy! 15:09:56 -!- erjiang [~erjiang@7.80.244.66.jest.smithvilledigital.net] has quit [Remote host closed the connection] 15:10:05 Stack == fast but sequential access. 15:10:15 Heap == random-access but slower-to-allocate. 15:10:23 nope even easier, perhaps you dont even have a heap :) 15:10:30 Hahahaha. 15:10:39 s/sequential access/sequential allocation/ 15:10:59 aisa [~aisa@173-10-243-253-Albuquerque.hfc.comcastbusiness.net] has joined #scheme 15:11:13 no deterministic program should every require a heap 15:11:20 -!- Seus [~Seus@adsl-99-114-191-45.dsl.spfdmo.sbcglobal.net] has quit [Quit: Seus] 15:12:03 stack is sequential access? how? 15:12:08 it's not a linked list 15:12:22 asking me rien_? 15:12:33 oh no 15:12:37 if you know the answer :) 15:12:37 :) 15:13:20 in the embedded scenario, you pretty much have the stack allocated at compile time 15:13:56 right 15:14:16 the stack is no different from an array, and both are random access 15:14:29 unless I'm misunderstanding something fundamental 15:15:02 pretty much, just a contiguous (i think that is the right term) block of memory 15:16:22 and if you know where it ends, you can just grab memory like uint32_t* buf = (uint32_t*) 0x68002000; :) 15:16:35 for display buffers and such 15:16:45 an OS spoils all that for you 15:19:14 yes, contiguous 15:20:24 rien_: I amended my statement to say sequential allocation. 15:20:27 rien_: Which it is. 15:20:47 the stack is? 15:20:54 oh allocation 15:20:54 sorry 15:20:55 yes 15:21:00 Yep. 15:21:12 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 15:23:24 zevarito_ [~zevarito@r186-48-201-195.dialup.adsl.anteldata.net.uy] has joined #scheme 15:25:54 homie` [~levgue@xdsl-78-35-137-186.netcologne.de] has joined #scheme 15:25:55 wbooze` [~levgue@xdsl-78-35-137-186.netcologne.de] has joined #scheme 15:28:29 -!- wbooze [~levgue@xdsl-78-35-141-172.netcologne.de] has quit [Ping timeout: 276 seconds] 15:28:53 -!- homie [~levgue@xdsl-78-35-141-172.netcologne.de] has quit [Ping timeout: 264 seconds] 15:29:03 -!- homie` [~levgue@xdsl-78-35-137-186.netcologne.de] has quit [Client Quit] 15:29:11 -!- wbooze` [~levgue@xdsl-78-35-137-186.netcologne.de] has quit [Client Quit] 15:29:44 -!- zevarito_ [~zevarito@r186-48-201-195.dialup.adsl.anteldata.net.uy] has left #scheme 15:30:10 bweaver [~user@host-68-169-175-225.WISOLT2.epbfi.com] has joined #scheme 15:31:13 -!- Modius [~Modius@cpe-70-123-158-125.austin.res.rr.com] has quit [Quit: "Object-oriented design" is an oxymoron] 15:32:25 zevarito [~zevarito@r186-48-209-216.dialup.adsl.anteldata.net.uy] has joined #scheme 15:33:13 -!- adu [~ajr@64.134.67.69] has quit [Quit: adu] 15:35:46 -!- offby1` [~user@q-static-138-125.avvanta.com] has quit [Read error: Connection reset by peer] 15:36:02 dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has joined #scheme 15:42:04 -!- alaricsp [~alaric@geniedb.hotdesktop.biz] has quit [Quit: Leaving] 15:44:25 cloudd [~hakt@ti0013a380-dhcp0255.bb.online.no] has joined #scheme 15:44:28 -!- cloudd [~hakt@ti0013a380-dhcp0255.bb.online.no] has left #scheme 15:45:40 adu [~ajr@64.134.67.69] has joined #scheme 15:45:48 Seus [~Seus@146.7.61.69] has joined #scheme 15:48:18 offby1 [~user@pdpc/supporter/monthlybyte/offby1] has joined #scheme 15:49:36 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 15:49:50 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 15:50:05 langmartin [~user@exeuntcha2.tva.gov] has joined #scheme 15:54:39 Gsek [debian-tor@gateway/tor-sasl/gsek] has joined #scheme 15:58:57 alaricsp [~alaric@geniedb.hotdesktop.biz] has joined #scheme 16:00:25 corruptmemory [~jim@ool-18bbd5b2.static.optonline.net] has joined #scheme 16:05:40 rien__ [~rien_@static-71-249-187-201.nycmny.east.verizon.net] has joined #scheme 16:06:36 -!- rien_ [~rien_@rrcs-69-193-217-130.nyc.biz.rr.com] has quit [Read error: Operation timed out] 16:09:36 zevarito_ [~zevarito@r186-48-209-216.dialup.adsl.anteldata.net.uy] has joined #scheme 16:10:17 -!- nilg` [~user@77.70.2.229] has quit [Read error: Connection reset by peer] 16:10:38 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 16:10:39 -!- rien__ [~rien_@static-71-249-187-201.nycmny.east.verizon.net] has quit [Ping timeout: 240 seconds] 16:10:41 rien___ [~rien_@rrcs-69-193-217-130.nyc.biz.rr.com] has joined #scheme 16:10:54 nilg [~user@77.70.2.229] has joined #scheme 16:11:02 -!- rien___ [~rien_@rrcs-69-193-217-130.nyc.biz.rr.com] has quit [Client Quit] 16:11:08 -!- zevarito [~zevarito@r186-48-209-216.dialup.adsl.anteldata.net.uy] has quit [Ping timeout: 240 seconds] 16:11:40 rien_ [~rien_@rrcs-69-193-217-130.nyc.biz.rr.com] has joined #scheme 16:17:38 -!- femtoo [~femto@95-89-198-16-dynip.superkabel.de] has quit [Read error: Connection reset by peer] 16:18:13 Azuvix [~Azuvix@174-27-39-176.bois.qwest.net] has joined #scheme 16:24:34 homie [~levgue@xdsl-78-35-137-186.netcologne.de] has joined #scheme 16:24:43 nilg` [~user@77.70.2.229] has joined #scheme 16:27:03 wbooze [~levgue@xdsl-78-35-137-186.netcologne.de] has joined #scheme 16:29:38 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 240 seconds] 16:33:09 josephholsten [~josephhol@ip70-189-106-111.ok.ok.cox.net] has joined #scheme 16:33:10 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 265 seconds] 16:33:23 -!- josephholsten [~josephhol@ip70-189-106-111.ok.ok.cox.net] has quit [Client Quit] 16:39:26 -!- nilg` [~user@77.70.2.229] has quit [Remote host closed the connection] 16:40:12 nilg` [~user@77.70.2.229] has joined #scheme 16:44:11 -!- adu [~ajr@64.134.67.69] has quit [Quit: adu] 16:44:34 -!- valium97582 [~daniel@187.35.234.217] has quit [Ping timeout: 240 seconds] 16:45:10 -!- nilg` [~user@77.70.2.229] has quit [Read error: Connection reset by peer] 16:46:29 -!- nilg [~user@77.70.2.229] has quit [Read error: Connection reset by peer] 16:46:37 bharat1 [~bharatpar@182.156.233.92] has joined #scheme 16:46:44 hi all 16:47:31 hi minsa 16:47:44 valium97582 [~daniel@187.35.234.217] has joined #scheme 16:48:08 -!- rexim [~rexim@91.204.184.177] has quit [Remote host closed the connection] 16:48:11 wc valium97582 16:48:26 -!- carleastlund [~cce@209-6-40-238.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com] has quit [Quit: carleastlund] 16:49:14 ^-^ 16:49:47 ffrhsnvui 16:50:34 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 265 seconds] 16:52:04 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 16:53:27 -!- bharat1 [~bharatpar@182.156.233.92] has left #scheme 16:53:58 elderK [~k@pdpc/supporter/active/elderk] has joined #scheme 16:56:07 nilg [~user@77.70.2.229] has joined #scheme 17:01:08 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 17:01:54 nilg [~user@77.70.2.229] has joined #scheme 17:02:40 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 17:03:24 nilg [~user@77.70.2.229] has joined #scheme 17:03:52 jewel [~jewel@196-215-117-53.dynamic.isadsl.co.za] has joined #scheme 17:04:43 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 17:05:24 nilg [~user@77.70.2.229] has joined #scheme 17:05:51 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 240 seconds] 17:06:56 josephholsten [~josephhol@216.16.128.242] has joined #scheme 17:07:40 -!- gravicappa [~gravicapp@ppp91-78-228-173.pppoe.mtu-net.ru] has quit [Ping timeout: 250 seconds] 17:10:01 -!- Azuvix [~Azuvix@174-27-39-176.bois.qwest.net] has quit [Quit: Leaving] 17:11:15 yes, I often feel that way, too 17:13:52 Lo offby1! 17:21:49 pumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 17:22:36 -!- zevarito_ [~zevarito@r186-48-209-216.dialup.adsl.anteldata.net.uy] has left #scheme 17:23:04 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 246 seconds] 17:23:49 -!- vu3rdd [~vu3rdd@fsf/member/vu3rdd] has quit [Remote host closed the connection] 17:27:34 hey 17:27:54 is there an advantage of avoiding side effects? 17:28:00 many 17:28:04 hmm 17:28:11 which? 17:28:12 =D 17:28:31 constant propogation, beta reducation/contraction, constant folding, memory management efficiency. 17:28:58 :) Read about CSE (Common subexpression elimination), Constant folding and Generational Garbage collection with links between generations. 17:29:10 ok 17:29:18 btw 17:29:44 those advantages, to ge them, all I have to do is not set!, right? 17:29:48 I wasn't clear ... 17:30:11 I mean, if I have a purely functional code, will the scheme implementation notice that and "give me" those advantages? 17:30:20 -!- MichaelRaskin [~MichaelRa@195.178.216.22] has quit [Remote host closed the connection] 17:32:26 -!- nilg [~user@77.70.2.229] has quit [Read error: Connection reset by peer] 17:33:06 nilg [~user@77.70.2.229] has joined #scheme 17:33:28 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 17:36:19 adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has joined #scheme 17:37:58 nilg [~user@77.70.2.229] has joined #scheme 17:43:29 pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has joined #scheme 17:44:00 myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has joined #scheme 17:47:12 -!- myu2 [~myu2@v077103.dynamic.ppp.asahi-net.or.jp] has quit [Remote host closed the connection] 17:49:08 yep, phao. 17:49:20 In some cases, depending on situation, 17:49:30 creating new structures and stuff, is more efficient than modifying the existing ones. 17:49:37 it all depends on the structure of whatever you are working on, 17:49:45 and the interactions with the collector. 17:49:59 And remember, anything that stays static - or follows a reasonably obvious path of recreation, etc, 17:50:02 can be noticed by the compiler, by inference. 17:50:05 And that brings a lot of awesomeness too 17:50:13 A lot of optimizations can be performed, all sorts. 17:56:50 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 17:57:03 -!- Gsek [debian-tor@gateway/tor-sasl/gsek] has quit [Ping timeout: 240 seconds] 17:59:00 Gsek [debian-tor@gateway/tor-sasl/gsek] has joined #scheme 18:03:48 zanes [~zane@wall.tripitinc.com] has joined #scheme 18:06:12 gravicappa [~gravicapp@ppp85-140-66-71.pppoe.mtu-net.ru] has joined #scheme 18:06:15 elderK, ok 18:06:27 I just need to learn how to make stuff like this look less complicated 18:06:30 http://ix.io/1pS 18:06:52 writing this was a pain in the ass 18:07:05 and it's just a specialized trie 18:07:13 ;)well, you could handle letter->digit conversion much more succintly. 18:07:16 *succinctly 18:07:30 that's not the complicated part heheh 18:07:42 I think I could build a macro there 18:07:44 or use case 18:07:54 not sure if case works for char though 18:08:13 :P You could just do a couple of comparisons and subtractions 18:08:17 if you don't care about unicode. 18:08:20 and case does. 18:08:32 www.asciitable.com 18:08:34 for example. 18:08:37 mapping is pretty simple. 18:08:43 yeah... I "know" about that 18:09:06 the fact that a letter is the next letter - 1 is not always valid afaik 18:09:29 integer value of a letter, I mean 18:09:51 jeapostrophe_ [~jay@lallab.cs.byu.edu] has joined #scheme 18:10:13 ? 18:10:18 1 -> 0x31 18:10:25 ? 18:10:28 the mapping. 18:12:45 I think the "secret" to writing code 18:12:48 functional code 18:12:55 is to know what you're going to write (no kidding) 18:13:07 many times I wanted to write a C program, I just started to write 18:13:18 and I'd figure out what to do in the middle of the process 18:13:27 that doesn't seem to work very well with me while writing scheme code 18:13:32 I get lost in the middle of it very easily 18:14:28 -!- stamourv [~user@kauai.ccs.neu.edu] has quit [Remote host closed the connection] 18:18:40 -!- rien [~unkanon@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 272 seconds] 18:19:14 rien [~unkanon@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 18:21:58 btw elderK 18:22:06 did you see that string-cdr in the code? 18:22:11 is there a better way of doing it? 18:22:31 without using string->list 18:22:56 phao: so? parse it :P 18:23:11 is 'so?' the name of something? 18:23:23 http://ix.io/1pS ? 18:23:32 sorry, I was replying to an old post of yours. 18:23:39 (7:09:06 AM) phao: the fact that a letter is the next letter - 1 is not always valid afaik 18:23:47 ok 18:23:50 I did it with case 18:23:51 much better 18:24:07 I don't like working with integer values of characters 18:24:18 it's too dependent on charset... 18:24:27 ak70 [~ak70@46.11.10.227] has joined #scheme 18:24:41 I only do it for digits, which is guaranteed that '0'+1 is '1', and '1'+1 is '2' and so on until '9' 18:24:51 outside that, I suppose very little 18:25:05 like 'a'<'b'<...<'z' 18:25:06 wisey [~Steven@host86-150-108-29.range86-150.btcentralplus.com] has joined #scheme 18:25:52 well... 18:25:56 generally, that's true for most. 18:26:06 UTF8 is backwards compatible in a large way with ISo8859-1 18:26:10 at least, the ASCII subset. 18:26:20 and changing later, is a tiny issue. 18:26:28 the reason why I stick with what is valid for all is because I understand very little of charsets 18:26:38 I don't even know how they work 18:26:55 Then perhaps you should work on that, first. 18:27:05 but generally, 18:27:07 ASCII will do you fine. 18:27:26 well... I'm BR 18:27:33 need stuff like חבים .... 18:27:36 ascii doesn't have that 18:27:40 I think 18:27:54 I just saw ???? 18:28:02 and unicode libraries exist for Scheme, afaik. 18:28:19 brb 18:28:20 -!- phao [~phao@189.107.133.57] has quit [Quit: Leaving] 18:28:28 stamourv [~user@kauai.ccs.neu.edu] has joined #scheme 18:28:32 phao [~phao@189.107.133.57] has joined #scheme 18:28:43 חבים 18:28:45 see now? 18:28:55 or still ???? 18:28:57 ? 18:29:04 I can see. 18:29:11 PRAISE THE LORD! I SEEEEEE THE LIGHT! 18:29:14 :P 18:29:19 heheheheh 18:29:41 It's a miracle, a mirable!! 18:29:48 miracle, I mean... you know.. I'm poor and didn't have the chance to go to school 18:29:51 -!- Gsek [debian-tor@gateway/tor-sasl/gsek] has quit [Ping timeout: 240 seconds] 18:29:52 and learn how to type 18:29:59 but the lord doesn't see that 18:30:07 it sees the goodness .. ( I better stop) 18:30:47 PRAAIIIISE THE LROD :P 18:30:49 :P The world, 18:30:53 the russing and a fussin 18:30:55 and the jibbin and the jivin! 18:30:59 :P heheheehehehe 18:31:03 I'm enjoying this way too much 18:31:20 hehehe 18:33:21 -!- ak70 [~ak70@46.11.10.227] has quit [Quit: Leaving.] 18:39:22 didi` [~user@unaffiliated/didi/x-1022147] has joined #scheme 18:40:20 Gsek [debian-tor@gateway/tor-sasl/gsek] has joined #scheme 18:41:01 -!- Seus [~Seus@146.7.61.69] has quit [Quit: Seus] 18:41:07 -!- didi [~user@unaffiliated/didi/x-1022147] has quit [Ping timeout: 255 seconds] 18:42:51 heheh 18:42:53 it's working =) 18:46:26 -!- gravicappa [~gravicapp@ppp85-140-66-71.pppoe.mtu-net.ru] has quit [Ping timeout: 240 seconds] 18:49:00 Nisstyre [~nisstyre@infocalypse-net.info] has joined #scheme 18:50:55 -!- scheibo [~scheibo@CPE001dba06b84c-CM0026f3358955.cpe.net.cable.rogers.com] has quit [Quit: leaving] 18:54:18 -!- gozoner [~ebg@ebg-10004083621.jpl.nasa.gov] has quit [Quit: Computer has gone to sleep.] 18:54:34 gravicappa [~gravicapp@ppp85-141-167-242.pppoe.mtu-net.ru] has joined #scheme 18:59:03 -!- jewel [~jewel@196-215-117-53.dynamic.isadsl.co.za] has quit [Ping timeout: 240 seconds] 19:01:03 -!- Gsek [debian-tor@gateway/tor-sasl/gsek] has quit [Ping timeout: 240 seconds] 19:01:52 -!- josephholsten [~josephhol@216.16.128.242] has quit [Read error: Connection reset by peer] 19:02:10 josephholsten [~josephhol@216.16.128.242] has joined #scheme 19:06:23 -!- timj__ [~timj@e176194200.adsl.alicedsl.de] has quit [Quit: Ex-Chat] 19:07:56 elderK: right, utf8 is only compatible with ascii but not 8859 unfortunately for me :) 19:08:10 rien, 19:08:17 hey that tip you gave me yesterday 19:08:18 on bags 19:08:22 helped a lot on the code 19:08:31 it's running almost 30x faster 19:08:32 hehe 19:08:41 the alternative was THAT bad 19:09:13 wow 30 times faster? that's awesome :)) 19:09:21 probably more 19:09:29 actually more 19:09:44 I don't remember the actual run time of the old one 19:09:49 not sure if it was 20 or 15s 19:09:58 but with bags and dotted pairs (from cky) 19:10:00 it ran in 0.3s 19:10:15 -!- pumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 19:10:25 lol that's a lot better 19:10:43 yeah 19:10:47 I gotta learn algorithms 19:11:01 -!- jeapostrophe_ [~jay@lallab.cs.byu.edu] has quit [Quit: jeapostrophe_] 19:11:53 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 19:12:14 heheh 19:12:16 -!- valium97582 [~daniel@187.35.234.217] has quit [Ping timeout: 246 seconds] 19:12:19 they help sometimes ;) 19:12:29 timj [~timj@e176194200.adsl.alicedsl.de] has joined #scheme 19:17:32 -!- masm [~masm@bl15-79-18.dsl.telepac.pt] has quit [Quit: Leaving.] 19:18:41 :P they help always 19:18:48 data structures are incredibly important 19:20:59 oh yeah 19:21:35 jeff_ [~jdlouhy@zerowing.ccs.neu.edu] has joined #scheme 19:22:09 -!- jeff_ is now known as dlouhy 19:23:01 smalltalk has an extremely rich collection of, well, collection data structures. like bags, sets, dictionaries, and it goes on and on, it's really overwhelming 19:24:43 -!- josephholsten [~josephhol@216.16.128.242] has quit [Read error: Connection reset by peer] 19:25:05 josephholsten [~josephhol@216.16.128.242] has joined #scheme 19:28:01 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 19:33:10 Seus [~Seus@146.7.61.69] has joined #scheme 19:36:38 jeapostrophe_ [~jay@lallab.cs.byu.edu] has joined #scheme 19:37:20 carleastlund [~cce@gotham.ccs.neu.edu] has joined #scheme 19:38:53 zevarito [~zevarito@r186-48-201-195.dialup.adsl.anteldata.net.uy] has joined #scheme 19:41:10 -!- nilg [~user@77.70.2.229] has quit [Read error: Connection reset by peer] 19:45:35 rgrau [~user@80.31.142.135] has joined #scheme 19:47:16 -!- Seus [~Seus@146.7.61.69] has quit [Ping timeout: 255 seconds] 19:47:51 -!- phao [~phao@189.107.133.57] has quit [Quit: Leaving] 19:51:20 cuartum [~Cuartum@89.Red-80-25-155.staticIP.rima-tde.net] has joined #scheme 19:52:57 Seus [~Seus@146.7.61.69] has joined #scheme 19:55:35 -!- peterhil` [~peterhil@a91-153-127-82.elisa-laajakaista.fi] has quit [Read error: Operation timed out] 20:04:32 -!- homie [~levgue@xdsl-78-35-137-186.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 20:06:25 -!- timj [~timj@e176194200.adsl.alicedsl.de] has quit [Quit: Ex-Chat] 20:07:14 choas [~lars@p5792C864.dip.t-dialin.net] has joined #scheme 20:07:27 -!- jeapostrophe_ [~jay@lallab.cs.byu.edu] has quit [Quit: jeapostrophe_] 20:08:08 homie [~levgue@xdsl-78-35-137-186.netcologne.de] has joined #scheme 20:08:19 nilg [~user@77.70.2.229] has joined #scheme 20:15:12 -!- hiyuh [~hiyuh@KD124214245222.ppp-bb.dion.ne.jp] has quit [Quit: Leaving.] 20:17:26 -!- alaricsp [~alaric@geniedb.hotdesktop.biz] has quit [Quit: Leaving] 20:18:11 timj [~timj@e176194200.adsl.alicedsl.de] has joined #scheme 20:29:58 jeapostrophe_ [~jay@lallab.cs.byu.edu] has joined #scheme 20:32:48 phao [~phao@189.107.133.57] has joined #scheme 20:33:58 pdponze [~pdponze@144.85.121.191] has joined #scheme 20:38:43 peterhil` [~peterhil@a91-153-127-82.elisa-laajakaista.fi] has joined #scheme 20:47:01 -!- wisey [~Steven@host86-150-108-29.range86-150.btcentralplus.com] has quit [Quit: Leaving] 20:51:40 -!- Seus [~Seus@146.7.61.69] has quit [Quit: Seus] 21:00:39 -!- adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has quit [Quit: adu] 21:10:44 -!- nilg [~user@77.70.2.229] has quit [Remote host closed the connection] 21:12:28 drdo [~user@91.205.108.93.rev.vodafone.pt] has joined #scheme 21:12:30 adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has joined #scheme 21:13:30 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 276 seconds] 21:13:47 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 21:18:48 mwolfe [~michael@cpe-67-49-72-40.socal.res.rr.com] has joined #scheme 21:24:24 Caleb-- [thedude@bzq-79-182-207-181.red.bezeqint.net] has joined #scheme 21:31:54 Seus [~Seus@68.89.213.169] has joined #scheme 21:39:51 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Ping timeout: 240 seconds] 21:40:15 -!- yx [debian-tor@gateway/tor-sasl/yx] has quit [Ping timeout: 240 seconds] 21:44:07 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 21:51:45 yx [debian-tor@gateway/tor-sasl/yx] has joined #scheme 21:53:55 -!- choas [~lars@p5792C864.dip.t-dialin.net] has quit [Quit: leaving] 21:57:17 -!- kenjin2201 [~kenjin@211.177.88.67] has quit [Read error: Connection reset by peer] 21:59:24 -!- adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has quit [Quit: adu] 22:01:25 -!- zevarito [~zevarito@r186-48-201-195.dialup.adsl.anteldata.net.uy] has left #scheme 22:02:29 -!- pdponze [~pdponze@144.85.121.191] has left #scheme 22:02:33 pdponze [~pdponze@144.85.121.191] has joined #scheme 22:02:38 -!- pdponze [~pdponze@144.85.121.191] has left #scheme 22:02:48 -!- HG` [~HG@xdsl-92-252-118-246.dip.osnanet.de] has quit [Quit: Leaving.] 22:03:16 -!- phao [~phao@189.107.133.57] has quit [Quit: Leaving] 22:05:21 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 22:05:55 -!- cuartum [~Cuartum@89.Red-80-25-155.staticIP.rima-tde.net] has quit [Quit: Saliendo] 22:09:08 -!- josephholsten [~josephhol@216.16.128.242] has quit [Read error: Connection reset by peer] 22:09:27 josephholsten [~josephhol@216.16.128.242] has joined #scheme 22:19:27 -!- dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has quit [Quit: Lost terminal] 22:20:17 -!- josephholsten [~josephhol@216.16.128.242] has quit [Read error: Connection reset by peer] 22:20:39 josephholsten [~josephhol@216.16.128.242] has joined #scheme 22:22:15 -!- gravicappa [~gravicapp@ppp85-141-167-242.pppoe.mtu-net.ru] has quit [Ping timeout: 240 seconds] 22:22:24 -!- Seus [~Seus@68.89.213.169] has quit [Ping timeout: 276 seconds] 22:25:56 Seus [~Seus@68.89.213.169] has joined #scheme 22:32:07 adu [~ajr@pool-72-83-254-159.washdc.fios.verizon.net] has joined #scheme 22:32:37 -!- langmartin [~user@exeuntcha2.tva.gov] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 22:37:00 -!- aisa [~aisa@173-10-243-253-Albuquerque.hfc.comcastbusiness.net] has quit [Quit: aisa] 22:41:41 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 22:44:18 bweaver` [~user@host-68-169-158-230.WISOLT2.epbfi.com] has joined #scheme 22:45:46 -!- jeapostrophe_ is now known as jeapostrophe 22:45:51 -!- bweaver [~user@host-68-169-175-225.WISOLT2.epbfi.com] has quit [Ping timeout: 240 seconds] 22:47:20 -!- elderK [~k@pdpc/supporter/active/elderk] has quit [Read error: Connection reset by peer] 22:55:32 Kirill [~user@CPEf81edff80afa-CM0016924f5bee.cpe.net.cable.rogers.com] has joined #scheme 22:55:53 hi! can someone point in the right direction re editing Scheme code in emacs? specifically, I'm interested in some more language-aware editing commands that operate on s-expressions, etc. any ideas? 22:56:14 jeapostrophe_ [~jay@lallab.cs.byu.edu] has joined #scheme 22:56:34 Kirill, perhaps you would like to try out paredit. 22:56:34 -!- jeapostrophe [~jay@lallab.cs.byu.edu] has quit [Read error: Connection reset by peer] 22:56:35 -!- jeapostrophe_ is now known as jeapostrophe 22:56:46 jeapostrophe_ [~jay@lallab.cs.byu.edu] has joined #scheme 22:57:25 -!- stamourv [~user@kauai.ccs.neu.edu] has quit [Quit: ERC Version 5.2 (IRC client for Emacs)] 22:57:30 -!- parcs [~patrick@ool-45741d7d.dyn.optonline.net] has quit [Read error: Operation timed out] 22:57:41 this: http://www.emacswiki.org/emacs/ParEdit ? 22:58:06 parcs [~patrick@ool-45741d7d.dyn.optonline.net] has joined #scheme 22:58:14 Yes, or more directly . 22:58:39 stamourv [~user@kauai.ccs.neu.edu] has joined #scheme 22:58:45 -!- jeapostrophe_ [~jay@lallab.cs.byu.edu] has quit [Client Quit] 22:59:15 great, thanks. I'll look around 23:01:17 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 23:01:40 Kirill: You might also enjoy Quack: http://www.neilvandyke.org/quack/ 23:02:12 -!- pdelgallego [~pdelgalle@1385159852.dhcp.dbnet.dk] has quit [Ping timeout: 246 seconds] 23:02:19 -!- Seus [~Seus@68.89.213.169] has quit [Quit: Seus] 23:03:43 amazing, paredit is great 23:03:49 I didn't enjoy quack when I used it, actually =) 23:07:02 monoid [~tmo@adsl-76-193-181-154.dsl.chcgil.sbcglobal.net] has joined #scheme 23:07:24 -!- monoid is now known as monoid_ 23:09:50 I need to define square brackets as a special bit of syntax. Is this possible? 23:11:03 -!- Riastradh [debian-tor@fsf/member/riastradh] has quit [Ping timeout: 240 seconds] 23:15:03 gozoner [~ebg@ebg-10004083621.jpl.nasa.gov] has joined #scheme 23:18:24 Riastradh [debian-tor@fsf/member/riastradh] has joined #scheme 23:24:50 -!- xvilka [~xvilka@109.170.106.227] has quit [Quit: leaving] 23:28:22 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 272 seconds] 23:29:09 -!- gozoner [~ebg@ebg-10004083621.jpl.nasa.gov] has quit [Remote host closed the connection] 23:29:14 -!- DrDuck [~duck@216.186.151.63] has quit [Ping timeout: 240 seconds] 23:34:39 monoid_: No. 23:34:59 -!- bweaver` [~user@host-68-169-158-230.WISOLT2.epbfi.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:35:04 monoid_: In R5RS, square brackets are reserved. In R6RS, square brackets are defined to be the same as round brackets. 23:35:11 Except that must be matched. 23:35:25 i.e., [()] or ([]) is okay, but ([)] is not. 23:35:29 Kirill, let me know if you have any questions about paredit. 23:37:19 dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has joined #scheme 23:37:53 -!- rien [~unkanon@dyn-160-39-34-114.dyn.columbia.edu] has quit [Ping timeout: 264 seconds] 23:38:18 -!- Kirill [~user@CPEf81edff80afa-CM0016924f5bee.cpe.net.cable.rogers.com] has left #scheme 23:38:29 rien [~unkanon@dyn-160-39-34-114.dyn.columbia.edu] has joined #scheme 23:39:31 -!- dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has quit [Client Quit] 23:40:33 okay 23:40:44 Well, guess I'll have to implement my own dialect of lisp then :P 23:41:25 valium97582 [~daniel@187.35.234.217] has joined #scheme 23:41:47 Also, even if this isn't necesarily scheme-related, I found perhaps the most beautiful equation in physics. 23:42:12 S = (c^3 * k * a) / (4 * hbar * G) 23:42:53 It relates thermodyamics, quantum mechanics, general relativity, and special relativity in one relationship. 23:43:03 (it gives the entropy of a black hole) 23:49:40 dfkjjkfd [~paulh@210-11-ftth.onsnetstudenten.nl] has joined #scheme 23:50:29 -!- josephholsten [~josephhol@216.16.128.242] has quit [Quit: josephholsten] 23:52:42 Seus [~Seus@68.89.213.169] has joined #scheme 23:55:52 jeapostrophe_ [~jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 23:58:03 monoid_: you can change the readtable, see http://wiki.call-cc.org/man/4/Unit%20library#set-read-syntax or http://docs.racket-lang.org/reference/Reader_Extension.html for instance 23:58:42 of course that's outside of standard Scheme, and also pretty hairy 23:58:55 sloyd: thanks for the docs 23:59:04 -!- jeapostrophe_ [~jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Client Quit]