2017-05-11T00:18:30Z sethalves quit (Quit: Leaving.) 2017-05-11T00:25:11Z enderby joined #scheme 2017-05-11T00:29:01Z pjb quit (Ping timeout: 255 seconds) 2017-05-11T00:36:22Z xoui quit (Ping timeout: 264 seconds) 2017-05-11T00:38:04Z xoui joined #scheme 2017-05-11T00:38:07Z Riastradh joined #scheme 2017-05-11T00:52:58Z safe joined #scheme 2017-05-11T01:14:52Z noethics joined #scheme 2017-05-11T01:16:13Z noethics quit (Remote host closed the connection) 2017-05-11T01:18:54Z noethics joined #scheme 2017-05-11T01:19:24Z lambda-11235 joined #scheme 2017-05-11T01:20:06Z pie_ joined #scheme 2017-05-11T01:25:17Z cemerick quit (Ping timeout: 240 seconds) 2017-05-11T01:25:58Z pie_ quit (Ping timeout: 260 seconds) 2017-05-11T01:26:03Z cemerick joined #scheme 2017-05-11T01:26:58Z _rht joined #scheme 2017-05-11T01:36:29Z deank quit 2017-05-11T01:47:57Z justinethier joined #scheme 2017-05-11T01:52:49Z shdeng joined #scheme 2017-05-11T01:54:10Z emacsomancer joined #scheme 2017-05-11T01:54:12Z sssilver_ quit (Read error: Connection reset by peer) 2017-05-11T01:58:56Z kammd joined #scheme 2017-05-11T02:01:50Z leppie quit 2017-05-11T02:04:27Z sssilver joined #scheme 2017-05-11T02:11:32Z sssilver_ joined #scheme 2017-05-11T02:12:50Z sssilver quit (Ping timeout: 258 seconds) 2017-05-11T02:20:19Z pierpa quit (Quit: Page closed) 2017-05-11T02:22:10Z bsdcode joined #scheme 2017-05-11T02:42:39Z ArneBab joined #scheme 2017-05-11T02:46:33Z ArneBab_ quit (Ping timeout: 245 seconds) 2017-05-11T02:47:43Z lritter joined #scheme 2017-05-11T02:53:11Z pilne quit (Quit: Quitting!) 2017-05-11T02:59:27Z daviid quit (Ping timeout: 240 seconds) 2017-05-11T03:01:54Z justinethier quit (Quit: Page closed) 2017-05-11T03:27:06Z sz0 quit (Quit: Connection closed for inactivity) 2017-05-11T03:27:35Z cemerick quit (Ping timeout: 240 seconds) 2017-05-11T03:28:27Z cemerick joined #scheme 2017-05-11T03:37:23Z enderby left #scheme 2017-05-11T04:02:16Z leppie joined #scheme 2017-05-11T04:04:16Z carc quit (Ping timeout: 260 seconds) 2017-05-11T04:06:32Z carc joined #scheme 2017-05-11T04:18:12Z cromachina_ joined #scheme 2017-05-11T04:20:12Z cro__ joined #scheme 2017-05-11T04:21:33Z cromachina quit (Ping timeout: 260 seconds) 2017-05-11T04:24:01Z cromachina_ quit (Ping timeout: 272 seconds) 2017-05-11T04:24:17Z mejja joined #scheme 2017-05-11T04:35:10Z cartwright quit (Ping timeout: 255 seconds) 2017-05-11T04:38:26Z cartwright joined #scheme 2017-05-11T05:00:32Z mejja quit (Quit: \ No newline at end of file) 2017-05-11T05:01:04Z X-Scale quit (Quit: HydraIRC -> http://www.hydrairc.com <- In tests, 0x09 out of 0x0A l33t h4x0rz prefer it :)) 2017-05-11T05:13:47Z badkins quit (Remote host closed the connection) 2017-05-11T05:19:46Z jonaslund joined #scheme 2017-05-11T05:31:09Z ertes quit (Ping timeout: 268 seconds) 2017-05-11T05:42:30Z igajsin joined #scheme 2017-05-11T06:13:10Z jonaslund quit (Ping timeout: 240 seconds) 2017-05-11T06:26:10Z cemerick quit (Ping timeout: 240 seconds) 2017-05-11T06:26:46Z cemerick joined #scheme 2017-05-11T06:28:59Z akkad quit (Excess Flood) 2017-05-11T06:31:40Z akkad joined #scheme 2017-05-11T06:49:43Z lambda-11235 quit (Quit: WeeChat 1.7.1) 2017-05-11T07:01:21Z xoui quit (Ping timeout: 240 seconds) 2017-05-11T07:04:39Z ventonegro joined #scheme 2017-05-11T07:04:40Z fizzie quit (Quit: Coyote finally caught me) 2017-05-11T07:12:00Z xoui joined #scheme 2017-05-11T07:15:56Z Steverman joined #scheme 2017-05-11T07:19:10Z xoui quit (Ping timeout: 240 seconds) 2017-05-11T07:23:18Z xoui joined #scheme 2017-05-11T07:28:10Z Steverman quit (Ping timeout: 240 seconds) 2017-05-11T07:28:51Z Steverman joined #scheme 2017-05-11T07:29:47Z bsdcode quit (Ping timeout: 240 seconds) 2017-05-11T07:36:47Z cemerick quit (Ping timeout: 240 seconds) 2017-05-11T07:46:22Z bsdcode joined #scheme 2017-05-11T07:48:23Z civodul joined #scheme 2017-05-11T08:12:35Z safe quit (Read error: Connection reset by peer) 2017-05-11T08:23:18Z jonaslund joined #scheme 2017-05-11T08:27:08Z webshinra quit (Ping timeout: 240 seconds) 2017-05-11T08:34:18Z webshinra joined #scheme 2017-05-11T08:40:38Z igajsin quit (Quit: Leaving.) 2017-05-11T08:46:27Z qu1j0t3 quit (Ping timeout: 240 seconds) 2017-05-11T08:52:56Z ski quit (Ping timeout: 255 seconds) 2017-05-11T08:56:48Z ski joined #scheme 2017-05-11T09:04:36Z amoe joined #scheme 2017-05-11T09:18:54Z deank joined #scheme 2017-05-11T09:26:36Z _rht quit (Quit: Connection closed for inactivity) 2017-05-11T09:38:07Z qu1j0t3 joined #scheme 2017-05-11T09:46:48Z fizzie joined #scheme 2017-05-11T10:01:29Z greatscottttt joined #scheme 2017-05-11T10:18:57Z ski quit (Ping timeout: 240 seconds) 2017-05-11T10:20:01Z ski joined #scheme 2017-05-11T10:36:25Z Steverman quit (Ping timeout: 272 seconds) 2017-05-11T10:47:59Z Steverman joined #scheme 2017-05-11T10:59:27Z shdeng quit (Quit: Leaving) 2017-05-11T10:59:38Z gravicappa joined #scheme 2017-05-11T11:00:10Z Steverman quit (Ping timeout: 240 seconds) 2017-05-11T11:10:27Z ski quit (Ping timeout: 240 seconds) 2017-05-11T11:12:57Z ski joined #scheme 2017-05-11T11:16:33Z deank quit 2017-05-11T11:30:45Z Steverman joined #scheme 2017-05-11T11:48:05Z xoui quit (Remote host closed the connection) 2017-05-11T11:48:28Z xoui joined #scheme 2017-05-11T11:55:51Z deank joined #scheme 2017-05-11T12:13:07Z xoui quit (Remote host closed the connection) 2017-05-11T12:13:27Z xoui joined #scheme 2017-05-11T12:29:05Z Steverman quit (Ping timeout: 240 seconds) 2017-05-11T12:32:40Z ski quit (Ping timeout: 240 seconds) 2017-05-11T12:34:39Z ski joined #scheme 2017-05-11T12:43:48Z Steverman joined #scheme 2017-05-11T13:00:22Z webshinra quit (Ping timeout: 264 seconds) 2017-05-11T13:00:50Z webshinra joined #scheme 2017-05-11T13:12:52Z TCZ joined #scheme 2017-05-11T13:15:01Z TCZ quit (Client Quit) 2017-05-11T13:26:21Z MorTal1ty quit 2017-05-11T13:26:37Z MorTal1ty joined #scheme 2017-05-11T13:26:57Z phale joined #scheme 2017-05-11T13:28:15Z phale: hello, been looking into scheme for a few weeks now, coming from C, i have used recursion in C before but in Scheme its difficult for me to sometimes think about how the recursion process works, does anyone else had this same issue? 2017-05-11T13:30:42Z LeoNerd: Recusion in Scheme is surely exactly the same as in C? 2017-05-11T13:33:03Z phale: yeah but sometimes its hard for me to think about all the expressions being put in 2017-05-11T13:33:16Z phale: different syntax and all 2017-05-11T13:34:58Z LeoNerd: Eh; the syntax is just the surface-level spelling of the concept 2017-05-11T13:40:37Z dbmikus joined #scheme 2017-05-11T13:42:17Z qu1j0t3: phale: it's great that you're trying something new. 2017-05-11T13:42:34Z qu1j0t3: phale: is there a particular text or study programme you're using? 2017-05-11T13:42:47Z phale: qu1j0t3, SICP and The Little Schemer is what im reading 2017-05-11T13:42:55Z qu1j0t3: phale: SICP has a _lot_ of recursion drills 2017-05-11T13:43:11Z qu1j0t3: phale: I'd suggest workign through its exercises (they're really essential to get value) and asking questions about them here as needed 2017-05-11T13:43:20Z phale: alright 2017-05-11T13:43:26Z qu1j0t3: if SICP is too intense, hit TLS first 2017-05-11T13:43:27Z phale: i'll give it a shot 2017-05-11T13:43:37Z phale: yeah i was reading TLS 2017-05-11T13:43:41Z phale: and it seemed a bit easier 2017-05-11T13:43:54Z qu1j0t3: SICP does kind of assume an okay-ness with the language, and it doesn't teach the language, only concepts 2017-05-11T13:44:07Z qu1j0t3: so yeah doing things in that order might work better 2017-05-11T13:44:27Z phale: concepts are fine, im looking to learn scheme along with some programming concepts 2017-05-11T13:44:35Z phale: so this book should be perfect after i read a bit of tls 2017-05-11T13:44:50Z qu1j0t3: right, but it'll get confusng fast if you're not confident in scheme 2017-05-11T13:45:03Z phale: i see 2017-05-11T13:45:08Z qu1j0t3: since it starts out with that assumption pretty much 2017-05-11T13:45:09Z lritter quit (Remote host closed the connection) 2017-05-11T13:45:24Z phale: well, what i want to write in scheme is a bot for a chat protocol 2017-05-11T13:45:29Z phale: not sure if scheme has net i/o facilities 2017-05-11T13:45:35Z phale: chicken scheme seems to though 2017-05-11T13:45:56Z phale: so im reading through the books first to get a good idea of scheme 2017-05-11T13:46:14Z gwatt: Networking isn't specified by any scheme standard. 2017-05-11T13:49:24Z burtons quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-05-11T13:51:57Z Riastradh quit (Ping timeout: 240 seconds) 2017-05-11T13:52:36Z tanz joined #scheme 2017-05-11T13:54:48Z blackwolf joined #scheme 2017-05-11T13:58:07Z cro__ quit (Read error: Connection reset by peer) 2017-05-11T14:04:01Z CnTLDude joined #scheme 2017-05-11T14:08:03Z pie_ joined #scheme 2017-05-11T14:13:40Z pie_ quit (Quit: Leaving) 2017-05-11T14:13:53Z Steverman quit (Quit: WeeChat 1.7.1) 2017-05-11T14:14:01Z pie_ joined #scheme 2017-05-11T14:18:58Z bsdcode quit (Ping timeout: 264 seconds) 2017-05-11T14:22:22Z badkins joined #scheme 2017-05-11T14:30:19Z g0d355__ quit (Ping timeout: 245 seconds) 2017-05-11T14:42:32Z burtons joined #scheme 2017-05-11T14:57:36Z deank quit (Ping timeout: 260 seconds) 2017-05-11T15:13:09Z X-Scale joined #scheme 2017-05-11T15:13:39Z phale: whats the difference between let and define? 2017-05-11T15:15:26Z gwatt: bindings introduced by let are visible within the body of let. 2017-05-11T15:15:48Z gwatt: *only visible within 2017-05-11T15:19:14Z synt_ joined #scheme 2017-05-11T15:19:15Z phale quit (Read error: Connection reset by peer) 2017-05-11T15:21:03Z synt_ is now known as phale 2017-05-11T15:21:06Z phale quit (Changing host) 2017-05-11T15:21:06Z phale joined #scheme 2017-05-11T15:28:47Z deank joined #scheme 2017-05-11T15:32:43Z phale: oh i see 2017-05-11T15:32:46Z sbauman quit 2017-05-11T15:33:00Z sbauman joined #scheme 2017-05-11T15:38:08Z pie_ quit (Quit: Leaving) 2017-05-11T15:55:05Z ventonegro quit (Quit: rcirc on GNU Emacs 25.1.1) 2017-05-11T16:01:04Z greatscottttt quit (Quit: WeeChat 1.5) 2017-05-11T16:05:22Z jmd joined #scheme 2017-05-11T16:07:57Z civodul quit (Remote host closed the connection) 2017-05-11T16:15:52Z sethalves joined #scheme 2017-05-11T16:20:24Z alezost joined #scheme 2017-05-11T16:36:17Z sssilver_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-05-11T16:37:20Z sssilver joined #scheme 2017-05-11T16:37:35Z sssilver quit (Client Quit) 2017-05-11T16:38:48Z sssilver joined #scheme 2017-05-11T16:38:52Z sssilver quit (Client Quit) 2017-05-11T16:39:55Z sssilver joined #scheme 2017-05-11T16:44:13Z sssilver quit (Ping timeout: 246 seconds) 2017-05-11T16:45:26Z yrdz quit (Remote host closed the connection) 2017-05-11T16:50:15Z yrdz joined #scheme 2017-05-11T16:59:29Z phale: hi, say i have a procedure with multiple procedure calls in it, how do i return a value from it properly ? 2017-05-11T16:59:38Z phale: heres what ive tried 2017-05-11T16:59:44Z pilne joined #scheme 2017-05-11T16:59:48Z phale: http://codepad.org/ntyS3rHJ 2017-05-11T16:59:58Z phale: i need to return #f when (= y h) is #t 2017-05-11T17:00:04Z phale: so it stops the recursion 2017-05-11T17:00:34Z phale: the recursion does not stop though 2017-05-11T17:01:21Z gwatt: There's not a return in scheme. The last expression in a function is the return value 2017-05-11T17:01:44Z phale: so i cant stop the recursion here? 2017-05-11T17:02:06Z gwatt: You can, you just need to put the rest of the calls inside the if 2017-05-11T17:02:20Z phale: oh 2017-05-11T17:02:31Z gwatt: It would look something like (if (= y h) #f (begin ...)) 2017-05-11T17:03:10Z gwatt: does image-draw-pixel modify img? 2017-05-11T17:03:23Z phale: yes 2017-05-11T17:04:22Z gwatt: cool. 2017-05-11T17:10:17Z igajsin joined #scheme 2017-05-11T17:12:20Z phale: is it possible to have multiple values return from a procedure and then pass it as 2 arguments onto another procedure? 2017-05-11T17:12:50Z phale: like (image-draw-pixel img (color/rgba (colors) 255) x y)) 2017-05-11T17:14:05Z gwatt: yes, it's call-with-values 2017-05-11T17:14:42Z ertes joined #scheme 2017-05-11T17:14:45Z gwatt: values is a procedure that can return multiple values: (values 1 2 3) => 1 2 3 2017-05-11T17:15:26Z gwatt: And then call-with-values takes two arguments: a multiple-values producing thunk and a receiver function 2017-05-11T17:15:44Z gwatt: (call-with-values (lambda () (values 1 2 3)) +) => 6 2017-05-11T17:16:41Z gwatt: There's also apply, which is similar but works with lists instead of multiple values. 2017-05-11T17:16:50Z gwatt: (apply + '(1 2 3)) => 6 2017-05-11T17:18:18Z phale: very interesting, thank you 2017-05-11T17:23:15Z xoui quit (Quit: xoui) 2017-05-11T17:37:14Z alezost quit (Quit: I live in GuixSD and Emacs ) 2017-05-11T17:37:17Z phale: gwatt, what if i only want to use the values for the last 3 arguments of a procedure? 2017-05-11T17:37:36Z phale: like (proc 1 2 3 4 5 ...) 2017-05-11T17:41:30Z Riastradh joined #scheme 2017-05-11T17:43:22Z pjb joined #scheme 2017-05-11T17:48:22Z kammd quit (Quit: Connection closed for inactivity) 2017-05-11T17:51:41Z alezost joined #scheme 2017-05-11T17:54:18Z gwatt: You could wrap the value consumer: (lambda (a b c) (func first set of args a b c)) 2017-05-11T17:54:56Z gwatt: but you might consider apply here. It accepts individual values, and only requires the final arg be a list. 2017-05-11T17:55:16Z gwatt: (apply + 1 2 3 '(4 5 6)) is the same as (apply + '(1 2 3 4 5 6)) 2017-05-11T17:55:28Z X-Scale: rudybot: (apply + 1 2 3 '(4 5 6)) 2017-05-11T17:55:36Z rudybot: X-Scale: your sandbox is ready 2017-05-11T17:55:38Z rudybot: X-Scale: ; Value: 21 2017-05-11T17:56:10Z gwatt: rudybot: ((lambda (x) (x x)) (lambda (x) (x x))) 2017-05-11T17:56:11Z rudybot: gwatt: your sandbox is ready 2017-05-11T17:56:19Z X-Scale: hah 2017-05-11T17:56:22Z rudybot: gwatt: error: with-limit: out of time 2017-05-11T18:03:18Z sssilver joined #scheme 2017-05-11T18:04:22Z gwatt: rudybot: (call/cc values) 2017-05-11T18:04:22Z rudybot: gwatt: ; Value: # 2017-05-11T18:04:58Z sssilver quit (Client Quit) 2017-05-11T18:05:41Z sssilver joined #scheme 2017-05-11T18:06:30Z gwatt: rudybot: (define (foo) 'foo) 2017-05-11T18:06:31Z rudybot: gwatt: Done. 2017-05-11T18:06:34Z gwatt: (foo) 2017-05-11T18:06:41Z gwatt: rudybot: (foo) 2017-05-11T18:06:42Z rudybot: gwatt: ; Value: 'foo 2017-05-11T18:06:57Z gwatt: (define k (call/cc values)) 2017-05-11T18:07:04Z gwatt: rudybot: (define k (call/cc values)) 2017-05-11T18:07:04Z rudybot: gwatt: Done. 2017-05-11T18:07:10Z gwatt: rudybot: (k) 2017-05-11T18:07:10Z rudybot: gwatt: error: define-values: result arity mismatch; expected number of values not received expected: 1 received: 0 from: in: definition of k values...: 2017-05-11T18:07:17Z gwatt: rudybot: (k 2) 2017-05-11T18:07:17Z rudybot: gwatt: Done. 2017-05-11T18:12:39Z jmd quit (Remote host closed the connection) 2017-05-11T18:14:01Z daviid joined #scheme 2017-05-11T18:15:15Z blackwolf quit (Remote host closed the connection) 2017-05-11T18:20:02Z yrdz quit (Read error: Connection reset by peer) 2017-05-11T18:20:55Z jmd joined #scheme 2017-05-11T18:22:55Z yrdz joined #scheme 2017-05-11T18:27:05Z yrdz quit (Remote host closed the connection) 2017-05-11T18:27:30Z yrdz joined #scheme 2017-05-11T18:28:40Z yrdz quit (Remote host closed the connection) 2017-05-11T18:29:07Z yrdz joined #scheme 2017-05-11T18:30:56Z yrdz quit (Remote host closed the connection) 2017-05-11T18:31:22Z yrdz joined #scheme 2017-05-11T18:31:34Z yrdz quit (Read error: Connection reset by peer) 2017-05-11T18:34:46Z sz0 joined #scheme 2017-05-11T18:47:51Z TheLemonMan joined #scheme 2017-05-11T18:53:10Z ertes quit (Ping timeout: 264 seconds) 2017-05-11T18:55:06Z jaziz joined #scheme 2017-05-11T19:06:07Z noethics quit (Remote host closed the connection) 2017-05-11T19:06:29Z noethics joined #scheme 2017-05-11T19:15:07Z noethics quit (Remote host closed the connection) 2017-05-11T19:15:57Z noethics joined #scheme 2017-05-11T19:40:18Z DerGuteMoritz quit (Ping timeout: 260 seconds) 2017-05-11T19:50:46Z jaziz quit (Ping timeout: 240 seconds) 2017-05-11T19:52:01Z ski quit (Ping timeout: 268 seconds) 2017-05-11T19:52:28Z ski joined #scheme 2017-05-11T20:07:48Z pierpa joined #scheme 2017-05-11T20:15:24Z acarrico quit (Ping timeout: 260 seconds) 2017-05-11T20:29:11Z sssilver quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-05-11T20:31:55Z CnTLDude quit (Read error: Connection reset by peer) 2017-05-11T20:33:04Z alezost quit (Quit: I live in GuixSD and Emacs ) 2017-05-11T20:35:37Z sssilver joined #scheme 2017-05-11T20:52:18Z gravicappa quit (Remote host closed the connection) 2017-05-11T20:55:11Z nilg joined #scheme 2017-05-11T20:56:05Z igajsin quit (Ping timeout: 255 seconds) 2017-05-11T20:58:48Z jmd` joined #scheme 2017-05-11T21:00:35Z sssilver quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-05-11T21:03:07Z jmd` quit (Remote host closed the connection) 2017-05-11T21:10:18Z jmd quit (Remote host closed the connection) 2017-05-11T21:11:52Z Riastradh quit (Ping timeout: 260 seconds) 2017-05-11T21:13:34Z sssilver joined #scheme 2017-05-11T21:14:17Z Riastradh joined #scheme 2017-05-11T21:20:26Z sssilver quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-05-11T21:30:27Z TheLemonMan quit (Quit: "It's now safe to turn off your computer.") 2017-05-11T21:31:10Z sssilver joined #scheme 2017-05-11T21:40:57Z pjb quit (Quit: Good night!) 2017-05-11T21:57:32Z acarrico joined #scheme 2017-05-11T22:00:39Z pie_ joined #scheme 2017-05-11T22:06:37Z Blkt quit (Remote host closed the connection) 2017-05-11T22:07:24Z burtons quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2017-05-11T22:07:55Z Blkt joined #scheme 2017-05-11T22:09:15Z ertes joined #scheme 2017-05-11T22:13:20Z jcowan quit (Quit: Leaving) 2017-05-11T22:18:36Z acarrico quit (Ping timeout: 260 seconds) 2017-05-11T22:19:55Z DerGuteMoritz joined #scheme 2017-05-11T22:21:15Z emacsomancer quit (Ping timeout: 268 seconds) 2017-05-11T22:28:26Z Riastradh quit (Remote host closed the connection) 2017-05-11T22:33:35Z Riastradh joined #scheme 2017-05-11T22:42:16Z jaziz joined #scheme 2017-05-11T22:56:37Z Riastradh quit (Ping timeout: 246 seconds) 2017-05-11T22:57:20Z jonaslund quit (Ping timeout: 260 seconds) 2017-05-11T23:01:30Z jaziz1 joined #scheme 2017-05-11T23:04:10Z jaziz quit (Ping timeout: 240 seconds) 2017-05-11T23:12:32Z emacsomancer joined #scheme 2017-05-11T23:20:31Z Riastradh joined #scheme 2017-05-11T23:27:19Z Riastrad1 joined #scheme 2017-05-11T23:28:41Z Riastradh quit (Ping timeout: 240 seconds) 2017-05-11T23:35:54Z dbmikus quit (Quit: WeeChat 1.7) 2017-05-11T23:39:35Z Riastrad1 quit (Ping timeout: 240 seconds) 2017-05-11T23:53:12Z bsdcode joined #scheme 2017-05-11T23:55:13Z deank left #scheme