00:03:46 jrajav [~jrajav@66-188-176-243.dhcp.roch.mn.charter.com] has joined #scheme 00:04:21 -!- peterhil` [~peterhil@gatekeeper.brainalliance.com] has quit [Quit: Must not waste too much time here...] 00:04:51 jozefg [~quassel@c-75-73-195-18.hsd1.mn.comcast.net] has joined #scheme 00:10:58 -!- eli [~eli@racket/eli] has quit [Ping timeout: 245 seconds] 00:11:09 -!- danking [~danking@zerowing.ccs.neu.edu] has quit [Ping timeout: 276 seconds] 00:11:16 danking [~danking@zerowing.ccs.neu.edu] has joined #scheme 00:11:23 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 252 seconds] 00:11:26 -!- samth [~samth@racket/samth] has quit [Ping timeout: 272 seconds] 00:11:46 samth [~samth@racket/samth] has joined #scheme 00:29:54 -!- jozefg [~quassel@c-75-73-195-18.hsd1.mn.comcast.net] has quit [Remote host closed the connection] 00:35:12 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 00:41:20 -!- spobat [~spobat@p5DC76D66.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 00:44:46 kvda [~kvda@ppp121-44-56-186.lns20.syd6.internode.on.net] has joined #scheme 01:01:55 -!- jrajav [~jrajav@66-188-176-243.dhcp.roch.mn.charter.com] has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE] 01:18:24 -!- yeboot [~Quote@97.75.230.116] has quit [Ping timeout: 252 seconds] 01:24:16 -!- mmc [~michal@178-85-64-28.dynamic.upc.nl] has quit [Ping timeout: 272 seconds] 01:31:26 jrajav [~jrajav@66-188-176-243.dhcp.roch.mn.charter.com] has joined #scheme 01:32:13 carleastlund [~cce@c-98-223-186-213.hsd1.in.comcast.net] has joined #scheme 01:47:45 -!- ase [~se@ip56583baa.direct-adsl.nl] has quit [Remote host closed the connection] 01:53:02 dnolen [~user@cpe-74-64-61-245.nyc.res.rr.com] has joined #scheme 02:10:15 -!- Oejet [~Oejet@unaffiliated/oejet] has quit [Quit: Leaving.] 02:13:04 -!- peterhil [~peterhil@91-157-48-10.elisa-laajakaista.fi] has quit [Read error: Operation timed out] 02:15:40 peterhil [~peterhil@91-157-48-10.elisa-laajakaista.fi] has joined #scheme 02:26:11 Onionnion|Eee [~ryan@adsl-68-254-171-79.dsl.milwwi.ameritech.net] has joined #scheme 02:31:25 b4283 [~b4283@1-172-84-234.dynamic.hinet.net] has joined #scheme 02:34:31 -!- MrFahrenheit [~RageOfTho@cable-77-221-21-70.dynamic.telemach.ba] has quit [Ping timeout: 276 seconds] 02:35:10 -!- kvda [~kvda@ppp121-44-56-186.lns20.syd6.internode.on.net] has quit [Quit: x___x] 02:42:54 -!- vividrain [~user@adsl-98-65-183-201.dab.bellsouth.net] has quit [Ping timeout: 255 seconds] 02:46:30 -!- wbooze [~wbooze@xdsl-78-35-191-52.netcologne.de] has quit [Ping timeout: 276 seconds] 03:26:15 -!- offby1` is now known as offby1 03:26:16 -!- offby1 [~user@ec2-50-18-28-110.us-west-1.compute.amazonaws.com] has quit [Changing host] 03:26:16 offby1 [~user@pdpc/supporter/monthlybyte/offby1] has joined #scheme 03:37:39 -!- bananagram [~bot@c-98-198-236-112.hsd1.tx.comcast.net] has quit [Ping timeout: 248 seconds] 03:38:17 -!- acarrico [~acarrico@pppoe-68-142-36-178.gmavt.net] has quit [Read error: Operation timed out] 03:43:00 -!- kk` [~kk@unaffiliated/kk/x-5380134] has quit [Quit: WeeChat 0.3.9.2] 03:55:25 covi [~covi@wasp.dreamhost.com] has joined #scheme 03:55:39 What's the difference between (lambda x 1) and (lambda (x) 1)? 03:57:31 the first takes any number of arguments; the second takes exactly one argument. 03:57:40 rudybot: (define no-parens (lambda x )) 03:57:40 *offby1: your sandbox is ready 03:57:41 *offby1: error: #:1:18: lambda: bad syntax in: (lambda x) 03:57:42 rudybot: (define no-parens (lambda x 1)) 03:57:42 *offby1: Done. 03:57:48 rudybot: (define parens (lambda (x) 1)) 03:57:48 *offby1: Done. 03:57:57 rudybot: (no-parens 'hey 'you 'lookit 'me 'whee) 03:57:58 *offby1: ; Value: 1 03:58:01 rudybot: (parens 'hey 'you 'lookit 'me 'whee) 03:58:02 *offby1: error: procedure parens: expects 1 argument, given 5: 'hey 'you 'lookit 'me 'whee 03:58:06 rudybot: (parens 'hey) 03:58:07 *offby1: ; Value: 1 03:58:09 rudybot: (no-parens 'hey) 03:58:10 *offby1: ; Value: 1 03:58:18 covi: capice? 03:58:25 capisce? 03:58:38 offby1: very clear, thanks. haven't encountered the former 03:58:56 it's certainly less common. 03:59:06 You sometimes also see (lambda (a b c . rest) ...) 03:59:17 which means it takes three or more arguments 03:59:28 offby1: so for the former, no arguments are ever bound to 'x' right? 03:59:38 wrong 03:59:56 rudybot: (define no-parens (lambda x (format "here's x: ~a" x))) 03:59:57 *offby1: Here's a tougher one 04:00:00 heh 04:00:03 rudybot: eval (define no-parens (lambda x (format "here's x: ~a" x))) 04:00:04 *offby1: Done. 04:00:10 rudybot: (no-parens 'hey 'you 'lookit 'me 'whee) 04:00:10 *offby1: ; Value: "here's x: (hey you lookit me whee)" 04:00:26 _all_ the arguments are collected into a list, and bound to x 04:00:36 yacks [~yacks@180.151.36.170] has joined #scheme 04:01:05 like what happens to the vararg in the dotted pair notation? 04:04:36 Try It And See. 04:17:53 covi: Cheapest way to implement `list' is (define list (lambda x x)). :P 04:21:35 jeapostrophe [~jay@69.169.141.110.provo.static.broadweavenetworks.net] has joined #scheme 04:21:35 -!- jeapostrophe [~jay@69.169.141.110.provo.static.broadweavenetworks.net] has quit [Changing host] 04:21:35 jeapostrophe [~jay@racket/jeapostrophe] has joined #scheme 04:22:03 And yeah, (define ...) is equivalent to (define (lambda ...)). 04:22:44 Tau [~Euler@186-194-45-253.i-next.psi.br] has joined #scheme 04:26:26 -!- jeapostrophe [~jay@racket/jeapostrophe] has quit [Ping timeout: 255 seconds] 04:30:07 noctuorare [~noctuorar@60.168.159.186] has joined #scheme 04:51:31 gravicappa [~gravicapp@h178-129-87-153.dyn.bashtel.ru] has joined #scheme 05:00:59 -!- carleastlund [~cce@c-98-223-186-213.hsd1.in.comcast.net] has quit [Quit: carleastlund] 05:02:53 amoe [~amoe@host-92-26-171-239.as13285.net] has joined #scheme 05:05:55 -!- bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has quit [Remote host closed the connection] 05:05:58 -!- amoe_ [~amoe@host-92-26-170-21.as13285.net] has quit [Ping timeout: 276 seconds] 05:09:10 bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has joined #scheme 05:14:27 carleastlund [~cce@c-98-223-186-213.hsd1.in.comcast.net] has joined #scheme 05:17:07 -!- carleastlund [~cce@c-98-223-186-213.hsd1.in.comcast.net] has quit [Client Quit] 05:27:03 Fare [~fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has joined #scheme 05:28:35 -!- jao [~user@pdpc/supporter/professional/jao] has quit [Ping timeout: 248 seconds] 05:32:01 mgodshall [~mgodshall@c-68-81-141-21.hsd1.pa.comcast.net] has joined #scheme 05:39:38 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 05:55:51 -!- jrapdx [~jra@c-76-115-235-187.hsd1.wa.comcast.net] has quit [Remote host closed the connection] 05:56:41 -!- noctuorare [~noctuorar@60.168.159.186] has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/] 05:56:43 -!- cataska [~user@210.64.6.233] has quit [Read error: Connection reset by peer] 05:57:21 cataska [~user@210.64.6.233] has joined #scheme 06:02:18 -!- Fare [~fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has quit [Ping timeout: 272 seconds] 06:10:45 William [~William@108-85-16-151.lightspeed.gnvlsc.sbcglobal.net] has joined #scheme 06:10:50 -!- William is now known as tertl3 06:22:57 -!- Tau [~Euler@186-194-45-253.i-next.psi.br] has quit [Quit: Tau] 06:27:50 toekutr [~user@50-0-51-11.dsl.static.sonic.net] has joined #scheme 06:42:30 amoe_ [~amoe@host-92-26-163-3.as13285.net] has joined #scheme 06:45:49 -!- amoe [~amoe@host-92-26-171-239.as13285.net] has quit [Ping timeout: 265 seconds] 06:47:40 -!- Onionnion|Eee [~ryan@adsl-68-254-171-79.dsl.milwwi.ameritech.net] has quit [Quit: Leaving] 06:57:02 -!- gravicappa [~gravicapp@h178-129-87-153.dyn.bashtel.ru] has quit [Ping timeout: 255 seconds] 07:37:49 -!- dnolen [~user@cpe-74-64-61-245.nyc.res.rr.com] has quit [Remote host closed the connection] 07:38:47 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Ping timeout: 255 seconds] 07:48:04 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 272 seconds] 07:48:42 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 08:09:08 -!- Giomancer [~Gio@adsl-76-231-35-17.dsl.irvnca.sbcglobal.net] has quit [Quit: A day without sunshine is like .... night] 08:22:53 -!- Nisstyre-laptop [~yours@oftn/member/Nisstyre] has quit [Ping timeout: 255 seconds] 08:25:56 -!- peterhil [~peterhil@91-157-48-10.elisa-laajakaista.fi] has quit [Ping timeout: 248 seconds] 08:57:53 -!- toekutr [~user@50-0-51-11.dsl.static.sonic.net] has quit [Remote host closed the connection] 09:30:44 gravicappa [~gravicapp@h178-129-88-175.dyn.bashtel.ru] has joined #scheme 09:43:29 mmc [~michal@178-85-64-28.dynamic.upc.nl] has joined #scheme 10:04:09 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Ping timeout: 252 seconds] 10:04:45 copumpkin [~copumpkin@unaffiliated/copumpkin] has joined #scheme 10:06:44 -!- tertl3 [~William@108-85-16-151.lightspeed.gnvlsc.sbcglobal.net] has quit [Ping timeout: 246 seconds] 10:22:28 peterhil [~peterhil@91-157-48-10.elisa-laajakaista.fi] has joined #scheme 10:29:03 taylanub: could you expand your "..."s? 10:32:57 Inode [~inode@time.uk.chromedpork.net] has joined #scheme 10:38:36 -!- mmc [~michal@178-85-64-28.dynamic.upc.nl] has quit [Ping timeout: 256 seconds] 10:44:28 -!- robot-beethoven [~user@c-24-118-142-0.hsd1.mn.comcast.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 10:58:36 kvda [~kvda@ppp121-44-56-186.lns20.syd6.internode.on.net] has joined #scheme 11:07:05 jozefg [~quassel@75.73.195.18] has joined #scheme 11:07:46 snowylike [~sn@91-67-171-156-dynip.superkabel.de] has joined #scheme 11:08:46 Is there anyone here who could evaluate this call/cc explanation? 11:09:39 just post it, maybe someone will do that 11:10:09 Alright thank you 11:10:54 -!- gravicappa [~gravicapp@h178-129-88-175.dyn.bashtel.ru] has quit [Ping timeout: 264 seconds] 11:12:14 http://www.dannygratzer.com/2013/01/call-cc-in-scheme-and-haskell.html 11:16:02 what exactly is the problem? 11:16:54 I was just looking for someone to let me know if any parts are unclear or confusing, it's hard to evaluate my own writing 11:18:18 Nothing confusing, but misleading 11:18:28 your title says you'd show examples in haskell 11:18:31 but there are none? 11:18:40 I'm writing the haskell portion currently 11:18:57 They'll be a link to it once I finish 11:19:02 k 11:19:40 Do you ever use Haskell? 11:22:07 jozefg: "parallel computations" is a bit misleading 11:22:57 also, you should probably consistently spell call-cc as call/cc 11:24:13 (brb) 11:24:46 DerGuteMoritz: Does "Possible computations" make more sense? 11:24:59 hmmm 11:25:33 maybe just say coroutines :-) 11:28:03 ok brb now! 11:28:57 Pausible sorry, too early to be typing here 11:53:48 -!- adiii [~adityavit@c-76-117-52-187.hsd1.nj.comcast.net] has quit [Ping timeout: 272 seconds] 11:54:00 jewel [~jewel@105-236-210-214.access.mtnbusiness.co.za] has joined #scheme 12:13:57 spobat [~spobat@p5DC76D66.dip.t-dialin.net] has joined #scheme 12:14:05 -!- yacks [~yacks@180.151.36.170] has quit [Ping timeout: 252 seconds] 12:16:51 Oejet [~Oejet@unaffiliated/oejet] has joined #scheme 12:29:04 Belaf [~campedel@net-2-40-0-196.cust.dsl.teletu.it] has joined #scheme 12:35:55 yacks [~yacks@180.151.36.170] has joined #scheme 12:36:55 shrey [~shreyas@117.221.29.132] has joined #scheme 12:39:32 mmc [~michal@178-85-64-28.dynamic.upc.nl] has joined #scheme 12:40:02 -!- jozefg [~quassel@75.73.195.18] has quit [Ping timeout: 272 seconds] 12:44:17 -!- yacks [~yacks@180.151.36.170] has quit [Quit: Leaving] 12:44:59 yacks [~yacks@180.151.36.170] has joined #scheme 12:48:50 -!- jewel [~jewel@105-236-210-214.access.mtnbusiness.co.za] has quit [Quit: Leaving] 12:55:09 Learning lisp. Stuck at a basic problem. Would appreciate a little help - http://codepad.org/MsWAIIgL 12:58:44 Tau [~Euler@186-194-45-253.i-next.psi.br] has joined #scheme 13:01:00 -!- arbscht [~arbscht@fsf/member/arbscht] has quit [Quit: WeeChat 0.3.8] 13:04:11 shrey: what are you stuck on? I'm guessing that you are having problems with `define`, which is not like `=` or `:=` in other languages. 13:04:29 shrey: since you didn't ask a question, we didn't answer. 13:05:09 could someone provide me an explanation on (2 . 3)? 13:05:28 It is read as a cons cell with 2 in the car slot and 3 in the cdr slot. 13:05:34 It's a "pair". 13:05:49 pjb: Sorry about that. It was a little hard for me to frame the question. So, I'm trying to assign the value to the result of a 'cond'. Is that possible with define ? 13:06:05 No, it is not. 13:06:40 There's no notion of places in scheme (unlike in Common Lisp), so you cannot do (set! (cond (c1 v1) (c2 v2) (else v3)) 42). 13:07:12 You have to write: (cond (c1 (set! v1 42)) (c2 (set! v2 42)) (else (set! v3 42))) 13:07:17 pjb samething with append? 13:07:32 pjb oh. nevermind. 13:07:33 Tau: why not reading a tutorial? 13:07:42 pjb i'm. 13:07:43 Tau: what's the problem? 13:07:58 pjb i was going to ask why it is not like clisp. 13:08:02 about shrey question. 13:08:04 Tau: this is very basic. There are cons cells, with two slots (car . cdr). 13:08:26 We use those cons cells to build linked lists, by putting an element in the car, and the rest of the list in the cdr. 13:08:28 shrey: more generally though, I don't think you either need or want to use set! here. 13:08:34 (1 . (2 . ()) 13:08:35 (or mutation in general) 13:08:38 pjb sure. i was interested in the way of how its implemented in scheme. 13:08:46 There's this special value noted () which represents the empty list. 13:09:08 Tau: Lisp in Small Pieces http://pagesperso-systeme.lip6.fr/Christian.Queinnec/WWW/LiSP.html http://pagesperso-systeme.lip6.fr/Christian.Queinnec/Books/LiSP-2ndEdition-2006Dec11.tgz 13:09:09 http://tinyurl.com/ytswyk 13:09:21 This book explaines how to implement a scheme. 13:09:28 great. 13:09:39 arbscht [~arbscht@fsf/member/arbscht] has joined #scheme 13:09:51 But basically: (defstruct cons car cdr) 13:10:21 Thank you pjb. At least got rid of the syntax problem Will dig in. 13:10:21 But basically: (defstruct (cons (:constructor cons (car cdr)) (:conc-name nil)) car cdr) 13:10:29 shrey: ok. 13:10:40 Tau: assuming you're implementing a cons in Common Lisp :-) 13:11:04 Tau: of course if you implemented it in C, it would rather be something like: typedef struct { object* car; object* cdr; } cons; 13:11:04 pjb i'm not. but i was interested in the philosophical implications of having 'cons' defined as it is. 13:11:18 although i plan to implement lisp in c ahead. 13:11:47 Tau: at the beginning of the web there was a very interesting site explaining the philosophical implication of the existance. 13:11:52 I mean it's directly related. 13:12:04 asumu: Since I have to set the value of least (in my example) to the least value after comparison, I was trying to assign the return value of the condition. 13:12:31 Starting from void, we infer that something must exist, the 1. And From the 1, we deduce that there must be a binarity. Hence the cons. And everything's built from there. 13:13:03 pjb sure. 13:13:23 (define (lowest x y z) (if (< x y) (if (< z x) z x) (if (< z y) z y))) 13:14:04 Tau: but reading AIM-8 could help. http://www.informatimago.com/develop/lisp/com/informatimago/small-cl-pgms/aim-8/aim-8.html 13:14:04 pjb but why does cons return a '(1 2 3) when i do (cons 1 '(2 3)) and it returns (1 . 2) when i do (cons 1 2)? shouldn't there exist other procedure to build data structure like (1 . 2)? 13:14:05 http://tinyurl.com/bgrktwc 13:14:15 Tau: cons returns a cons! 13:14:35 try: (cons? (cons 1 '(2 3))) (car (cons 1 '(2 3))) (cdr (cons 1 '(2 3))) 13:14:44 -!- spobat [~spobat@p5DC76D66.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 13:15:17 Tau: now, since we use cons cells to build lists, and since lisp is a list processing language, it's natural that a function such as print (or display) prints chains of conses as lists. 13:15:46 It is actually print that skips the dots and parentheses around the rest. 13:15:53 But the cons cells are there. 13:15:58 spobat [~spobat@p5DC76D66.dip.t-dialin.net] has joined #scheme 13:16:44 pjb sure. 13:16:44 (define (list . args) (if (null args) '() (cons (car args) (apply list (cdr args))))) 13:17:14 masm [~archie@bl17-205-250.dsl.telepac.pt] has joined #scheme 13:17:27 i get it. 13:17:34 So you see that (list 1 2 3) is actually the same as (cons 1 (list 2 3)) which is the same as (cons 1 (cons 2 '())) 13:17:53 (cons 1 (cons 2 (cons 3 '()))) 13:18:18 pjb when i try (cons? '(1 2)) it gives me an error. 13:18:22 i'm using mit-scheme. 13:18:58 apparently there is no such a procedure/function named cons? 13:19:07 in the env. 13:19:40 pjb but yeah. i get the idea. 13:20:14 -!- kvda [~kvda@ppp121-44-56-186.lns20.syd6.internode.on.net] has quit [Quit: x___x] 13:21:14 (i'm very new to scheme. i'm in the beginning of the boook yet, so, excuse me all possible idiot commentaries :). 13:21:47 -!- spobat [~spobat@p5DC76D66.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 13:23:02 spobat [~spobat@p5DC76D66.dip.t-dialin.net] has joined #scheme 13:30:14 pjb have you implemented some scheme interpreter/compiler? 13:30:46 carleastlund [~cce@c-98-223-186-213.hsd1.in.comcast.net] has joined #scheme 13:33:55 pair? 13:33:56 zolk3ri [~Zol1ka@unaffiliated/zolk3ri] has joined #scheme 13:33:58 hammond [~abner@unaffiliated/portrait] has joined #scheme 13:33:58 hi 13:33:59 Tau: you where looking for (pair? '(1 2)) 13:34:04 :D bet me LeoNerd 13:34:11 hi 13:34:16 yeah where are you looking for (pair? '(1 2)) 13:34:25 I'm trying to learn scheme 13:34:28 r5? 13:34:30 any good books? 13:34:32 loool 13:34:38 I'm trying to learn common lisp any good books? 13:34:39 hi 13:34:40 rudybot: (pair? '(1 2)) 13:34:41 LeoNerd: your sandbox is ready 13:34:41 LeoNerd: ; Value: #t 13:34:49 I'm currently playing LOL 13:34:50 This is #scheme, not #cl 13:35:09 ohh come on don't be so strict it's not perl, you don't have to use strict. 13:35:33 hi 13:35:44 hammond: he already told you 13:35:49 does anyone know of a great scheme book? 13:35:52 uhm. 13:35:54 pyro- i see. 13:36:00 pyro- so it is named pain? not cons? right? 13:36:02 good. 13:36:19 LeoNerd is rudybot your bot? 13:36:47 Nope. Not sure whose it is. It's the channel's repl bot 13:37:02 hi 13:37:08 does anyone know? 13:37:13 LeoNerd cool. 13:37:14 pyro? 13:37:19 hammond pjb might now. 13:37:27 know* 13:37:27 pjb-v;? 13:37:34 pjb 13:38:19 pjb hi, do you know of a book that is agreeable in learning me the language which is called scheme? 13:39:06 pjb does scheme come with books? cookbooks etc. I'm trying to make an amazon list here. 13:39:15 How to Design Programs -- An Introduction to Computing and Programming http://www.htdp.org/2003-09-26/Book/ 13:39:34 a lot of books and other resources at http://www.schemers.org/ 13:39:45 oh ok thanks. 13:39:49 It's in the /topic 13:40:03 gravicappa [~gravicapp@h94-75-34-47.dyn.bashtel.ru] has joined #scheme 13:40:18 oh yes, I see it more clearer now, or more schemer. 13:40:34 Tau: I've implemented bits CL or scheme interpreters or compilers. Eventually I may have a whole implementation, I hope. 13:40:51 pjb I'm still confused about these two languages. Lisp and Scheme 13:41:01 Tau: right, in scheme it's not called cons? it's called pair? 13:41:07 I mean common lisp, do you have any insights? 13:41:26 pjb sure. 13:41:29 I heard common lisp is slightly better. well in execution. 13:41:32 Tau: they thought it was more pedagogical to call cons cells returned by the function cons "pairs". 13:41:37 pjb, in Scheme the predicate is called pair?, yes. Although some Schemes do define cons? as well. 13:41:42 slightly better than scheme* 13:42:00 hammond: I prefer CL, but it is good to know both CL, emacs lisp and scheme. 13:42:12 pjb can't scheme be faced as a commercial language in some aspects? 13:42:20 is it strictly pedagofical? 13:42:21 It let you do things like: http://www.informatimago.com/develop/lisp/com/informatimago/small-cl-pgms/intersection-r5rs-common-lisp-emacs-lisp/ 13:42:22 http://tinyurl.com/b83v39z 13:42:23 hammond, there are some very good compilers for both Common Lisp and Scheme, if you're talking performance. I know Chez Scheme's commercial compiler is quite excellent. 13:42:43 Tau: oh sure, it can be and is used productively too. 13:43:16 Pascal was designed as a pedagogical programming language too. That didn't prevent Apple to write the MacOS ToolBox in Pascal! 13:43:23 oh well that does sound interesting, so you can testify that scheme is near useless pjb? seeing as how Scheme is not your favorite environment, pjb. 13:43:33 carleastlund: I see. 13:43:50 I still dont understand why I should learn them all. 13:43:55 pjb do you hang on #c? 13:44:00 hammond: you should abandon computing and go to journalism. You clearly have great disposition to be in the news business 13:44:06 Tau: nope. 13:44:08 this isnt like pokemon right pjb, like you have to catch them all. 13:44:08 hammond, what you "should" learn is up to you, it depends on what you want to know. 13:44:19 pjb wtf did you say? 13:45:02 You're distorting what I'm saying. 13:45:32 -!- jrajav [~jrajav@66-188-176-243.dhcp.roch.mn.charter.com] has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE] 13:45:52 I won't testify that scheme is near useless. 13:46:14 hammond: you could them all to have fun? 13:46:29 emacs lisp to customize emacs, Common Lisp and Scheme to write programs. 13:46:32 Are you saying I should leave this magnificent trade and go do something as useless as journalism, or philosophy? are you calling me dumb pjb? like I'm incapable of doing maths? because as far as I know only the people who are scared of maths go to become a prominent journalist or a scholarly philosopher. 13:46:51 *carleastlund* tiptoes out of the channel 13:46:58 i wonder why the heck ppl didnt use scheme or common lisp to customize emacs. 13:47:12 Just because I didnt understand one concept, 13:47:24 what kind of support are you people offering here. 13:47:37 you are one stingy fellow pjb. 13:48:06 degrading people who are unknowledgable in something, we are all at one stage! 13:48:22 I feel mad now! I want to read something! 13:49:21 *hammond* is used to read things when he has been impaled by injustice in society. 13:49:37 hammond: Well, I've watched Yes, Prime Minister 2x02 Official Secrets yesterday evening 13:50:04 How can you think that I would testify that scheme is near useless from what I wrote here? 13:50:12 pjb you said you implemented a scheme. 13:50:17 pjb can i take a look at it? 13:50:38 Dmitry [d4dc614b@gateway/web/freenode/ip.212.220.97.75] has joined #scheme 13:50:42 hi 13:50:44 stingy folk cant program. 13:50:49 (define (transpose mat) (apply map list mat)) 13:50:55 Tau: for the good reason that works on GNU emacs were started before scheme was a serrious language (r5rs came much later), and before CL was standardized (which occured at the late date of 1994). 13:50:57 how work apply? 13:51:02 -!- Dmitry is now known as Guest45906 13:51:35 r5rs apply 13:52:03 pjb isn't there a way to change it? 13:52:09 (apply map list '((1 2 3) (4 5 6))) is like (map list '(1 2 3) '(4 5 6)) 13:52:10 also that transpose is probably missing some parenthesis 13:52:29 like some emacs listp to scheme tool? like it happens with py2topy3? 13:52:30 Tau: there are emacsen written in CL. The most usable nowadays is Hemlock. 13:52:40 Tau: it's available in Clozure CL, and separately in quicklisp. 13:52:47 pjb hemlock is written in what? 13:52:52 CL 13:52:57 common lisp 13:53:04 pjb is there something like an editor written in scheme? 13:53:11 A lot of them. 13:53:12 edwin 13:53:15 and pjb, dear sir, what kinds of programatic designs have you made in scheme? 13:53:23 Again use google or http://www.schemers.org/ 13:53:44 Also, the guile folks work on having guile be able to interpret elisp... which would then open the door for scheme too. 13:53:51 Well I've written mostly small programs in scheme. When I started to write real code, I switched to CL. 13:53:54 jrajav [~jrajav@66-188-176-243.dhcp.roch.mn.charter.com] has joined #scheme 13:54:07 lool 13:54:25 wtf 13:54:27 pjb are you making AI stuff? 13:54:47 The problem was I was learning the language, and each time I tried to touch it it happened to be on a different computer with a different scheme implementation, and everything was different. When I happened on Common Lisp, the next time the different implementation implemented the same Common Lisp language, so I could make progress faster. 13:54:52 pjb you make scheme look like shit when you say something like that. 13:55:00 i myself got a bit uninterested about scheme. 13:55:03 hammond: as much as I can sell it. 13:55:06 im thinking now to switch to cl. 13:55:40 Well, I guess the same could be said about perl, php, python or ruby. 13:55:49 i see. 13:55:53 jesus christ, why are there so many lisp things out there 13:55:55 I mean, You have to have 3 of 4 versions of python installed on your system to run your programs. 13:56:13 pjb yeah. in that sense. 13:56:17 its equivalent i guess. 13:56:22 Yesterday, I spent half an hour trying to understand why I couldn't load mercurial from python repl when hg obviously worked nicely. 13:56:46 Well, sure, different pythons, different installation directories, etc. 13:58:24 This list of scheme books seem expensive. 13:59:35 this exceeds the size of my dowry 14:00:04 And I dont like to buy 2nd hand books, full of snot and god knows what other liquids. 14:00:17 I cant learn scheme like this. 14:00:32 some of them are available online 14:00:47 HtDP, SCIP and others 14:01:06 ok 14:02:40 -!- jrajav [~jrajav@66-188-176-243.dhcp.roch.mn.charter.com] has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE] 14:03:07 jrajav [~jrajav@66-188-176-243.dhcp.roch.mn.charter.com] has joined #scheme 14:03:19 -!- gravicappa [~gravicapp@h94-75-34-47.dyn.bashtel.ru] has quit [Ping timeout: 246 seconds] 14:03:49 -!- Guest45906 [d4dc614b@gateway/web/freenode/ip.212.220.97.75] has quit [Quit: Page closed] 14:04:22 hammond: at least, with newspapers, you tend to get a pristine new one every morning, no body fluid risk at all. 14:06:02 jozefg [~quassel@2607:ea00:104:1000:e1fe:6a34:db34:a84] has joined #scheme 14:06:07 -!- jozefg [~quassel@2607:ea00:104:1000:e1fe:6a34:db34:a84] has quit [Remote host closed the connection] 14:06:14 jozefg [~quassel@2607:ea00:104:1000:e1fe:6a34:db34:a84] has joined #scheme 14:06:37 i don't understand why people see the multitude of "lisps" as a problem 14:06:38 you wish your fellow human being a great ill I can see this. journalism. 14:07:06 -!- amoe_ [~amoe@host-92-26-163-3.as13285.net] has quit [Quit: leaving] 14:07:22 "hi I'm a journalism of such and such, I dont know math, but I sure know how to make questions." 14:07:22 amoe [~amoe@host-92-26-163-3.as13285.net] has joined #scheme 14:08:45 now you're just depreciating journalism 14:10:20 youlysse` [~user@75-132-17-145.dhcp.stls.mo.charter.com] has joined #scheme 14:10:59 snowylike: they aren't good at remembering peoples names and can't do math. same with like philosophers. 14:11:28 you're lumping bad journalists together with good ones 14:11:39 Which good one? 14:12:26 I'm not exactly following the current journalistic trends - but have you looked, for example, at newspapers around 1960-1970? 14:12:51 what i'm trying to say is 14:13:16 spobat_ [~spobat@p5DC76D66.dip.t-dialin.net] has joined #scheme 14:13:18 that a generalization like that isn't necessarily true 14:14:17 lib__ [~spobat@p5DC76D66.dip.t-dialin.net] has joined #scheme 14:14:22 MrFahrenheit [~RageOfTho@cable-77-221-21-70.dynamic.telemach.ba] has joined #scheme 14:14:43 -!- lib__ [~spobat@p5DC76D66.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 14:15:01 -!- jozefg [~quassel@2607:ea00:104:1000:e1fe:6a34:db34:a84] has quit [Ping timeout: 245 seconds] 14:16:13 lib__ [~spobat@p5DC76D66.dip.t-dialin.net] has joined #scheme 14:17:12 -!- lib__ [~spobat@p5DC76D66.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 14:17:29 -!- spobat [~spobat@p5DC76D66.dip.t-dialin.net] has quit [Ping timeout: 255 seconds] 14:18:13 -!- spobat_ [~spobat@p5DC76D66.dip.t-dialin.net] has quit [Ping timeout: 265 seconds] 14:19:39 snowylike: so you mean good journalists are dead journalists? 14:20:20 maybe there are no good journalists now, but that is not an intrinsic feature of journalism 14:20:57 snowylike: it is, when you can travel to the countries to see by yourself, or when you have internet to fetch the original documents yourself. 14:21:17 cf. Tartarin de Tarascon 14:21:54 journalism is more than just saying what happened, good journalistic works include thoughtful analyses, contexts and such 14:22:10 Who as the time and money for that? 14:22:15 has 14:22:51 *pjb* will bbl 14:23:00 that may be the problem, but that is hardly one that only journalistic work faces 14:29:29 gravicappa [~gravicapp@h94-75-34-47.dyn.bashtel.ru] has joined #scheme 14:30:45 Fare [~fare@173.9.65.97] has joined #scheme 14:33:17 -!- zolk3ri [~Zol1ka@unaffiliated/zolk3ri] has left #scheme 14:40:27 -!- youlysse` [~user@75-132-17-145.dhcp.stls.mo.charter.com] has quit [Remote host closed the connection] 14:42:32 -!- ski [~ski@c80-216-142-165.bredband.comhem.se] has quit [Ping timeout: 246 seconds] 14:44:37 ski [~ski@c80-216-142-165.bredband.comhem.se] has joined #scheme 14:49:02 civodul [~user@reverse-83.fdn.fr] has joined #scheme 14:51:33 noam_ [~noam@213.57.201.130] has joined #scheme 14:52:01 -!- noam_ [~noam@213.57.201.130] has quit [Read error: Connection reset by peer] 14:54:42 spobat [~spobat@p5DC76D66.dip.t-dialin.net] has joined #scheme 15:24:03 jozefg [~quassel@2607:ea00:104:2400:e1fe:6a34:db34:a84] has joined #scheme 15:28:18 wbooze [~wbooze@xdsl-78-35-153-217.netcologne.de] has joined #scheme 15:36:45 pessoa [~pessoa@188-195-211-39-dynip.superkabel.de] has joined #scheme 15:49:00 -!- shrey [~shreyas@117.221.29.132] has quit [Quit: Leaving.] 15:57:00 -!- snowylike [~sn@91-67-171-156-dynip.superkabel.de] has quit [Quit: Nettalk6 - www.ntalk.de] 16:05:24 -!- jrajav [~jrajav@66-188-176-243.dhcp.roch.mn.charter.com] has quit [Quit: I tend to be neutral about apples] 16:05:26 -!- jozefg [~quassel@2607:ea00:104:2400:e1fe:6a34:db34:a84] has quit [Ping timeout: 245 seconds] 16:11:20 acarrico [~acarrico@pppoe-68-142-36-178.gmavt.net] has joined #scheme 16:21:24 Onionnion|Eee [~ryan@68.254.171.79] has joined #scheme 16:27:55 -!- Onionnion|Eee [~ryan@68.254.171.79] has quit [Quit: Leaving] 16:27:59 which one of you use mit-scheme? 16:30:12 jaaso` [~user@178.239.26.130] has joined #scheme 16:30:36 adiii [~adityavit@c-76-117-52-187.hsd1.nj.comcast.net] has joined #scheme 16:37:59 hiroakip [~hiroaki@tmo-111-58.customers.d1-online.com] has joined #scheme 16:47:51 -!- hiroakip [~hiroaki@tmo-111-58.customers.d1-online.com] has quit [Quit: Ex-Chat] 16:52:12 add^_ [~add^_@m212-152-11-221.cust.tele2.se] has joined #scheme 16:55:15 don't all speak up at once 17:05:40 -!- jaaso` [~user@178.239.26.130] has quit [Ping timeout: 246 seconds] 17:16:19 -!- Tau [~Euler@186-194-45-253.i-next.psi.br] has quit [Remote host closed the connection] 17:16:30 shrey [~shreyas@117.221.29.132] has joined #scheme 17:27:14 -!- shrey [~shreyas@117.221.29.132] has left #scheme 17:33:30 -!- dsosby [~david@208-93-73-100.rdns.rim.net] has left #scheme 17:45:45 jozefg [~quassel@ip-64-134-32-58.public.wayport.net] has joined #scheme 17:45:56 jaaso` [~user@178.239.26.130] has joined #scheme 17:50:42 -!- b4283 [~b4283@1-172-84-234.dynamic.hinet.net] has quit [Remote host closed the connection] 17:55:17 I, sometimes. 17:55:18 :p 18:07:15 honkfestival [~honkfesti@198-84-183-94.cpe.teksavvy.com] has joined #scheme 18:12:21 snowylike [~sn@91-67-171-156-dynip.superkabel.de] has joined #scheme 18:17:46 -!- gravicappa [~gravicapp@h94-75-34-47.dyn.bashtel.ru] has quit [Remote host closed the connection] 18:18:55 -!- em [~em@unaffiliated/emma] has quit [Ping timeout: 265 seconds] 18:20:20 em [~em@unaffiliated/emma] has joined #scheme 18:27:44 -!- copumpkin [~copumpkin@unaffiliated/copumpkin] has quit [Quit: Computer has gone to sleep.] 18:34:54 -!- spobat [~spobat@p5DC76D66.dip.t-dialin.net] has quit [Read error: Connection reset by peer] 18:36:38 spobat [~spobat@p5DC76D66.dip.t-dialin.net] has joined #scheme 18:41:20 wingo [~wingo@cha74-2-88-160-190-192.fbx.proxad.net] has joined #scheme 18:56:49 pjb: Excuse me ? 18:56:58 Oh 18:58:49 I claimed (define ...) = (define (lambda ...)) 19:00:29 I guess the ellipsis would each be a as defined in the formal language ? 19:01:05 Or is there an option that makes my claim false ? 19:01:30 -!- jozefg [~quassel@ip-64-134-32-58.public.wayport.net] has quit [Ping timeout: 276 seconds] 19:04:10 (My usage of and were informal I guess; from what I see the standards don't even mention s-expression syntax and that Scheme code is written in them.) 19:06:08 dnolen [~user@cpe-74-64-61-245.nyc.res.rr.com] has joined #scheme 19:09:13 -!- pessoa [~pessoa@188-195-211-39-dynip.superkabel.de] has quit [Remote host closed the connection] 19:15:58 -!- spobat [~spobat@p5DC76D66.dip.t-dialin.net] has quit [Quit: Leaving] 19:23:15 -!- carleastlund [~cce@c-98-223-186-213.hsd1.in.comcast.net] has quit [Quit: carleastlund] 19:25:28 Nisstyre-laptop [~yours@oftn/member/Nisstyre] has joined #scheme 19:33:52 Onionnion|Eee [~ryan@adsl-68-254-171-79.dsl.milwwi.ameritech.net] has joined #scheme 19:37:56 -!- youlysses-ao [~user@75-132-17-145.dhcp.stls.mo.charter.com] has quit [Ping timeout: 252 seconds] 19:50:18 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 19:56:44 hiroakip [~hiroaki@p5B04A9BD.dip.t-dialin.net] has joined #scheme 20:11:59 jao [~user@232.Red-83-32-71.dynamicIP.rima-tde.net] has joined #scheme 20:12:06 -!- jao [~user@232.Red-83-32-71.dynamicIP.rima-tde.net] has quit [Changing host] 20:12:06 jao [~user@pdpc/supporter/professional/jao] has joined #scheme 20:13:39 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 20:17:42 -!- bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has quit [Quit: Leaving] 20:18:03 bipt [~bpt@cpe-071-070-253-241.nc.res.rr.com] has joined #scheme 20:20:40 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 20:29:54 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 20:32:38 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 20:33:56 Tau [~Euler@186-194-45-253.i-next.psi.br] has joined #scheme 20:36:58 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 20:42:54 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 20:43:16 -!- Fare [~fare@173.9.65.97] has quit [Ping timeout: 272 seconds] 20:48:58 -!- Tau is now known as rolls 20:50:45 -!- honkfestival [~honkfesti@198-84-183-94.cpe.teksavvy.com] has quit [Quit: Computer has gone to sleep.] 20:53:43 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 20:56:21 -!- hiroakip [~hiroaki@p5B04A9BD.dip.t-dialin.net] has quit [Ping timeout: 240 seconds] 21:00:50 -!- dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has quit [Read error: Connection reset by peer] 21:01:06 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 21:05:26 -!- Nisstyre-laptop [~yours@oftn/member/Nisstyre] has quit [Quit: Leaving] 21:05:36 -!- Nisstyre [~yours@oftn/member/Nisstyre] has quit [Quit: Leaving] 21:08:16 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 21:09:47 -!- rolls is now known as Tau 21:11:08 -!- yacks [~yacks@180.151.36.170] has quit [Ping timeout: 255 seconds] 21:11:51 Fare [~fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has joined #scheme 21:18:49 dsmith [~dsmith@cpe-184-56-129-232.neo.res.rr.com] has joined #scheme 21:22:39 hiroakip [~hiroaki@77-20-78-82-dynip.superkabel.de] has joined #scheme 21:24:30 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 21:30:51 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 21:36:51 -!- Riastradh [~riastradh@fsf/member/riastradh] has quit [Ping timeout: 276 seconds] 21:37:05 -!- Tau [~Euler@186-194-45-253.i-next.psi.br] has left #scheme 21:48:20 Riastradh [~riastradh@fsf/member/riastradh] has joined #scheme 21:51:12 phax [~phax@unaffiliated/phax] has joined #scheme 21:56:31 pdponze [~pierre@37.0.45.21] has joined #scheme 21:58:11 *wingo* done spamming 21:58:54 -!- pothos [~pothos@114-36-233-2.dynamic.hinet.net] has quit [Ping timeout: 240 seconds] 22:01:00 William_ [~William@108-85-16-151.lightspeed.gnvlsc.sbcglobal.net] has joined #scheme 22:02:49 -!- Fare [~fare@173-9-65-97-NewEngland.hfc.comcastbusiness.net] has quit [Ping timeout: 260 seconds] 22:11:01 -!- William_ [~William@108-85-16-151.lightspeed.gnvlsc.sbcglobal.net] has quit [Read error: Connection reset by peer] 22:19:59 -!- wingo [~wingo@cha74-2-88-160-190-192.fbx.proxad.net] has quit [Ping timeout: 255 seconds] 22:28:43 (What was wingo spamming ?) 22:29:30 *taylanub* opens mailbox, wall of e-mails from Wingo from scheme-reports. :D 22:31:55 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 22:32:57 Nisstyre [~yours@oftn/member/Nisstyre] has joined #scheme 22:46:00 -!- Onionnion|Eee [~ryan@adsl-68-254-171-79.dsl.milwwi.ameritech.net] has quit [Quit: Leaving] 22:46:57 -!- add^_ [~add^_@m212-152-11-221.cust.tele2.se] has quit [Quit: The Garbage Collector got me...] 22:49:46 phax [~phax@unaffiliated/phax] has joined #scheme 22:52:35 -!- snowylike [~sn@91-67-171-156-dynip.superkabel.de] has quit [Quit: Nettalk6 - www.ntalk.de] 23:02:20 *offby1* thinks that proper grammar demands "wingo be spammin" 23:06:12 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Read error: Operation timed out] 23:07:07 -!- mr_vile is now known as Tanami 23:14:47 Onionnion|Eee [~ryan@adsl-68-254-171-79.dsl.milwwi.ameritech.net] has joined #scheme 23:24:17 honkfestival [~honkfesti@198-84-183-94.cpe.teksavvy.com] has joined #scheme 23:24:52 spobat [~spobat@p5DC76D66.dip.t-dialin.net] has joined #scheme 23:29:13 The standards generally don't use the word "undefined," do they ? I see there's mention of some mathematically undefined values, and in the explanation of letrec, but there seems to be no general meaning like that of "unspecified." 23:29:17 carleastlund [~cce@c-98-223-186-213.hsd1.in.comcast.net] has joined #scheme 23:35:19 jonrafkind [~jon@racket/jonrafkind] has joined #scheme 23:36:11 -!- honkfestival [~honkfesti@198-84-183-94.cpe.teksavvy.com] has quit [Quit: Computer has gone to sleep.] 23:41:14 -!- pdponze [~pierre@37.0.45.21] has quit [Ping timeout: 272 seconds] 23:43:16 -!- dnolen [~user@cpe-74-64-61-245.nyc.res.rr.com] has quit [Ping timeout: 248 seconds] 23:44:27 -!- taylanub [~taylanub@p4FD933A9.dip.t-dialin.net] has quit [Disconnected by services] 23:44:49 taylanub [tub@p4FD91DF4.dip.t-dialin.net] has joined #scheme 23:46:07 taylanub: does ANSI Common Lisp count as a standard? 23:47:26 *drewc* just saw 'undefined' and since that is used often in CLHS, figured he'd comment here before 'C-x b' to my next IRC buffer :) 23:49:33 -!- phax [~phax@unaffiliated/phax] has quit [Quit: Leaving] 23:50:04 spobat_ [~spobat@p5DC77A30.dip.t-dialin.net] has joined #scheme 23:50:49 Oh I meant the Scheme standards specifically. 23:51:56 -!- spobat [~spobat@p5DC76D66.dip.t-dialin.net] has quit [Ping timeout: 265 seconds] 23:54:20 -!- jonrafkind [~jon@racket/jonrafkind] has quit [Quit: Ex-Chat] 23:54:32 well, I only know of r5rs in general, which does not use it specifically (save for LETREC where ) and does not have a definition of it that is related to scheme... afaik 23:54:41 jonrafkind [~jon@racket/jonrafkind] has joined #scheme