00:02:02 threading state is just one particular example of a monad 00:02:38 heh. I had a hypothesis I was half-heartedly testing there. 00:06:55 fair point. it is but one application of monads, but isn't that how they justify a procedure reading from stdin to be functional? all other things being equal, in a purely functional language, each call to an rng should return an identical value. 00:07:27 but by threading an ever-mutating state via monad, no two calls to the rng _are_ ever the same, so that rule is never _technically_ broken. 00:07:38 correct 00:07:49 and that is what matters 00:07:55 the technicality? :) 00:07:58 yes 00:08:02 haha 00:08:48 you can replace equals for equals, without having to worry about evaluation order, because evaluating an expression can't implicitly modify state or any other side-effects 00:11:29 what it is about is really separating the mutation (or other effects) aspects of your program from the "pure" parts of the program 00:13:14 (an "impure" annotation on functions would work more or less as well as having an "IO monad") 00:17:25 hm... how fast is chez scheme? 00:18:15 -!- dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has quit [Ping timeout: 276 seconds] 00:18:23 -!- blueadept [~blueadept@unaffiliated/blueadept] has quit [Quit: Leaving] 00:18:23 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Ping timeout: 246 seconds] 00:18:48 copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has joined #scheme 00:18:48 -!- copumpkin [~pumpkin@209-6-232-56.c3-0.sbo-ubr1.sbo.ma.cable.rcn.com] has quit [Changing host] 00:18:48 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 00:19:00 the only comparisons i've seen on the interwebs were with petite chez, which is apparently a bytecode vm version 00:19:33 -!- nowhere_man [~pierre@AStrasbourg-551-1-101-227.w90-13.abo.wanadoo.fr] has quit [Quit: Konversation terminated!] 00:19:40 afaik, arcfide is the resident Chez user 00:19:50 nowhere_man [~pierre@AStrasbourg-551-1-101-227.w90-13.abo.wanadoo.fr] has joined #scheme 00:27:10 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 00:53:06 -!- tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has quit [Quit: tshauck] 01:00:46 gienah [~mwright@ppp121-44-162-75.lns20.syd7.internode.on.net] has joined #scheme 01:04:29 tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has joined #scheme 01:15:15 djcb` [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 01:16:48 -!- djcb [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Ping timeout: 250 seconds] 01:19:51 -!- ijp [~user@host86-150-75-6.range86-150.btcentralplus.com] has quit [Quit: good night] 01:21:06 -!- mmc [~michal@82-148-210-75.fiber.unet.nl] has quit [Quit: Leaving.] 01:22:32 ski: thanks. I haven't heard an explanation as frank as that before. 01:24:04 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Read error: Connection reset by peer] 01:24:08 np 01:25:00 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Read error: Operation timed out] 01:25:36 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 01:31:35 -!- martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has quit [Read error: Connection reset by peer] 01:31:50 martinhex [~mjc@93-97-29-243.zone5.bethere.co.uk] has joined #scheme 01:37:53 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 01:38:47 -!- tauntaun [~Crumpet@ool-44c711b3.dyn.optonline.net] has quit [Quit: Ex-Chat] 01:38:56 I'm thinking about the best approach for embedding a Lisp2 into Scheme 01:39:09 I see two basic strategies, symmetrical and asymmetrical. 01:39:22 In the asymmetrical strategy, there is the Scheme value, and then there is a separate function cell. 01:40:08 -!- dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has quit [Read error: Operation timed out] 01:40:21 In the Lisp2, the symbol value is the Scheme value, and if the function cell holds a function, that's the symbol function. If it doesn't, and the Scheme value is a function, that's the symbol function. 01:41:01 Setting the symbol value checks to see if the existing Scheme value is a function, and if so and the function cell is empty, then the old value is copied into the function cell. 01:41:33 This seems to be the most fluid, but it might be cleaner to have a separate Scheme value, value cell, and function cell, with both the value cell and the function cell defaulting to the Scheme value if not set. 01:44:17 Which means, however, that if Scheme sets its value, the other Lisp doesn't see the change at all if it already has a value. 01:58:18 I've always thought the first, but it may make some errors harder to catch (i.e., (car xs) -> no `car' in the function environment, uses Scheme's `car'. (defun car (x) (x (lambda (x) (lambda (y) x)))) -> that code is now broken(?)) 01:59:12 -!- offby1 is now known as sotweedfactor 01:59:31 -!- sotweedfactor is now known as offby1 02:02:53 Is it broken? It seems to me that you said you wanted that when you redefined car. 02:03:45 What's weird is the fact that (setq car (make-car)) will break Scheme's car function. 02:04:16 Lisp's car will still work, however, because of the copy-down from the value to the function cell. 02:09:43 well, I'm not good at making examples, but I think that looking up the symbol in both environments would create subtle error. 02:10:42 people would start relying on it because writing `funcall' every time in higher-order-procedures-heavy code is repetitive and error-prone. 02:11:21 (like in (defun map (f xs) (cons (f (car xs)) (map f (cdr xs]) 02:11:27 (instead of `funcall') 02:11:50 Ah, I see. You're right. 02:12:12 the nightmare begins when you shadow the value slot with a function slot. 02:13:04 Okay, so scrap the dual lookup. Lisp function calling looks in the function cell, period (unless funcall is used, obviously). 02:13:25 So functions must be explicitly shared between Scheme and Lisp. 02:13:54 Then the (setq car (make-car)) example becomes the problematic one: everything's fine in Lisp, but Scheme has been quietly broken. 02:14:09 -!- _pr0t0type_ [~prototype@cpe-69-201-142-223.nyc.res.rr.com] has quit [Ping timeout: 240 seconds] 02:14:43 also, how would you distinguish a Scheme (value env) vs Lisp (function env) call? 02:15:47 Oh, that would depend on which evaluator was running. Procedure *objects* (like other objects) are shared, but the code of a procedure is either Scheme or Lisp depending on how it was defined. 02:17:52 So to call a Lisp function foo, Scheme would have to say ((symbol-function 'foo) ...), perhaps with help from a macro. 02:18:05 And Lisp can call Scheme functions by name with funcall. 02:19:01 that would work. Also, some kind of module system may help on the Scheme side. 02:19:22 some `provide-as-function' that exports normally the binding for Scheme code, and as a function for Lisp-2 code. 02:23:22 I was thinking that (define (...) ...) would just have a private side effect. 02:24:18 -!- jcowan is now known as elisp 02:24:21 -!- elisp is now known as jcowan 02:24:29 what about (define fun #f) (let ((shared-x ...)) ... (set! fun ...))? 02:24:53 Obviously there would have to be an explicit interface. 02:25:10 (define foo (lambda ...)) might or might not set the function cell. 02:27:06 `define' could recognize `lambda' (assuming low-level macros and access to `macroexpand') 02:27:11 *jcowan* nods. 02:27:49 which is the most obvious think to do anyway, because it's the only way to properly handle the curried syntax for define. 02:29:52 s/think/thing/ 02:29:55 The more I think about it, the more I think a completely separated solution is the only safe one. Symbols have a Scheme value, a Lisp value, and a Lisp function value, none of which interfere with one another. 02:30:38 how would they interoperate? symbol-value, symbol-function and scheme-symbol-value everywhere? 02:38:40 -!- Hal9k [~Lernaean@unaffiliated/kusanagi] has quit [] 02:42:40 Hal9k [~Lernaean@unaffiliated/kusanagi] has joined #scheme 02:57:47 -!- fantazo [~fantazo@91-115-172-222.adsl.highway.telekom.at] has quit [Read error: Operation timed out] 03:05:20 -!- zarus [~zarus@129.89.198.245] has quit [Quit: Leaving] 03:05:35 djcb`` [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 03:07:11 -!- djcb` [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Ping timeout: 240 seconds] 03:07:23 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 03:13:36 fantazo [~fantazo@178-191-171-206.adsl.highway.telekom.at] has joined #scheme 03:15:01 soveran [~soveran@186.19.214.247] has joined #scheme 03:18:47 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen] 03:26:36 aisa [~aisa@74-93-1-121-SFBA.hfc.comcastbusiness.net] has joined #scheme 03:27:24 -!- tshauck [~tshauck@99-109-59-35.lightspeed.mssnks.sbcglobal.net] has quit [Quit: tshauck] 03:29:41 genieliu [~genieliu@59.78.62.120] has joined #scheme 03:42:04 -!- rudybot [~luser@ec2-204-236-167-175.us-west-1.compute.amazonaws.com] has quit [Remote host closed the connection] 03:42:22 -!- Modius_ [~Modius@cpe-70-123-140-183.austin.res.rr.com] has quit [Quit: "Object-oriented design" is an oxymoron] 03:43:50 rudybot [~luser@ec2-204-236-167-175.us-west-1.compute.amazonaws.com] has joined #scheme 03:44:41 -!- rudybot [~luser@ec2-204-236-167-175.us-west-1.compute.amazonaws.com] has quit [Remote host closed the connection] 03:44:51 DT``: Yes, I suppose so 03:45:08 although Scheme doesn't actually require that you be able to evaluate symbols except with eval. 03:47:21 rudybot [~luser@ec2-204-236-167-175.us-west-1.compute.amazonaws.com] has joined #scheme 03:50:21 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 276 seconds] 03:55:15 _pr0t0type_ [~prototype@cpe-69-201-142-223.nyc.res.rr.com] has joined #scheme 03:58:14 -!- aidalgol [~user@114-134-7-23.rurallink.co.nz] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 04:11:16 -!- _pr0t0type_ [~prototype@cpe-69-201-142-223.nyc.res.rr.com] has quit [Quit: Leaving] 04:13:03 parolang [~parolang@c-64-246-121-114.oregonrd-wifi-1261.amplex.net] has joined #scheme 04:24:18 jcowan_ [~John@cpe-74-68-112-189.nyc.res.rr.com] has joined #scheme 04:26:06 -!- aisa [~aisa@74-93-1-121-SFBA.hfc.comcastbusiness.net] has quit [Read error: Connection reset by peer] 04:26:17 aisa [~aisa@74-93-1-121-SFBA.hfc.comcastbusiness.net] has joined #scheme 04:27:40 -!- elly [~elly@atheme/member/elly] has quit [Remote host closed the connection] 04:27:42 -!- jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has quit [Ping timeout: 252 seconds] 04:27:59 elly [~elly@atheme/member/elly] has joined #scheme 04:28:41 -!- Nshag [user@chl45-1-88-123-84-8.fbx.proxad.net] has quit [Ping timeout: 250 seconds] 05:06:31 aidalgol [~user@114-134-7-23.rurallink.co.nz] has joined #scheme 05:09:45 teurastaja [~Samuel@modemcable072.213-81-70.mc.videotron.ca] has joined #scheme 05:21:37 gravicappa [~gravicapp@ppp91-77-163-102.pppoe.mtu-net.ru] has joined #scheme 05:22:22 -!- teurastaja [~Samuel@modemcable072.213-81-70.mc.videotron.ca] has quit [Quit: --> Put something intelligent here when I'm more bored <--] 05:22:42 -!- soveran [~soveran@186.19.214.247] has quit [Remote host closed the connection] 05:24:48 -!- aisa [~aisa@74-93-1-121-SFBA.hfc.comcastbusiness.net] has quit [Quit: aisa] 05:30:23 -!- MichaelRaskin [~MichaelRa@195.91.224.225] has quit [Remote host closed the connection] 05:36:34 -!- bgs100 [~ian@unaffiliated/bgs100] has quit [Quit: Leaving] 06:28:31 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 258 seconds] 06:31:03 -!- homie [~levgue@xdsl-78-35-146-152.netcologne.de] has quit [Read error: Connection reset by peer] 06:32:48 homie [~levgue@xdsl-84-44-153-154.netcologne.de] has joined #scheme 06:34:17 -!- araujo [~araujo@gentoo/developer/araujo] has quit [Quit: Leaving] 06:38:42 -!- parolang [~parolang@c-64-246-121-114.oregonrd-wifi-1261.amplex.net] has quit [Ping timeout: 276 seconds] 06:39:22 alaricsp [~alaric@relief.warhead.org.uk] has joined #scheme 06:41:49 -!- jcowan_ [~John@cpe-74-68-112-189.nyc.res.rr.com] has quit [Quit: Leaving] 07:05:23 -!- djcb`` [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Read error: Operation timed out] 07:06:25 djcb`` [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 07:15:45 djcb``` [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 07:18:09 -!- djcb`` [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Ping timeout: 276 seconds] 07:20:26 -!- monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has quit [Quit: hello] 07:49:31 -!- tupi [~david@189.60.162.202] has quit [Remote host closed the connection] 07:58:39 -!- gravicappa [~gravicapp@ppp91-77-163-102.pppoe.mtu-net.ru] has quit [Ping timeout: 276 seconds] 07:58:39 masm [~masm@bl16-149-135.dsl.telepac.pt] has joined #scheme 08:06:41 gravicappa [~gravicapp@ppp91-77-215-25.pppoe.mtu-net.ru] has joined #scheme 08:20:26 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 08:21:35 djcb```` [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 08:23:00 -!- djcb``` [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Ping timeout: 252 seconds] 08:26:37 -!- djcb```` is now known as djcb 08:30:39 araujo [~araujo@gentoo/developer/araujo] has joined #scheme 08:42:51 -!- kennyd [~kennyd@93-136-159-186.adsl.net.t-com.hr] has quit [Ping timeout: 276 seconds] 08:46:52 kennyd [~kennyd@93-139-76-1.adsl.net.t-com.hr] has joined #scheme 08:47:30 -!- foof` [~user@li126-140.members.linode.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 08:47:51 -!- gravicappa [~gravicapp@ppp91-77-215-25.pppoe.mtu-net.ru] has quit [Ping timeout: 276 seconds] 08:48:16 X-Scale [email@2001:470:1f14:135b::2] has joined #scheme 09:05:11 gravicappa [~gravicapp@ppp91-77-166-11.pppoe.mtu-net.ru] has joined #scheme 09:16:30 -!- fantazo [~fantazo@178-191-171-206.adsl.highway.telekom.at] has quit [Remote host closed the connection] 09:42:34 -!- genieliu [~genieliu@59.78.62.120] has quit [Quit: Lost terminal] 09:50:44 -!- gravicappa [~gravicapp@ppp91-77-166-11.pppoe.mtu-net.ru] has quit [Ping timeout: 250 seconds] 10:06:47 keenbug [~daniel@p4FE39191.dip.t-dialin.net] has joined #scheme 10:07:02 ijp [~user@host109-153-24-247.range109-153.btcentralplus.com] has joined #scheme 10:15:48 Kajtek [~paniwladc@nat4-230.ghnet.pl] has joined #scheme 10:18:21 mmc [~michal@82-148-210-75.fiber.unet.nl] has joined #scheme 10:33:05 -!- mmc [~michal@82-148-210-75.fiber.unet.nl] has quit [Quit: Leaving.] 10:39:52 -!- Euthydemus [~euthydemu@unaffiliated/euthydemus] has quit [Read error: Operation timed out] 10:51:32 -!- aidalgol [~user@114-134-7-23.rurallink.co.nz] has quit [Quit: zZzZzZz] 11:59:52 -!- mutewit [~mutew@c-68-48-11-23.hsd1.md.comcast.net] has quit [Read error: Connection reset by peer] 12:05:43 Euthydemus [~euthydemu@unaffiliated/euthydemus] has joined #scheme 12:18:42 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 12:31:40 Nshag [user@chl45-1-88-123-84-8.fbx.proxad.net] has joined #scheme 12:43:46 bgs100 [~ian@unaffiliated/bgs100] has joined #scheme 12:59:54 -!- XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has quit [Ping timeout: 258 seconds] 13:03:34 XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has joined #scheme 13:17:14 kuribas [~user@94-227-91-193.access.telenet.be] has joined #scheme 13:21:42 choas [~lars@p578F682F.dip.t-dialin.net] has joined #scheme 13:24:18 -!- XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has quit [Ping timeout: 276 seconds] 13:30:34 XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has joined #scheme 13:32:53 -!- pygospa [~TheRealPy@kiel-4dbec85b.pool.mediaWays.net] has quit [Disconnected by services] 13:33:02 pygospa [~TheRealPy@kiel-d9bfdd54.pool.mediaWays.net] has joined #scheme 13:36:54 soveran [~soveran@186.19.214.247] has joined #scheme 13:47:11 -!- homie [~levgue@xdsl-84-44-153-154.netcologne.de] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 13:49:49 wingo [~wingo@90.164.198.39] has joined #scheme 13:51:00 homie [~levgue@xdsl-84-44-153-154.netcologne.de] has joined #scheme 13:52:23 djcb` [~user@a88-114-88-233.elisa-laajakaista.fi] has joined #scheme 13:54:05 -!- djcb [~user@a88-114-88-233.elisa-laajakaista.fi] has quit [Ping timeout: 244 seconds] 13:57:44 gravicappa [~gravicapp@ppp91-77-177-9.pppoe.mtu-net.ru] has joined #scheme 14:07:20 -!- XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has quit [Ping timeout: 258 seconds] 14:08:05 XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has joined #scheme 14:13:08 tupi [~david@189.60.162.202] has joined #scheme 14:14:09 -!- choas [~lars@p578F682F.dip.t-dialin.net] has quit [Ping timeout: 255 seconds] 14:32:18 Leonidas_ [~Leonidas@unaffiliated/leonidas] has joined #scheme 14:32:36 -!- Leonidas_ is now known as Leonidas 14:34:00 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 14:37:04 jewel [~jewel@196-209-224-145.dynamic.isadsl.co.za] has joined #scheme 14:51:21 bugQ [~bug@c-71-195-207-34.hsd1.ut.comcast.net] has joined #scheme 14:54:41 bug- [~bug@c-71-195-207-34.hsd1.ut.comcast.net] has joined #scheme 14:56:36 -!- bugQ [~bug@c-71-195-207-34.hsd1.ut.comcast.net] has quit [Ping timeout: 244 seconds] 14:58:50 tcleval [~funnyguy@177.19.102.239] has joined #scheme 15:04:04 -!- bug- is now known as bugQ 15:12:11 -!- XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has quit [Ping timeout: 240 seconds] 15:13:21 -!- masm [~masm@bl16-149-135.dsl.telepac.pt] has quit [Quit: Leaving.] 15:13:57 XTL [~XTL@dsl-olubrasgw2-fe6af800-251.dhcp.inet.fi] has joined #scheme 15:17:40 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has left #scheme 15:21:45 -!- gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has quit [Ping timeout: 264 seconds] 15:22:01 gnomon [~gnomon@CPE0022158a8221-CM000f9f776f96.cpe.net.cable.rogers.com] has joined #scheme 15:23:12 -!- gravicappa [~gravicapp@ppp91-77-177-9.pppoe.mtu-net.ru] has quit [Ping timeout: 252 seconds] 15:25:40 gravicappa [~gravicapp@ppp91-77-162-241.pppoe.mtu-net.ru] has joined #scheme 15:28:32 rekahsoft [~collin@CPE002129ce62e2-CM0026f30ca5ed.cpe.net.cable.rogers.com] has joined #scheme 15:30:04 hi all..i have been using racket since when i first picked up scheme...but racket isn't exactly standard and i was wondering how it compared (runtime wise) against other implementations and even other languages 15:30:20 anyways my question is..what is a really nice and fast scheme implementation.. 15:30:37 i am looking at bigloo abd it seems alright 15:31:39 also is there a thread SRFI? 15:34:33 monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has joined #scheme 15:39:26 -!- eli [~eli@winooski.ccs.neu.edu] has left #scheme 15:39:33 eli [~eli@winooski.ccs.neu.edu] has joined #scheme 15:40:23 rekahsoft: racket is non-standard in that it's extended, and in that sense all implementations are "not exactly standard". (If you really want a *standard*, then no implementation that I know of beats Racket's R5 and R6 as *exactly* the standard.) 15:42:53 tauntaun [~Crumpet@ool-44c711b3.dyn.optonline.net] has joined #scheme 15:43:51 eli: alright i figured..things like gui and threads are not defined in the scheme standard, no? 15:44:06 No. 15:44:12 Much less than that. 15:44:24 -!- kuribas [~user@94-227-91-193.access.telenet.be] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 15:44:43 what all is in the standard? i know one thing i want to do is write a scheme interpretter for kicks.. 15:44:56 If you want "just standard scheme" then use racket's r[56]rs language, and prepare yourself for a world of pain. 15:45:26 (With r6rs it'll be just pain, with r5rs it'll be hell.) 15:46:15 genieliu [~genieliu@59.78.62.120] has joined #scheme 15:46:57 eli: why? if you don't mind me asking 15:48:05 Becuase they are tiny languages. 15:48:33 R5 is even ridiculously tiny, so if you want to stick to the standard you will need to reinvent wheels over and over. 15:49:50 rekahsoft: Multithreading is srfis 18 & 21 15:55:16 eli: so which circle of hell is r7rs wg1 ? 15:55:27 tupi__ [~david@139.82.89.39] has joined #scheme 15:55:48 I don't know. 15:56:38 -!- tupi__ [~david@139.82.89.39] has quit [Client Quit] 15:56:59 are optional parameters to functions a extention to racket? eg (lambda (x [my-optional-param 'default-val) 15:57:03 ])* 15:58:02 tupi__ [~david@139.82.89.39] has joined #scheme 15:58:16 you could do them with case-lambda and a syntax-rules macro, but strictly speaking, they are nonstandard 15:59:55 -!- tupi__ [~david@139.82.89.39] has quit [Client Quit] 16:01:36 -!- monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has quit [Ping timeout: 276 seconds] 16:02:58 monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has joined #scheme 16:07:37 hogeo [~hogeo@KD210230163150.ec-userreverse.dion.ne.jp] has joined #scheme 16:14:50 rekahsoft: There's SRFI 89. 16:15:03 rekahsoft: What Racket provides for optional parameters is pretty much in line with what SRFI 89 offers. 16:15:32 rekahsoft: (I'm in the process of writing an implementation of SRFI 89 for Guile, so I can use it there too.) 16:16:33 Actually, in case that gets misread, I'm in the process of writing a SRFI 89 "wrapper" for Guile's native optional parameters functionality. ;-) 16:18:49 how chicken implementation compare to other Scheme->C implementations? 16:22:27 Migaaresno [~benny@s529c3e36.adsl.wanadoo.nl] has joined #scheme 16:23:38 Does any Scheme have non-ffi (i.e. native Scheme) bindings for X11? 16:25:54 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 16:26:06 ecraven: Wow. That seems like a huge timesink. :-) 16:26:20 ecraven: Basically you'd have to reimplement the X protocol from scratch, at least for the client end. 16:26:30 Actually, with the right libraries, it should be 20-50 lines of scheme. 16:26:43 xproto is defined by xml files used to generate the documentation. 16:26:52 pjb: Wow, very nice. 16:27:06 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 16:27:36 I'm not sure they're used to generate code though, so you might have to edit them. or implement ad-hoc processing. However, the main part should go seamelessly. 16:27:43 s/me/m/ 16:27:53 Sounds like a new project for ecraven. :-) 16:28:13 -!- monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has quit [Read error: Connection reset by peer] 16:28:44 Further, xwen uses also a direct to X11 server connection, you could choose to use the elisp implemented in scheme to run it, or translate it to scheme. 16:30:25 -!- genieliu [~genieliu@59.78.62.120] has quit [Quit: Lost terminal] 16:31:54 choas [~lars@p578F682F.dip.t-dialin.net] has joined #scheme 16:32:27 monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has joined #scheme 16:33:07 DrDuck [~duck@adsl-98-81-125-232.hsv.bellsouth.net] has joined #scheme 16:33:30 cky: alrgith good to know 16:34:34 another question..with bigloo the floor function evaluates to a double or float or something..anything something non integer..how do i make it back to an itneger? 16:35:41 inexact->exact is in r5rs iirc. 16:38:19 -!- monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has quit [Read error: Operation timed out] 16:40:31 monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has joined #scheme 16:42:28 -!- gienah [~mwright@ppp121-44-162-75.lns20.syd7.internode.on.net] has quit [Quit: leaving] 16:43:44 pjb: hehe thanks :P exactly what i was looking for.. 16:43:59 and man do i ever need to read over the R5RS and R6RS standards 16:56:20 hmm..does inexact->exact limit the size of an integer? 16:57:23 rekahsoft: No. 16:57:27 rekahsoft: Scheme has bignums. 16:58:08 rudybot: (inexact->exact 1e300) 16:58:09 cky: your sandbox is ready 16:58:09 cky: ; Value: 1000000000000000052504760255204420248704468581108159154915854115511802457988908195786371375080447864043704443832883878176942523235360430575644792184786706982848387200926575803737830233794788090059368953234970799945081119038967640880074652742780142494579258788820056842838115669472196386865459400540160 17:00:14 rekahsoft: However, most implementations of inexact uses IEEE-754 double-precision, which does have a more limited range. 17:00:25 rudybot: (inexact->exact +inf.0) 17:00:25 ijp: your sandbox is ready 17:00:25 ijp: error: inexact->exact: no exact representation for +inf.0 17:00:46 good, that could've been ugly ;-) 17:00:46 -!- monqy [~chap@pool-71-102-217-117.snloca.dsl-w.verizon.net] has quit [Ping timeout: 246 seconds] 17:00:52 Hehehehehe. ;-) 17:01:19 alright well i am just playing with bigloo and used a function that i wrote for racket..did some minor modification and it seems to work.. 17:01:33 except when given large numbers 17:03:48 wierd things are happening like...(expt 10 2) => 100 but (expt 10 1000) => 0 ??? 17:04:22 it might be that in bigloo you need to explicitly enable bignums 17:04:29 or possibly it doesn't support them 17:05:15 -!- gravicappa [~gravicapp@ppp91-77-162-241.pppoe.mtu-net.ru] has quit [Ping timeout: 244 seconds] 17:05:24 alright well i think that will be the end of bigloo lol 17:05:32 maybe i will try chicken for a while 17:06:01 rekahsoft: In Chicken, you have to use the numbers egg to do anything useful with numbers. 17:06:04 been playing with kawa too..its nice..i worry about its speed though seeing as it runs on the jvm 17:06:11 rekahsoft: JVM == fast. 17:06:37 Well, it depends on whether Kawa compiles to bytecode. If so, it's fast. 17:06:40 cky: since when? i started with java years and years ago and it wasn't that spunky lol 17:06:43 If it just interprets, then not so much. 17:06:45 rekahsoft: Since Java 6. 17:06:50 kawa doesn't seem too bad.. 17:07:01 rekahsoft: Java 6 has seriously amped up in the performance front. 17:07:03 y 17:07:09 and yeah? good to know..maybe i'll give it another change.. 17:07:26 what do you think of racket? specifically its extansions to standard scheme 17:07:38 rekahsoft: You don't have to use the extensions if you don't want to. 17:07:51 rekahsoft: I usually stick to the standard stuff (meaning R5RS + SRFIs), but that's my preference. 17:08:16 rekahsoft: Racket is a really good, solid implementation. I have no reservations recommending it for general use. 17:08:37 rekahsoft: It's one of three Scheme implementations I regularly use (the other two being Guile and Chicken). 17:09:13 But, if you use Guile, make sure you're using Guile 2.0 or higher. (2.0.2 was just released a day ago.) 17:09:43 Guile 1.8 (or, heaven forbid, 1.6) is painful to use, if you've gotten used to Guile 2.0. 17:14:36 i have used guile..just installed chicken though..what are its main difference/benifits? 17:14:46 i know its a scheme->C compiler 17:15:44 rekahsoft: Chicken compiles to C. Guile compiles to bytecode. 17:16:02 In theory, that means that Guile (and Racket) can potentially have very, very fast execution, because of JIT compilation. 17:16:15 I know Racket has a JIT compiler. I'm not sure if Guile does. 17:18:39 jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has joined #scheme 17:19:08 honng 17:20:24 monqy [~chap@pool-71-102-215-70.snloca.dsl-w.verizon.net] has joined #scheme 17:31:36 -!- jonrafkind [~jon@jonr5.dsl.xmission.com] has quit [Ping timeout: 244 seconds] 17:38:29 heya jcowan 17:41:47 Hey ho. 17:42:09 -!- tcleval [~funnyguy@177.19.102.239] has quit [Ping timeout: 276 seconds] 17:42:19 So how is the Lisp2-ness of Elisp supported in Guile? 17:42:38 I was speculating about possible ways to do so yesterday. 17:42:45 tcleval [~funnyguy@177.19.102.239] has joined #scheme 17:48:32 tricus [~tricus@h69-130-142-158.cncrtn.dsl.dynamic.tds.net] has joined #scheme 17:48:32 -!- tricus [~tricus@h69-130-142-158.cncrtn.dsl.dynamic.tds.net] has left #scheme 17:48:37 blueadept [~blueadept@unaffiliated/blueadept] has joined #scheme 17:51:18 -!- tcleval [~funnyguy@177.19.102.239] has quit [Ping timeout: 250 seconds] 17:52:13 tcleval [~funnyguy@177.19.102.239] has joined #scheme 17:57:09 masm [~masm@bl16-149-135.dsl.telepac.pt] has joined #scheme 17:57:32 wingo: ping 18:00:14 -!- tcleval [~funnyguy@177.19.102.239] has quit [Quit: leaving] 18:00:17 dnolen [~davidnole@pool-68-161-137-73.ny325.east.verizon.net] has joined #scheme 18:00:41 -!- bugQ [~bug@c-71-195-207-34.hsd1.ut.comcast.net] has quit [Read error: Operation timed out] 18:00:42 hakkum [~hakkum@c-67-181-176-186.hsd1.ca.comcast.net] has joined #scheme 18:01:28 mjonsson [~mjonsson@38.109.95.205] has joined #scheme 18:02:01 gravicappa [~gravicapp@ppp91-77-160-11.pppoe.mtu-net.ru] has joined #scheme 18:04:43 jcowan: pong 18:04:54 see above 18:04:57 jcowan: lisp-2, hum 18:05:56 In particular, are the Elisp and Scheme value cells identified? 18:06:17 If so, (setq car (make-car)) would cabbage the Scheme definition of car. 18:07:27 no they are not identified. 18:07:45 function values are in a function value module. others are in a value module. 18:07:58 -!- choas [~lars@p578F682F.dip.t-dialin.net] has quit [Ping timeout: 246 seconds] 18:08:06 there has been talk of being able to extend storage locations to have two values 18:08:23 normally they would still have one, but they could be extended to 2. 18:08:37 i am not very familiar with that code though. 18:09:03 we have had some summer of code work on it, which i have not yet fully understood :) 18:09:33 but basically the world of variables bound in elisp is a subset of the world of variables bound in scheme. 18:11:01 Well, just looking at global variables for the moment, if I setq a variable in Elisp, does Scheme see that change in value? 18:12:25 Oh, I think I see what you are saying: there is a separate Scheme module for Elisp variable values, so Scheme can see it if it imports that particular variable, but not otherwise. 18:24:41 tab1ta [~tab1ta@host7-211-dynamic.51-79-r.retail.telecomitalia.it] has joined #scheme 18:24:47 hello 18:25:06 does anyone use drracket as an IDE for scheme? 18:25:16 or DrScheme? 18:25:21 bugQ [~bug@c-71-195-207-34.hsd1.ut.comcast.net] has joined #scheme 18:26:07 is it normal, using the gui.ss plugin, that it doesn't take keyboard input? 18:26:23 any keyboard input... 18:27:27 ? 18:29:25 any hint/idea/snarl? 18:31:00 Probably nobody who uses Racket is on right now. 18:31:34 :/ 18:31:35 I use racket, but I don't know gui.ss 18:32:26 tab1ta: if you paste a small example, I'm willing to run it and report back. 18:33:12 ok 18:34:29 http://paste.lisp.org/display/123111 18:35:41 homie` [~levgue@xdsl-78-35-156-21.netcologne.de] has joined #scheme 18:36:02 -!- homie` [~levgue@xdsl-78-35-156-21.netcologne.de] has quit [Remote host closed the connection] 18:36:21 there is no #lang there, so you need to tell me how you have drracket setup 18:36:40 ok it is intermediate student with lambdaù 18:36:45 -!- homie [~levgue@xdsl-84-44-153-154.netcologne.de] has quit [Ping timeout: 264 seconds] 18:36:45 lambda* 18:37:05 kuribas [~user@94-227-91-193.access.telenet.be] has joined #scheme 18:37:07 and you should add the gui teachpack 18:37:12 gui.ss 18:38:12 homie [~levgue@xdsl-78-35-156-21.netcologne.de] has joined #scheme 18:38:20 umm, draw-sold-disk is not defined 18:38:37 o sorry the draw.ss teachpack even 18:39:30 I can type in "Nome:" 18:39:49 you see whem you write something in the text spece and you give a keyboard "return" it doesn't take the input 18:40:14 it is Name in english 18:40:21 -!- X-Scale [email@2001:470:1f14:135b::2] has quit [Ping timeout: 264 seconds] 18:40:21 ok, yeah I see that same behaviour here. So what should happen>? 18:41:11 i was only wandering about it, if soemone knows why this difference, for exmple in C or other languages you don't have problem taking the keyboard input 18:41:19 X-Scale` [email@89.180.152.244] has joined #scheme 18:41:26 so why this behavior 18:41:43 scheme is strange, with numeric symbols even 18:42:09 it erases the first zero, even if you give it in as a symbol,,, 18:43:15 tab1ta: I guess check the documentation for the text field. Probably you can give a function to run on a RETURN key. 18:43:18 shouldn't you know how the package gui.ss was actually build to answer this question? 18:43:25 ok 18:43:31 i'll seen 18:43:36 see* 18:43:45 -!- DrDuck [~duck@adsl-98-81-125-232.hsv.bellsouth.net] has quit [Ping timeout: 260 seconds] 18:44:33 "If the user presses Enter, the type of event passed to the callback is 'text-field-enter, otherwise it is 'text-field..." 18:44:36 that's it 18:45:40 but you don't define a callback for NOME 18:47:03 nome is static 18:47:26 it is an other botton which takes the input of the text-field and 18:47:45 -!- gravicappa [~gravicapp@ppp91-77-160-11.pppoe.mtu-net.ru] has quit [Ping timeout: 255 seconds] 18:49:34 which draws it into the message below 18:54:24 MichaelRaskin [~MichaelRa@195.91.224.225] has joined #scheme 18:55:09 mije [~chatzilla@tal33-5-88-181-16-209.fbx.proxad.net] has joined #scheme 18:55:34 -!- X-Scale` is now known as X-Scale 18:55:39 hi 19:00:37 gravicappa [~gravicapp@ppp91-77-173-222.pppoe.mtu-net.ru] has joined #scheme 19:01:28 jcowan: yes, you caught my meaning, i think. 19:01:36 *wingo* a bit async it seems 19:02:25 tab1ta: yeah, I can't see how to bind a callback to the text field either, sorry. 19:02:42 jcowan_ [~John@cpe-74-68-112-189.nyc.res.rr.com] has joined #scheme 19:02:43 stis [~stis@1-1-1-39a.veo.vs.bostream.se] has joined #scheme 19:04:58 no in the manual there is a syntax but it's not for the make-text constructor,,, 19:06:22 -!- jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has quit [Ping timeout: 258 seconds] 19:12:07 all the docs recommend the "world.ss" teachpack instead. Do you have to use the gui and draw teachpacks? 19:15:44 DrDuck [~duck@adsl-98-81-125-232.hsv.bellsouth.net] has joined #scheme 19:28:40 -!- copumpkin [~pumpkin@unaffiliated/pumpkingod] has quit [Quit: Computer has gone to sleep.] 19:31:21 -!- gravicappa [~gravicapp@ppp91-77-173-222.pppoe.mtu-net.ru] has quit [Ping timeout: 264 seconds] 19:34:11 gravicappa [~gravicapp@ppp91-77-173-228.pppoe.mtu-net.ru] has joined #scheme 19:36:50 tab1ta: You can have numeric symbols, without losing any leading zeroes. 19:37:07 rudybot: (define foo '|00000xdeadbeef|) 19:37:08 cky: Done. 19:37:12 rudybot: foo 19:37:13 cky: ; Value: 00000xdeadbeef 19:37:26 rudybot: (define foo '|0000012345678|) 19:37:27 cky: Done. 19:37:29 rudybot: foo 19:37:29 cky: ; Value: |0000012345678| 19:37:33 *shrug* 19:37:36 rudybot, (define || 1) 19:37:37 DT``: your sandbox is ready 19:37:37 DT``: Done. 19:37:40 rudybot, || 19:37:41 DT``: ; Value: 1 19:37:46 Yep, that. :-) 19:37:48 Yay for empty symbols. 19:37:57 I love the empty symbol! 19:38:03 :-) 19:46:41 kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has joined #scheme 19:53:04 bombshelter13b [~bombshelt@76-10-149-209.dsl.teksavvy.com] has joined #scheme 19:53:09 There's a ballot item on whether to allow them. 19:53:12 -!- jcowan_ is now known as jcowan 19:58:38 if I had a vote, it would get it all. It's not different than "", '() or #(), imho. 20:04:45 tnks cky 20:05:45 tricus [~tricus@h69-130-142-158.cncrtn.dsl.dynamic.tds.net] has joined #scheme 20:08:45 -!- jewel [~jewel@196-209-224-145.dynamic.isadsl.co.za] has quit [Ping timeout: 255 seconds] 20:10:51 -!- tricus [~tricus@h69-130-142-158.cncrtn.dsl.dynamic.tds.net] has left #scheme 20:14:45 -!- kilimanjaro [~kilimanja@unaffiliated/kilimanjaro] has quit [Ping timeout: 260 seconds] 20:21:48 Bahman [~bahman@2.144.217.4] has joined #scheme 20:22:24 -!- Bahman [~bahman@2.144.217.4] has left #scheme 20:30:25 -!- mije [~chatzilla@tal33-5-88-181-16-209.fbx.proxad.net] has quit [Remote host closed the connection] 20:33:10 -!- eno [~eno@nslu2-linux/eno] has quit [Ping timeout: 252 seconds] 20:34:51 eno [~eno@nslu2-linux/eno] has joined #scheme 20:53:31 -!- stis [~stis@1-1-1-39a.veo.vs.bostream.se] has left #scheme 21:19:57 -!- bugQ [~bug@c-71-195-207-34.hsd1.ut.comcast.net] has quit [Ping timeout: 264 seconds] 21:25:28 bugQ [~bug@c-71-195-207-34.hsd1.ut.comcast.net] has joined #scheme 21:27:55 -!- pothos [~pothos@111-240-171-213.dynamic.hinet.net] has quit [Read error: Connection reset by peer] 21:28:10 -!- Migaaresno [~benny@s529c3e36.adsl.wanadoo.nl] has quit [Quit: Leaving.] 21:29:44 pothos_ [~pothos@111-240-169-24.dynamic.hinet.net] has joined #scheme 21:30:01 -!- pothos_ is now known as pothos 21:30:57 aidalgol [~user@114-134-7-23.rurallink.co.nz] has joined #scheme 21:36:30 -!- gravicappa [~gravicapp@ppp91-77-173-228.pppoe.mtu-net.ru] has quit [Ping timeout: 244 seconds] 21:40:54 jonrafkind [~jon@jonr5.dsl.xmission.com] has joined #scheme 21:45:58 gravicappa [~gravicapp@ppp91-77-173-228.pppoe.mtu-net.ru] has joined #scheme 21:52:09 -!- gravicappa [~gravicapp@ppp91-77-173-228.pppoe.mtu-net.ru] has quit [Remote host closed the connection] 21:54:33 -!- aidalgol [~user@114-134-7-23.rurallink.co.nz] has quit [Quit: Restarting Emacs...] 21:54:59 -!- jcowan [~John@cpe-74-68-112-189.nyc.res.rr.com] has quit [Quit: Leaving] 21:55:55 aidalgol [~user@114-134-7-23.rurallink.co.nz] has joined #scheme 22:07:05 choas [~lars@p578F682F.dip.t-dialin.net] has joined #scheme 22:13:08 -!- DrDuck [~duck@adsl-98-81-125-232.hsv.bellsouth.net] has quit [Ping timeout: 252 seconds] 22:13:41 -!- aidalgol [~user@114-134-7-23.rurallink.co.nz] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 22:20:41 -!- dnolen [~davidnole@pool-68-161-137-73.ny325.east.verizon.net] has quit [Quit: dnolen] 22:22:03 -!- Kajtek [~paniwladc@nat4-230.ghnet.pl] has quit [Quit: Leaving.] 22:22:23 -!- kuribas [~user@94-227-91-193.access.telenet.be] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 22:27:03 -!- wingo [~wingo@90.164.198.39] has quit [Ping timeout: 276 seconds] 22:28:49 -!- incubot [incubot@klutometis.wikitex.org] has quit [Remote host closed the connection] 22:29:26 incubot [incubot@klutometis.wikitex.org] has joined #scheme 22:35:13 -!- hakkum [~hakkum@c-67-181-176-186.hsd1.ca.comcast.net] has quit [Remote host closed the connection] 22:45:51 -!- tab1ta [~tab1ta@host7-211-dynamic.51-79-r.retail.telecomitalia.it] has quit [Ping timeout: 240 seconds] 22:57:45 -!- keenbug [~daniel@p4FE39191.dip.t-dialin.net] has quit [Ping timeout: 264 seconds] 23:04:33 -!- ijp [~user@host109-153-24-247.range109-153.btcentralplus.com] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 23:06:09 DrDuck [~duck@adsl-98-81-125-232.hsv.bellsouth.net] has joined #scheme 23:11:45 -!- choas [~lars@p578F682F.dip.t-dialin.net] has quit [Ping timeout: 240 seconds] 23:19:30 -!- masm [~masm@bl16-149-135.dsl.telepac.pt] has quit [Ping timeout: 276 seconds] 23:20:24 dnolen [~davidnole@184.152.69.75] has joined #scheme 23:21:15 copumpkin [~pumpkin@user-12hcrs5.cable.mindspring.com] has joined #scheme 23:21:15 -!- copumpkin [~pumpkin@user-12hcrs5.cable.mindspring.com] has quit [Changing host] 23:21:15 copumpkin [~pumpkin@unaffiliated/pumpkingod] has joined #scheme 23:32:31 Praetor [c913423c@gateway/web/freenode/ip.201.19.66.60] has joined #scheme 23:33:07 can anyone confirm that Gambit has defmacro? 23:43:23 -!- mjonsson [~mjonsson@38.109.95.205] has quit [Remote host closed the connection] 23:59:49 -!- dnolen [~davidnole@184.152.69.75] has quit [Quit: dnolen]