00:06 (quit) jonrafkind: Ping timeout: 264 seconds 00:13 Samy: In the body of my function_a i have 2 another functions a_1 and a_2. If i run function_a i want to get return statements from a_1 and a_2 but i get only from a_2 one. why ? 00:14 (quit) masm: Quit: Leaving. 00:15 Samy: If need i can post my code here 00:52 Samy: How i can control is a element in a list or not? 01:13 (join) Gwyth 01:29 (join) jonrafkind 02:41 (quit) jonrafkind: Ping timeout: 276 seconds 04:21 (quit) Samy: Quit: Page closed 04:29 (join) lucian 05:08 (join) ernst 05:45 (quit) bill_h: Quit: Leaving 05:48 (join) b-man_ 06:11 (join) Lajla 06:31 (quit) mario-goulart: Remote host closed the connection 06:31 (quit) lucian: Ping timeout: 245 seconds 06:32 (join) mario-goulart 06:53 (quit) b-man_: Remote host closed the connection 06:53 (join) b-man_ 06:57 (quit) Gwyth: Ping timeout: 240 seconds 07:00 (join) lucian 07:11 (quit) lucian: Ping timeout: 255 seconds 07:18 (join) lucian 07:21 (join) masm 07:22 (join) hanDerPeder 08:04 (join) bzoto 08:04 (quit) bzoto: Client Quit 08:24 (join) MayDaniel 08:24 (quit) MayDaniel: Changing host 08:24 (join) MayDaniel 08:26 (join) Gwyth 08:41 (quit) MayDaniel: Read error: Connection reset by peer 08:42 (quit) b-man_: Ping timeout: 272 seconds 09:32 (join) b-man_ 10:26 (join) MayDaniel 10:28 (nick) samth_away -> samth 10:40 samth: Gwyth, you almost certainly don't want to do what you're trying to do 10:40 samth: in order, i would try the following: 10:41 samth: (1) (define a1 fun1) ;; use the function as a value 10:41 samth: (2) a hashtable mapping names like "fun1" to values like the fun1 function 10:42 samth: (3) if neither of those solutions work, then come back and ask again 10:57 (quit) b-man_: Remote host closed the connection 11:17 (join) mceier 11:25 (join) b-man_ 11:37 (join) offby1 11:43 (join) anRch 11:51 (join) sstrickl 11:54 (quit) b-man_: Ping timeout: 255 seconds 11:58 (quit) Lajla: Read error: Connection reset by peer 11:59 (join) Lajla 12:16 (quit) rapacity: Read error: Operation timed out 12:19 (quit) anRch: Quit: anRch 12:19 (join) rapacity 12:29 (join) anRch 12:37 (join) jeapostrophe_ 12:38 (join) jonrafkind 12:38 askhader: samth: A function may only return a single entity. That entity may be a pair. 12:42 jonrafkind: rudybot: eval (let ([x (lambda () (values 1 2 3))]) (x)) 12:42 rudybot: jonrafkind: ; Value: 1 12:42 rudybot: jonrafkind: ; Value#2: 2 12:42 rudybot: jonrafkind: ; Value#3: 3 12:44 samth: askhader, what are you referring to? 12:44 askhader: Gah 12:44 askhader: Sorry Sammy* 12:44 samth: ah 12:46 (quit) jeapostrophe_: Quit: jeapostrophe_ 12:47 (quit) seth: Read error: Connection reset by peer 12:47 (quit) tv|z: Ping timeout: 245 seconds 12:49 (join) tv|z 13:04 (quit) anRch: Quit: anRch 13:19 (quit) MayDaniel: 14:06 (join) anRch 14:22 (join) carleastlund 14:38 (join) MayDaniel 14:45 (quit) MayDaniel: 14:46 (quit) carleastlund: Quit: carleastlund 14:47 (join) carleastlund 14:48 Demosthenes: so i'm trying out geiser, and TAB is throwing an error "Symbol's function definition is void: completion-at-point". I don't see a definition for completion-at-point in any of the source files, jsut calls to it 14:49 Demosthenes: was there a library dependency i could have missed? 15:10 (quit) sstrickl: Quit: sstrickl 15:10 (join) sstrickl 15:36 (join) MayDaniel 15:39 jao: Demosthenes: what's your emacs version? 15:48 Demosthenes: 23.1.1 15:49 Demosthenes: jao: i'm fairly recent... i tend to keep up with org-mode 15:50 jao: Demosthenes: and what does C-h f completion-at-point say? 15:51 Demosthenes: oh crud, i'm reading the release notes on 23.2, and completion-at-point is a new emacs provided command 15:51 Demosthenes: http://www.gnu.org/software/emacs/NEWS.23.2 15:51 jao: Demosthenes: oh, i'll have to update the docs then 15:51 Demosthenes: urg, and i just finished hashing out org, ya-snippet, and autocomplete to keep them playing nice with tab 15:52 Demosthenes: speaking of, OMG autocomplete in the repl ROCKS 15:52 jao: it's also available in racket buffers :) 15:52 Demosthenes: i mean auto-complete-mode 15:53 jao: ah, *auto*complete, sorry 15:53 Demosthenes: not geiser specific 15:53 Demosthenes: yeah, m-tab would be cool in a racket buff ;] 15:53 jao: you mean in drracket? 15:53 Demosthenes: uh, i only use emacs 15:53 Demosthenes: this is my second day in scheme 15:54 jao: then m-tab *is* available in racket buffers (but you'll need 23.2, i'm afraid) 15:54 Demosthenes: i read in the directions that m-tab was the geiser compelte key 15:54 Demosthenes: exactly 15:55 jao: Demosthenes: or perhaps you could define an alias to the old name 15:55 (quit) Gwyth: Ping timeout: 245 seconds 15:57 Demosthenes: atm i'm running what ubuntu provides for 10.10 15:57 Demosthenes: i'd rather not manually install emacs for now. if completion is the only thing that impacts, its ok 15:58 Demosthenes: especially given i can complete words used in any buffer, just not doc lookups against the spec 15:58 (quit) anRch: Quit: anRch 15:59 chandler: Demosthenes: There's a PPA with 23.2 backports. 15:59 chandler: https://launchpad.net/~ubuntu-elisp/+archive/ppa 16:01 Demosthenes: cool 16:02 (quit) MayDaniel: 16:02 Demosthenes: i'm still getting used to paredit mode, thats slick 16:05 (quit) abbe: Changing host 16:05 (join) abbe 16:08 jao: Demosthenes: does "(defalias 'completion-at-point 'complete-symbol)" fix your problem? 16:14 Demosthenes: then it says i have no tags tables loaded 16:15 jao: in a geiser repl? 16:16 Demosthenes: yep 16:16 Demosthenes: Starting Geiser REPL for racket ... 16:16 Demosthenes: Racket REPL up and running! 16:16 Demosthenes: if: Wrong number of arguments: #[(arg) "ƒ 16:16 Demosthenes: [arg info-complete-symbol fboundp complete-tag error "%s" substitute-command-keys "No tags table loaded; use \\[visit-tags-table] to load one"] 4 1945487 "P"], 0 16:17 Demosthenes: yeah, tehre were some bytestrings there... anyway, its not required 16:17 Demosthenes: i've got the ref manual up in one window, and the repl in the other. auto-complete is allowing reuse in the buffer, so its good 16:19 jao: okay (real geiser completion is better, imho (it completes on identifiers visible in the current namespace, asking the racket process for that)) 16:19 Demosthenes: i'm sure it's superior, the issue preventing me from using it is on my side. i'll deal until i upgraed emacs ;] 16:20 Demosthenes: i appreciate you writing it! 16:20 jao: np! 16:20 chandler: Upgrading from the PPA is very easy, FYI... 16:20 (join) Fare 16:21 Demosthenes: chandler: its not the ppa... its ensuring the integration for other modes isn't affected 16:21 Demosthenes: i have a project to do... learning scheme on the fly to implement it, upgrading emacs isn't high on my list 16:22 Demosthenes: *ponder* lets see, i'm adjusting to the diffs between CL and racket (i should have just learned racket first), loving the regexp library, text scraping and normalizing to populate sqlite, learning scheme->sqllite integration, etc. 16:27 (join) b-man_ 16:27 Demosthenes: i'm all ears for suggestions on those. ;] when i get around to fixing emacs, i'll likely compile it from source and throw it in /usr/local 16:31 Demosthenes: omg, file->lines, what a godsend 16:37 (join) jeapostrophe_ 16:39 (join) MayDaniel 17:07 (join) alexsura1i 17:09 (quit) MayDaniel: Read error: Connection reset by peer 17:15 (quit) Eren: Read error: Operation timed out 17:15 (quit) b-man_: Remote host closed the connection 17:16 (join) Eren 17:19 (join) rmitt 17:23 rmitt: picayune question re find (rnrs/lists-6.rkt): is it not inefficient to dispense with a 'let' and evaluate (car list) twice? I can see a compiler optimizing this away, but can the interpreter really do the same? 17:30 samth: rmitt, first, there's no 'interpreter' in Racket on any significant platform, it's all jit-compiled 17:30 samth: second, that would probably be more efficient; send in a patch! 17:30 (quit) lucian: Remote host closed the connection 17:31 (join) lucian 17:33 rmitt: samth: Thanks. I thought perhaps it was decided that the let would cost about as much as two calls to car. Also, I know next to nothing about jit, but was under the impression that some VMs (e.g., JVM?) could optimize away the common expression. 17:35 samth: some indeed can do that optimizatio 17:35 samth: n 17:42 (quit) jeapostrophe_: Quit: jeapostrophe_ 17:43 (join) jeapostrophe_ 17:43 (quit) jeapostrophe_: Client Quit 18:10 (quit) hanDerPeder: Quit: hanDerPeder 18:23 (join) jeapostrophe_ 18:23 (quit) jeapostrophe_: Client Quit 18:33 (quit) sstrickl: Quit: sstrickl 18:49 (nick) samth -> samth_away 19:02 (quit) rmitt: Quit: Page closed 19:14 (quit) mceier: Quit: leaving 19:27 (join) Gwyth 19:27 (quit) lucian: Remote host closed the connection 20:27 (join) b-man_ 20:29 (join) lisppaste 20:36 (quit) jonrafkind: Ping timeout: 240 seconds 20:46 (quit) Gwyth: Ping timeout: 260 seconds 21:09 (quit) alexsuraci: Disconnected by services 21:09 (nick) alexsura1i -> alexusraci 21:19 (join) Gwyth` 21:20 (quit) Gwyth`: Client Quit 21:53 (join) bobo 21:53 bobo: anyone here? 22:04 (quit) bobo: Quit: Page closed 22:16 (quit) b-man_: Remote host closed the connection 22:25 (quit) carleastlund: Quit: carleastlund 22:59 rapacity: how do I iterate over the keys/values of a hash using for: in typed/racket ? 23:08 Demosthenes: jao: i noticed geiser on having bad input to the repl, alt-p brings up the last correct statement. makes editing difficult when you typo 23:12 jao: Demosthenes: if by 'bad input' you mean an incomplete sexp, that's difficult to fix. Geiser only sends (and saves) stuff to racket in sexp units. 23:12 Demosthenes: *ponder* 23:13 Demosthenes: yeah, slime kept every input in the history 23:13 Demosthenes: i was really thrown when i keyed something wrong, and hit alt-p to pull it up to fix the error and it wasn't there... i had to scroll the buffger back and mounse-2 that text so it'd be pasted as input 23:13 Demosthenes: haha, on an unrelated note, i just discovered scheme has no NIL ;] 23:14 Demosthenes: *laugh* 23:21 eli: Demosthenes: That's a very nice feature. 23:22 eli: Having a NIL that is a boolean, a list, and a symbol in CL is one giant wart. 23:22 eli: IMO/YMMV/etc. 23:23 (quit) masm: Quit: Leaving. 23:24 chandler: Alas, Scheme didn't completely remove that wart. 23:25 eli: You mean the #f/anything-else? 23:25 chandler: (if '() 1 2) doesn't make sense regardless of whether it evaluates to 1 or 2. 23:25 chandler: Yeah. 23:26 eli: Yeah, but that's a *much* smaller wart to my taste. 23:26 chandler: I try not to taste warts. 23:26 eli: Especially given the sticky issue of `and' etc wrt tail calls which is a good point in favor of this behavior. 23:27 chandler: Not sure I understand the issue. 23:29 eli: (and E1 E2) should evaluate E2 in a tail context, which means that `and' cannot enforce proper booleans. You can do that enforcing elsewhere (like in `cond' and `if' tests), but that makes things a little more confusing in yet another wartish way. 23:38 Demosthenes: yeah ;] 23:39 Demosthenes: always idiosyncrasies 23:39 Demosthenes: *shrug*