2016-09-12T00:00:24Z robotoad joined #scheme 2016-09-12T00:08:37Z takitus quit (Quit: bye) 2016-09-12T00:23:01Z turbofail joined #scheme 2016-09-12T00:28:07Z sethalves quit (Ping timeout: 250 seconds) 2016-09-12T00:39:04Z nulquen joined #scheme 2016-09-12T00:39:51Z FareTower joined #scheme 2016-09-12T00:49:10Z FareTower quit (Ping timeout: 252 seconds) 2016-09-12T00:51:16Z DeeEff quit (Ping timeout: 244 seconds) 2016-09-12T00:56:58Z fluter quit (Ping timeout: 265 seconds) 2016-09-12T00:59:08Z DeeEff joined #scheme 2016-09-12T00:59:36Z FareTower joined #scheme 2016-09-12T01:04:31Z shdeng joined #scheme 2016-09-12T01:05:59Z fluter joined #scheme 2016-09-12T01:09:22Z nulquen quit (Remote host closed the connection) 2016-09-12T01:10:01Z rjnw quit 2016-09-12T01:12:49Z FareTower quit (Ping timeout: 244 seconds) 2016-09-12T01:15:20Z robotoad quit (Ping timeout: 265 seconds) 2016-09-12T01:22:30Z sethalves joined #scheme 2016-09-12T01:26:05Z robotoad joined #scheme 2016-09-12T01:37:57Z FareTower joined #scheme 2016-09-12T01:38:00Z rgrinberg joined #scheme 2016-09-12T01:39:13Z karswell` quit (Ping timeout: 250 seconds) 2016-09-12T01:40:18Z tmtwd joined #scheme 2016-09-12T01:43:03Z excelsior quit (Ping timeout: 240 seconds) 2016-09-12T01:51:44Z mastokley quit (Remote host closed the connection) 2016-09-12T01:52:47Z mastokley joined #scheme 2016-09-12T01:52:48Z mastokley quit (Max SendQ exceeded) 2016-09-12T01:54:00Z greatscottttt joined #scheme 2016-09-12T01:54:23Z mastokley joined #scheme 2016-09-12T01:54:24Z mastokley quit (Max SendQ exceeded) 2016-09-12T01:54:56Z mastokley joined #scheme 2016-09-12T02:05:29Z badkins quit (Remote host closed the connection) 2016-09-12T02:11:24Z greatscottttt quit (Ping timeout: 265 seconds) 2016-09-12T02:13:07Z ArneBab_ joined #scheme 2016-09-12T02:17:19Z ArneBab quit (Ping timeout: 250 seconds) 2016-09-12T02:17:38Z lambda-11235 joined #scheme 2016-09-12T02:19:11Z mastokley quit (Read error: Connection reset by peer) 2016-09-12T02:20:26Z mastokley joined #scheme 2016-09-12T02:22:22Z mastokley quit (Remote host closed the connection) 2016-09-12T02:39:37Z mastokley joined #scheme 2016-09-12T02:39:38Z mastokley quit (Max SendQ exceeded) 2016-09-12T02:40:09Z mastokley joined #scheme 2016-09-12T02:41:43Z robotoad quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-09-12T02:47:13Z rgrinberg quit (Ping timeout: 250 seconds) 2016-09-12T02:49:00Z robotoad joined #scheme 2016-09-12T02:55:35Z bjz joined #scheme 2016-09-12T03:03:04Z lambda-11235 quit (Read error: Connection reset by peer) 2016-09-12T03:09:24Z pie_ quit (Changing host) 2016-09-12T03:09:25Z pie_ joined #scheme 2016-09-12T03:10:55Z logicmoo is now known as dmiles 2016-09-12T03:18:01Z mastokley quit (Ping timeout: 250 seconds) 2016-09-12T03:26:12Z lambda-11235 joined #scheme 2016-09-12T03:33:30Z pierpa quit (Ping timeout: 276 seconds) 2016-09-12T03:34:19Z mastokley joined #scheme 2016-09-12T03:37:47Z phax joined #scheme 2016-09-12T03:38:18Z jlongster joined #scheme 2016-09-12T03:51:46Z jlongster quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-09-12T03:54:12Z jlongster joined #scheme 2016-09-12T04:07:58Z AlexDenisov joined #scheme 2016-09-12T04:08:51Z Riastradh joined #scheme 2016-09-12T04:09:20Z phax quit (Quit: phax) 2016-09-12T04:10:05Z phax joined #scheme 2016-09-12T04:12:42Z excelsior joined #scheme 2016-09-12T04:15:20Z karswell joined #scheme 2016-09-12T04:17:30Z jlongster quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-09-12T04:19:16Z phax quit (Quit: phax) 2016-09-12T04:23:06Z tmtwd quit (Ping timeout: 244 seconds) 2016-09-12T04:27:08Z phax joined #scheme 2016-09-12T04:46:55Z grettke quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-09-12T04:59:34Z robotoad quit (Read error: Connection reset by peer) 2016-09-12T04:59:40Z robotoad_ joined #scheme 2016-09-12T05:05:01Z phax quit (Quit: phax) 2016-09-12T05:08:04Z Riastradh quit (Ping timeout: 244 seconds) 2016-09-12T05:08:08Z phax joined #scheme 2016-09-12T05:22:42Z phax quit (Quit: phax) 2016-09-12T05:25:42Z nilg joined #scheme 2016-09-12T05:32:24Z robotoad_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-09-12T05:35:31Z mbuf joined #scheme 2016-09-12T05:39:03Z FareTower is now known as Fare 2016-09-12T05:46:44Z AlexDenisov quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-09-12T05:47:14Z robotoad joined #scheme 2016-09-12T05:49:00Z robotoad quit (Read error: Connection reset by peer) 2016-09-12T05:49:28Z robotoad joined #scheme 2016-09-12T05:53:15Z excelsior quit (Ping timeout: 276 seconds) 2016-09-12T06:01:45Z lambda-11235 quit (Quit: Bye) 2016-09-12T06:08:15Z turbofail quit (Remote host closed the connection) 2016-09-12T06:11:12Z mastokley quit (Ping timeout: 240 seconds) 2016-09-12T06:18:41Z shdeng quit (Ping timeout: 244 seconds) 2016-09-12T06:19:01Z shdeng joined #scheme 2016-09-12T06:27:32Z shdeng quit (Ping timeout: 240 seconds) 2016-09-12T06:34:18Z shdeng joined #scheme 2016-09-12T06:36:12Z Guest_84848 joined #scheme 2016-09-12T06:46:40Z shdeng quit (Ping timeout: 255 seconds) 2016-09-12T06:54:02Z Guest_84848 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2016-09-12T06:56:26Z Guest_84848 joined #scheme 2016-09-12T06:58:48Z civodul joined #scheme 2016-09-12T06:59:28Z Guest_84848 quit (Client Quit) 2016-09-12T07:09:39Z excelsior joined #scheme 2016-09-12T07:15:27Z AlexDenisov joined #scheme 2016-09-12T07:17:43Z Fare quit (Ping timeout: 255 seconds) 2016-09-12T07:21:08Z excelsior quit (Ping timeout: 265 seconds) 2016-09-12T07:24:11Z leot joined #scheme 2016-09-12T07:30:13Z csed joined #scheme 2016-09-12T07:32:49Z excelsior joined #scheme 2016-09-12T07:34:22Z shdeng joined #scheme 2016-09-12T07:37:49Z robotoad quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-09-12T07:39:51Z robotoad joined #scheme 2016-09-12T07:40:07Z Naraka joined #scheme 2016-09-12T07:40:56Z Naraka quit (Client Quit) 2016-09-12T07:48:44Z bogdanm joined #scheme 2016-09-12T07:55:39Z stepnem joined #scheme 2016-09-12T08:03:50Z aries_liuxueyang quit (Quit: No Ping reply in 180 seconds.) 2016-09-12T08:04:45Z IstiCusi joined #scheme 2016-09-12T08:05:15Z aries_liuxueyang joined #scheme 2016-09-12T08:12:14Z IstiCusi quit (Ping timeout: 260 seconds) 2016-09-12T08:12:19Z ovenpasta joined #scheme 2016-09-12T08:29:18Z bjz_ joined #scheme 2016-09-12T08:29:30Z AlexDenisov quit (Read error: Connection reset by peer) 2016-09-12T08:29:58Z AlexDenisov joined #scheme 2016-09-12T08:32:11Z AlexDeni_ joined #scheme 2016-09-12T08:32:18Z AlexDenisov quit (Read error: Connection reset by peer) 2016-09-12T08:32:40Z bjz quit (Ping timeout: 265 seconds) 2016-09-12T08:33:10Z shdeng quit (Ping timeout: 244 seconds) 2016-09-12T08:36:34Z ggole joined #scheme 2016-09-12T08:37:50Z shdeng joined #scheme 2016-09-12T08:45:58Z bjz_ quit (Read error: Connection reset by peer) 2016-09-12T08:46:14Z robotoad quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-09-12T08:46:50Z bjz joined #scheme 2016-09-12T08:51:07Z fluter quit (Ping timeout: 265 seconds) 2016-09-12T09:00:54Z fluter joined #scheme 2016-09-12T09:04:39Z przl joined #scheme 2016-09-12T09:32:21Z AlexDeni_ quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-09-12T09:37:20Z AlexDenisov joined #scheme 2016-09-12T09:38:01Z drdo quit (Ping timeout: 250 seconds) 2016-09-12T09:39:09Z AlexDenisov quit (Read error: Connection reset by peer) 2016-09-12T09:39:33Z AlexDenisov joined #scheme 2016-09-12T09:42:29Z AlexDeni_ joined #scheme 2016-09-12T09:42:53Z AlexDenisov quit (Read error: Connection reset by peer) 2016-09-12T09:49:02Z nilg quit (Remote host closed the connection) 2016-09-12T09:50:24Z nilg joined #scheme 2016-09-12T09:53:47Z _bogdanm_ joined #scheme 2016-09-12T09:56:53Z bogdanm quit (Ping timeout: 244 seconds) 2016-09-12T10:11:14Z drdo joined #scheme 2016-09-12T10:11:54Z Guest_84848 joined #scheme 2016-09-12T10:20:05Z Fare joined #scheme 2016-09-12T10:23:36Z Guest_84848 quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) 2016-09-12T10:42:35Z Fare quit (Ping timeout: 250 seconds) 2016-09-12T10:51:21Z ^bogdanm^ joined #scheme 2016-09-12T10:52:49Z przl quit (Ping timeout: 255 seconds) 2016-09-12T10:55:04Z _bogdanm_ quit (Ping timeout: 255 seconds) 2016-09-12T10:57:15Z kuribas joined #scheme 2016-09-12T10:57:53Z ^bogdanm^ quit (Quit: Leaving) 2016-09-12T11:01:36Z AlexDeni_ quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-09-12T11:11:41Z gamosh joined #scheme 2016-09-12T11:22:48Z gamosh quit (Ping timeout: 276 seconds) 2016-09-12T11:33:15Z shdeng quit (Quit: Leaving) 2016-09-12T11:35:44Z Fare joined #scheme 2016-09-12T11:43:30Z cemerick joined #scheme 2016-09-12T11:48:59Z przl joined #scheme 2016-09-12T11:54:00Z przl quit (Ping timeout: 276 seconds) 2016-09-12T11:54:44Z kuribas quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2016-09-12T11:55:32Z przl joined #scheme 2016-09-12T11:59:11Z aries_liuxueyang quit (Quit: No Ping reply in 180 seconds.) 2016-09-12T12:00:27Z aries_liuxueyang joined #scheme 2016-09-12T12:02:26Z karswell` joined #scheme 2016-09-12T12:02:30Z karswell quit (Remote host closed the connection) 2016-09-12T12:02:50Z mbuf quit (Quit: Ex-Chat) 2016-09-12T12:06:13Z gamosh joined #scheme 2016-09-12T12:10:04Z przl quit (Ping timeout: 240 seconds) 2016-09-12T12:11:55Z AlexDenisov joined #scheme 2016-09-12T12:16:47Z snits joined #scheme 2016-09-12T12:18:04Z Gamosh_ joined #scheme 2016-09-12T12:18:13Z Gamosh_: Hello, I have a question 2016-09-12T12:18:24Z Gamosh_: what is the use of functions returning functions? 2016-09-12T12:20:12Z jackdaniel: Gamosh_: for instance function composition 2016-09-12T12:20:33Z Steverman joined #scheme 2016-09-12T12:21:09Z Gamosh_: does the following return a function? 2016-09-12T12:21:13Z Gamosh_: (define insert-g (lambda (seq) (lambda (new old I) (cond « null? I) (quote 0)) « eq? (car I) old) (seq new old (cdr I))) (else (cons (car I) «i nsert-g seq) new old (cdr I)))))))) 2016-09-12T12:21:37Z jackdaniel: instead of (I'll use C syntax): int a = 0; a=fun(a); a=fun2(a); a=fun3(a); you can: fun = compose(fun1, fun2, fun3); int a = fun(0); 2016-09-12T12:23:27Z Gamosh_: jackdaniel:Okay, so that's to enforce abstraction? 2016-09-12T12:25:30Z jackdaniel: enforce abstraction? 2016-09-12T12:25:46Z Gamosh_: like function pointers in C family languages 2016-09-12T12:26:24Z jackdaniel: I don't know, I've just shown you a sample usage of a function returning function 2016-09-12T12:26:58Z Gamosh_: okay thanks, is the example I gave (insert-g function) returns a function? 2016-09-12T12:28:03Z jackdaniel: it defines foo, which is a function 2016-09-12T12:28:07Z edgar-rft quit (Quit: edgar-rft) 2016-09-12T12:28:21Z jackdaniel: if you skip define, you'll have returned function 2016-09-12T12:28:31Z jackdaniel: try (lambda () 3) ; -> # 2016-09-12T12:29:26Z Gamosh_: but if you skip define how can you call on it? 2016-09-12T12:29:50Z jackdaniel: if you do define, then the function is associated with a symbol 2016-09-12T12:30:08Z jackdaniel: so (define foo (lambda () 3)) ; you may call it as: (foo) ; -> 3 2016-09-12T12:32:24Z Gamosh_: okay, thanks 2016-09-12T12:32:55Z Blkt quit (Read error: Connection reset by peer) 2016-09-12T12:34:09Z AlexDenisov quit (Read error: Connection reset by peer) 2016-09-12T12:34:12Z Fare quit (Ping timeout: 240 seconds) 2016-09-12T12:34:22Z Blkt joined #scheme 2016-09-12T12:34:30Z AlexDenisov joined #scheme 2016-09-12T12:36:35Z przl joined #scheme 2016-09-12T12:37:22Z grettke joined #scheme 2016-09-12T12:38:05Z AlexDeni_ joined #scheme 2016-09-12T12:38:34Z Gamosh_ quit (Quit: Page closed) 2016-09-12T12:38:57Z gamosh quit (Ping timeout: 244 seconds) 2016-09-12T12:39:05Z AlexDenisov quit (Read error: Connection reset by peer) 2016-09-12T12:39:32Z cmatei quit (Ping timeout: 240 seconds) 2016-09-12T12:40:04Z AlexDeni_ quit (Read error: Connection reset by peer) 2016-09-12T12:40:12Z AlexDenisov joined #scheme 2016-09-12T12:41:03Z przl quit (Ping timeout: 240 seconds) 2016-09-12T12:43:53Z przl joined #scheme 2016-09-12T12:48:50Z cmatei joined #scheme 2016-09-12T12:59:11Z rgrinberg joined #scheme 2016-09-12T13:04:04Z alezost joined #scheme 2016-09-12T13:17:23Z pierpa joined #scheme 2016-09-12T13:18:00Z jlongster joined #scheme 2016-09-12T13:21:03Z AlexDenisov quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-09-12T13:22:11Z hive-mind quit (Ping timeout: 265 seconds) 2016-09-12T13:23:50Z hive-mind joined #scheme 2016-09-12T13:37:09Z hive-mind quit (Ping timeout: 260 seconds) 2016-09-12T13:39:14Z hive-mind joined #scheme 2016-09-12T13:43:41Z cemerick quit (Ping timeout: 244 seconds) 2016-09-12T13:46:17Z przl quit (Ping timeout: 244 seconds) 2016-09-12T13:47:21Z gamosh joined #scheme 2016-09-12T13:49:10Z Riastradh joined #scheme 2016-09-12T13:50:07Z Khisanth quit (Ping timeout: 255 seconds) 2016-09-12T13:50:59Z gamosh quit (Client Quit) 2016-09-12T13:58:59Z badkins joined #scheme 2016-09-12T14:00:43Z badkins_ joined #scheme 2016-09-12T14:02:34Z Khisanth joined #scheme 2016-09-12T14:04:12Z badkins quit (Ping timeout: 240 seconds) 2016-09-12T14:09:55Z fantazo joined #scheme 2016-09-12T14:12:55Z AlexDenisov joined #scheme 2016-09-12T14:14:52Z AlexDenisov quit (Read error: Connection reset by peer) 2016-09-12T14:15:00Z AlexDeni_ joined #scheme 2016-09-12T14:16:47Z AlexDeni_ quit (Read error: Connection reset by peer) 2016-09-12T14:16:55Z AlexDenisov joined #scheme 2016-09-12T14:18:50Z DeeEff[m] quit (Remote host closed the connection) 2016-09-12T14:18:51Z M-krsiehl quit (Read error: Connection reset by peer) 2016-09-12T14:19:03Z AlexDenisov quit (Read error: Connection reset by peer) 2016-09-12T14:19:10Z AlexDeni_ joined #scheme 2016-09-12T14:34:08Z AlexDeni_ quit (Read error: Connection reset by peer) 2016-09-12T14:34:08Z AlexDenisov joined #scheme 2016-09-12T14:35:58Z AlexDenisov quit (Read error: Connection reset by peer) 2016-09-12T14:36:25Z AlexDenisov joined #scheme 2016-09-12T14:36:28Z robotoad joined #scheme 2016-09-12T14:41:03Z sethalves quit (Remote host closed the connection) 2016-09-12T14:42:29Z przl joined #scheme 2016-09-12T14:45:53Z `lain quit (Ping timeout: 265 seconds) 2016-09-12T14:46:59Z `lain joined #scheme 2016-09-12T14:47:22Z przl quit (Ping timeout: 252 seconds) 2016-09-12T14:49:39Z mastokley joined #scheme 2016-09-12T14:50:31Z przl joined #scheme 2016-09-12T14:51:13Z hive-mind quit (Ping timeout: 252 seconds) 2016-09-12T14:54:50Z robotoad quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-09-12T14:56:31Z alezost quit (Ping timeout: 250 seconds) 2016-09-12T15:03:28Z zacts quit (Ping timeout: 264 seconds) 2016-09-12T15:06:10Z hive-mind joined #scheme 2016-09-12T15:07:04Z Steverman quit (Ping timeout: 264 seconds) 2016-09-12T15:17:42Z DeeEff[m] joined #scheme 2016-09-12T15:22:39Z csed quit (Ping timeout: 276 seconds) 2016-09-12T15:23:23Z robotoad joined #scheme 2016-09-12T15:24:22Z grettke quit (Quit: Textual IRC Client: www.textualapp.com) 2016-09-12T15:31:41Z Steverman joined #scheme 2016-09-12T15:39:53Z badkins_ quit (Remote host closed the connection) 2016-09-12T15:40:59Z Steverman quit (Ping timeout: 244 seconds) 2016-09-12T15:42:23Z robotoad quit (Read error: Connection reset by peer) 2016-09-12T15:42:28Z mastokley quit (Ping timeout: 264 seconds) 2016-09-12T15:42:53Z robotoad joined #scheme 2016-09-12T15:43:42Z robotoad quit (Client Quit) 2016-09-12T15:45:31Z jmd joined #scheme 2016-09-12T15:48:25Z robotoad joined #scheme 2016-09-12T15:48:53Z jmd quit (Remote host closed the connection) 2016-09-12T15:50:32Z jmd joined #scheme 2016-09-12T15:59:31Z robotoad quit (Remote host closed the connection) 2016-09-12T16:00:22Z robotoad joined #scheme 2016-09-12T16:00:55Z alezost joined #scheme 2016-09-12T16:06:28Z przl quit (Ping timeout: 255 seconds) 2016-09-12T16:07:53Z Guest_84847 joined #scheme 2016-09-12T16:08:17Z Guest_84847 quit (Killed (Sigyn (Spam is off topic on freenode.))) 2016-09-12T16:22:07Z M-krsiehl joined #scheme 2016-09-12T16:22:53Z civodul quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-09-12T16:23:35Z jmd quit (Remote host closed the connection) 2016-09-12T16:23:45Z sethalves joined #scheme 2016-09-12T16:30:54Z hive-mind quit (Ping timeout: 276 seconds) 2016-09-12T16:31:34Z hive-mind joined #scheme 2016-09-12T16:44:21Z leot quit (Quit: BBL) 2016-09-12T16:44:43Z mastokley joined #scheme 2016-09-12T16:48:01Z badkins joined #scheme 2016-09-12T16:49:37Z mastokley quit (Ping timeout: 250 seconds) 2016-09-12T16:53:33Z robotoad quit (Quit: Textual IRC Client: www.textualapp.com) 2016-09-12T16:58:33Z AlexDenisov quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-09-12T17:01:42Z dmiles quit 2016-09-12T17:02:56Z dmiles joined #scheme 2016-09-12T17:04:14Z cemerick joined #scheme 2016-09-12T17:04:32Z grettke joined #scheme 2016-09-12T17:07:04Z Riastradh quit (Ping timeout: 264 seconds) 2016-09-12T17:12:56Z badkins_ joined #scheme 2016-09-12T17:16:36Z badkins quit (Ping timeout: 265 seconds) 2016-09-12T17:16:55Z nilg quit (Remote host closed the connection) 2016-09-12T17:17:46Z badkins joined #scheme 2016-09-12T17:18:55Z robotoad joined #scheme 2016-09-12T17:21:03Z badkins_ quit (Ping timeout: 244 seconds) 2016-09-12T17:25:15Z excelsior quit (Quit: Lost terminal) 2016-09-12T17:27:28Z rgrinberg quit (Ping timeout: 255 seconds) 2016-09-12T17:29:34Z daviid joined #scheme 2016-09-12T17:34:08Z sethalves quit (Ping timeout: 244 seconds) 2016-09-12T17:41:38Z sethalves joined #scheme 2016-09-12T17:43:36Z jao joined #scheme 2016-09-12T17:45:25Z mastokley joined #scheme 2016-09-12T17:49:06Z fantazo quit (Quit: Verlassend) 2016-09-12T17:49:26Z rgrinberg joined #scheme 2016-09-12T17:50:45Z nilg joined #scheme 2016-09-12T17:55:06Z AlexDenisov joined #scheme 2016-09-12T18:02:34Z mastokley quit (Remote host closed the connection) 2016-09-12T18:03:14Z mastokley joined #scheme 2016-09-12T18:19:30Z ggole_ joined #scheme 2016-09-12T18:21:52Z ggole quit (Ping timeout: 240 seconds) 2016-09-12T18:25:17Z alezost quit (Quit: I live in GuixSD and Emacs ) 2016-09-12T18:29:35Z jmd joined #scheme 2016-09-12T18:31:53Z niklasl2 joined #scheme 2016-09-12T18:35:03Z niklasl quit (Ping timeout: 276 seconds) 2016-09-12T18:35:37Z nilg quit (Read error: Connection reset by peer) 2016-09-12T18:46:30Z cemerick quit (Ping timeout: 265 seconds) 2016-09-12T18:46:33Z grettke quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-09-12T18:47:22Z ggole__ joined #scheme 2016-09-12T18:50:52Z ggole_ quit (Ping timeout: 264 seconds) 2016-09-12T18:55:59Z grettke joined #scheme 2016-09-12T18:56:10Z grettke quit (Client Quit) 2016-09-12T18:56:34Z grettke joined #scheme 2016-09-12T18:58:38Z grettke quit (Client Quit) 2016-09-12T18:59:47Z grettke joined #scheme 2016-09-12T19:00:48Z gravicappa joined #scheme 2016-09-12T19:01:27Z cemerick joined #scheme 2016-09-12T19:01:44Z mokuso joined #scheme 2016-09-12T19:05:44Z ggole__ quit 2016-09-12T19:05:51Z jcowan: Given a routine that takes an x-dimensional array and returns a y-dimensional array whose elements are z-dimensional arrays (e.g. a 1000 x 2 x 2 array transformed into a 1000-element vector of 2 x 2 matrices), is it clearer to specify y or z to the routine? 2016-09-12T19:06:08Z jcowan: (This is the array-curry routine of SRFI 122) 2016-09-12T19:11:36Z pierpa: hmmm 2016-09-12T19:13:50Z TheLemonMan joined #scheme 2016-09-12T19:14:42Z gnomon: jcowan, hmmm indeed. 2016-09-12T19:15:29Z gnomon: jcowan, in general I would tend to favour transformation routines where the call specifies the intended result, rather than the format of the input, just for the sake of clear reading. 2016-09-12T19:15:50Z jcowan: Either x or y does specify the intended result, though 2016-09-12T19:16:38Z jcowan: This assumes that a 2 x 2 matrix is a thing, not merely a size-2 vector of size-2 vectors 2016-09-12T19:16:42Z gnomon nods 2016-09-12T19:16:55Z gnomon: I get what you're saying. 2016-09-12T19:17:25Z gnomon: You know what? Discount my opinion for now. I've used this type of functionality too long ago for my reflexes to be worth anything. 2016-09-12T19:17:31Z gnomon: Beg your pardon. 2016-09-12T19:19:42Z jcowan: np 2016-09-12T19:19:47Z jcowan: negative evidence is still evidence 2016-09-12T19:20:14Z gnomon: nevidence 2016-09-12T19:20:58Z fantazo joined #scheme 2016-09-12T19:20:59Z pierpa: can supply both? it's redundant, but some redundancy can't hurt 2016-09-12T19:21:16Z jcowan: then the problem of which order to specify them in? 2016-09-12T19:21:20Z pierpa: or supply all the dimensions 2016-09-12T19:21:48Z pierpa: when in doubt do as APL does! 2016-09-12T19:21:56Z jcowan: Specifying y before z seems more natural, as in the definition above. Which means you might as well stop at y. 2016-09-12T19:22:06Z cemerick quit (Ping timeout: 244 seconds) 2016-09-12T19:22:06Z pierpa: hmmm 2016-09-12T19:27:31Z fantazo: btw. APL are there scheme libraries for making scheme as cool as APL? (I'm sorry I actually don't know any APL much. The only thing I know that APL operates on tables) 2016-09-12T19:27:52Z fantazo: (so basically working with vectors would do it, right, right?) 2016-09-12T19:27:54Z DeeEff[m]: jcowan: my first reaction is that you'd specify y 2016-09-12T19:27:56Z DeeEff[m]: not z 2016-09-12T19:28:15Z DeeEff[m]: do you have the procedure signature for both? 2016-09-12T19:28:50Z gnomon: fantazo, check out APROL for an APL <-> J bridge. 2016-09-12T19:29:20Z gnomon: fantazo, also SRFI-25, and I think -95? 2016-09-12T19:29:27Z gnomon: SRFI-97 2016-09-12T19:29:51Z jcowan: SRFI 122 is in progress, and there will be a later SRFI built on it to provide other "core" things 2016-09-12T19:29:52Z gnomon: Also SRFI-47 and SRFI-63, I think, for reference. 2016-09-12T19:31:22Z DeeEff[m]: jcowan: is SRFI-122 an extension of ArraysCowan? 2016-09-12T19:31:31Z jcowan: In APL enclose, z is always 1 2016-09-12T19:31:37Z jcowan: DeeEff[m]: No, a competitor 2016-09-12T19:31:56Z jcowan: but I think it's good enough if I add some of the utilities from ArraysCowan 2016-09-12T19:32:04Z jcowan: notably the transforms, inner and outer product, etc. 2016-09-12T19:32:16Z jcowan: We lose degenerate arrays, but I can live with that. 2016-09-12T19:32:29Z Riastradh joined #scheme 2016-09-12T19:33:37Z pierpa: I thought the APL equivalent of this was called RESHAPE? 2016-09-12T19:34:37Z jcowan: No, that has nothing to do with nested arrays 2016-09-12T19:34:39Z pierpa: http://microapl.com/apl_help/ch_020_020_470.htm 2016-09-12T19:34:44Z pierpa: hmmm 2016-09-12T19:34:52Z jcowan: it takes an array, converts it into a list, and then imposes a new shape on the list. 2016-09-12T19:35:04Z jcowan: Any nested arrays remain nested after reshape. 2016-09-12T19:37:14Z pierpa: here's a page about enclose: http://microapl.com/apl_help/ch_020_020_580.htm 2016-09-12T19:39:10Z nanoz joined #scheme 2016-09-12T19:40:01Z nilg joined #scheme 2016-09-12T19:43:02Z civodul joined #scheme 2016-09-12T19:45:41Z leot joined #scheme 2016-09-12T19:47:59Z fantazo quit (Quit: Verlassend) 2016-09-12T20:02:49Z civodul` joined #scheme 2016-09-12T20:03:56Z DeeEff[m]: jcowan: what's a degenerate array again? 2016-09-12T20:04:53Z civodul quit (Ping timeout: 265 seconds) 2016-09-12T20:05:15Z jcowan: One with either zero dimensions, or an upper bound equal to its lower bound. 2016-09-12T20:05:20Z jcowan: SRFI 122 does not support them. 2016-09-12T20:05:40Z jcowan: The former kind holds 1 element, the latter kind holds 0 elements. 2016-09-12T20:06:28Z DeeEff[m]: so we can't have 1x1 arrays? that seems a little strange... 2016-09-12T20:06:30Z mokuso quit (Quit: leaving) 2016-09-12T20:06:48Z pierpa: we can 2016-09-12T20:06:50Z DeeEff[m]: or do values i.e. (define a 3 ) count as a 0x0 array? 2016-09-12T20:07:07Z DeeEff[m]: in which case that is incorrect, and is a horrible leftover from (what I assume) to be MATLAB 2016-09-12T20:07:39Z pierpa: what's not supported are arrays with one dimensions's index going from 1 to 1 2016-09-12T20:08:39Z pierpa: (if indexes take a starting point) 2016-09-12T20:08:54Z pierpa: or 3x0 as an example, if they don't 2016-09-12T20:08:55Z civodul` is now known as civodul 2016-09-12T20:09:39Z rgrinberg quit (Ping timeout: 244 seconds) 2016-09-12T20:19:40Z AlexDenisov quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-09-12T20:20:05Z nanoz left #scheme 2016-09-12T20:21:39Z nanoz joined #scheme 2016-09-12T20:23:11Z TheLemonMan quit (Quit: "It's now safe to turn off your computer.") 2016-09-12T20:27:31Z jmd quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-09-12T20:28:10Z civodul` joined #scheme 2016-09-12T20:29:21Z gravicappa quit (Ping timeout: 250 seconds) 2016-09-12T20:29:46Z civodul quit (Ping timeout: 250 seconds) 2016-09-12T20:31:54Z stepnem quit (Ping timeout: 260 seconds) 2016-09-12T20:37:32Z drdo quit (Ping timeout: 250 seconds) 2016-09-12T20:44:07Z hive-mind quit (Ping timeout: 255 seconds) 2016-09-12T20:45:32Z hive-mind joined #scheme 2016-09-12T20:46:12Z jcowan: DeeEff[m]: No, values don't count as dimension-0 arrays 2016-09-12T20:46:29Z jcowan: pierpa: correct 2016-09-12T20:46:53Z jcowan: But his code barfs if you try to create an array with no dimensions 2016-09-12T20:49:15Z Riastradh: What if you try to create an array with both covariant and contravariant dimensions? 2016-09-12T20:49:45Z jcowan: Riastradh: I don't know what that means 2016-09-12T20:50:18Z Riastradh: Well, covariant dimensions transform in the direction of coordinate transformations, and contravariant ones transform in the reverse direction! 2016-09-12T20:50:43Z nanoz: hi i'm learning scheme , currently learning scheme , (cons 1 2) , is both 1 and 2 are address ? 2016-09-12T20:51:13Z LeoNerd: They're numeric literals 2016-09-12T20:51:15Z pierpa: there's no concept of "address"in scheme 2016-09-12T20:51:50Z jcowan: ALl you know and all you need to know is that if you pass 1 and 2 to cons, then you get back a pair whose car is 1 (the number) and whose cdr is 2 (the number). 2016-09-12T20:52:04Z jcowan: Exactly how pairs and numbers are implemented is not your concern. 2016-09-12T20:53:00Z civodul` is now known as civodul 2016-09-12T21:01:19Z nilg quit (Read error: Connection reset by peer) 2016-09-12T21:01:30Z Tenhi_ joined #scheme 2016-09-12T21:05:59Z pierpa quit (Read error: Connection reset by peer) 2016-09-12T21:06:10Z Tenhi_ quit (K-Lined) 2016-09-12T21:07:20Z pierpa joined #scheme 2016-09-12T21:07:42Z Steverman joined #scheme 2016-09-12T21:10:39Z drdo joined #scheme 2016-09-12T21:15:27Z badkins quit (Remote host closed the connection) 2016-09-12T21:17:59Z civodul quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-09-12T21:28:39Z ASau joined #scheme 2016-09-12T21:33:55Z trystero joined #scheme 2016-09-12T21:34:12Z tristero quit (Ping timeout: 240 seconds) 2016-09-12T21:34:27Z Steverman quit (Ping timeout: 276 seconds) 2016-09-12T21:34:59Z JoshS joined #scheme 2016-09-12T21:36:28Z drdo quit (Ping timeout: 250 seconds) 2016-09-12T21:37:42Z drdo joined #scheme 2016-09-12T21:51:57Z groovy3shoes joined #scheme 2016-09-12T21:52:05Z leot quit (Quit: BBT) 2016-09-12T22:00:12Z JoshS quit (Read error: Connection reset by peer) 2016-09-12T22:00:45Z JoshS joined #scheme 2016-09-12T22:02:59Z pjb joined #scheme 2016-09-12T22:13:13Z mumptai quit (Remote host closed the connection) 2016-09-12T22:14:52Z ovenpasta quit (Ping timeout: 264 seconds) 2016-09-12T22:22:40Z aries_liuxueyang quit (Ping timeout: 264 seconds) 2016-09-12T22:23:48Z nanoz quit (Read error: Connection reset by peer) 2016-09-12T22:24:25Z excelsior joined #scheme 2016-09-12T22:28:49Z aries_liuxueyang joined #scheme 2016-09-12T22:30:20Z zacts joined #scheme 2016-09-12T22:37:07Z pjb quit (Remote host closed the connection) 2016-09-12T22:52:14Z JoshS quit (Ping timeout: 244 seconds) 2016-09-12T22:54:40Z groscoe joined #scheme 2016-09-12T23:01:38Z robotoad quit (Quit: My MacBook has gone to sleep. ZZZzzz…) 2016-09-12T23:05:07Z JoshS joined #scheme 2016-09-12T23:09:26Z lambda-11235 joined #scheme 2016-09-12T23:21:00Z robotoad joined #scheme 2016-09-12T23:25:11Z JoshS quit (Quit: Leaving) 2016-09-12T23:29:06Z bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) 2016-09-12T23:29:18Z hive-mind quit (Remote host closed the connection) 2016-09-12T23:31:02Z jcowan quit (Quit: Leaving) 2016-09-12T23:34:09Z jlongster quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-09-12T23:35:01Z hive-mind joined #scheme 2016-09-12T23:45:54Z Fare joined #scheme 2016-09-12T23:46:03Z aries_liuxueyang quit (Ping timeout: 240 seconds) 2016-09-12T23:46:44Z parsnip left #scheme 2016-09-12T23:56:59Z aries_liuxueyang joined #scheme