#scheme

Welcome to #scheme! Please note: Public logs are posted at http://gmw.xen.prgmr.com/irc-logs | (map surf-to '("https://schemers.org" "https://srfi.schemers.org" "http://community.schemewiki.org" "https://mitpress.mit.edu/sicp" "https://groups.csail.mit.edu/mac/classes/6.001/abelson-sussman-lectures" "https://htdp.org" "https://scheme.com/tspl4" "https://paste.debian.net"))
Earlier messages
<TCZ>so this leaf go through whole cond to resume
<TCZ>and then you go out to loop cdr
eponyquit (Quit: QUIT)
<amazigh>did you take into account (caller '()) after the loop inside generate-leaves?
<TCZ>i mean rest-of-tree starts in cond
<amazigh>yes
<TCZ>so tree is the same thing it was returned last time
<TCZ>and its checked second time
<TCZ>but this time there is no call/cc only resume at the end
<TCZ>haha
<TCZ>who even invented this stupid call cc
<amazigh>^^
<amazigh>I added those lines to debug:
<amazigh> (pk 'car-tree (loop (car tree)))
<amazigh> (pk 'cdr-tree (loop (cdr tree))))
<amazigh>(define pk (lambda args (write args) (car (reverse args)))
eddof13quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
<amazigh>not who, how.
<amazigh>how will tell you who he or she was too
<amazigh>anyway, it is late.
<ChoHag>The night has just begun.
<TCZ>Oh i can add loud 'pair?' and 'null?' predicates
<TCZ>but its late right
<ChoHag>Only if you spell them PAIR? and NULL?.
<TCZ>double? and nothing?
pranavatsleft (Error from remote client)
pranavatsjoined
wyrdquit (Ping timeout: 240 seconds)
<TCZ>Hmm it seems i was wrong. Leaf is not tested again...
wyrdjoined
TCZquit (Quit: Leaving)
madagechanged nick to pussyriot
Xploratorquit (Quit: Leaving)
wonko-th1-sanequit (Ping timeout: 240 seconds)
Psyburquit (Ping timeout: 240 seconds)
Psyburjoined
Perryman_quit (Remote host closed the connection)
badkinsquit (Remote host closed the connection)
sp1ff`joined
sp1ffquit (Ping timeout: 240 seconds)
pranavatsleft (Error from remote client)
pranavatsjoined
badkinsjoined
zwrquit (Ping timeout: 268 seconds)
zwrjoined
<tokie>i haven't added (read) support to my scheme yet so a friend ended up using the repl as an input method: https://repl.marwood.io/?gist=975f94137e1ea2ff0ae2dd843313ed07
phoebosleft (bye)
...
phoebosjoined
zactsjoined
phoebosleft
Later messages