samth changed the topic of #racket to: Racket v7.8 has been released: https://blog.racket-lang.org/2020/08/racket-v7-8.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
terrorjack has joined #racket
dzoe has quit [Ping timeout: 246 seconds]
epony has joined #racket
sm2n has quit [Read error: Connection reset by peer]
sm2n has joined #racket
ermo has quit [Ping timeout: 260 seconds]
tilpner_ has joined #racket
tilpner has quit [Ping timeout: 240 seconds]
tilpner_ is now known as tilpner
Codaraxis_ has joined #racket
ermo has joined #racket
Codaraxis has quit [Ping timeout: 256 seconds]
Sgeo has quit [Read error: Connection reset by peer]
Sgeo has joined #racket
TCZ has quit [Quit: Diabe? tkwi w szczegó?ach]
acarrico has quit [Ping timeout: 256 seconds]
phillbush has quit [Quit: Leaving]
dataangel has quit [Ping timeout: 240 seconds]
Codaraxis__ has joined #racket
Codaraxis_ has quit [Ping timeout: 260 seconds]
_whitelogger has joined #racket
tilpner_ has joined #racket
Sgeo_ has joined #racket
tilpner has quit [Remote host closed the connection]
tilpner_ is now known as tilpner
Sgeo has quit [Ping timeout: 240 seconds]
_whitelogger has joined #racket
nebunez has quit [Ping timeout: 240 seconds]
Codaraxis__ has quit [Ping timeout: 272 seconds]
dan_f has joined #racket
caente has quit [Ping timeout: 246 seconds]
_whitelogger has joined #racket
dvdmuckle has quit [Quit: Bouncer Surgery]
dan_f has quit [Ping timeout: 264 seconds]
dan_f has joined #racket
dvdmuckle has joined #racket
narimiran has joined #racket
_whitelogger has joined #racket
greghendershott has quit [Quit: Connection closed for inactivity]
dan_f has quit [Quit: dan_f]
dan_f has joined #racket
dan_f has quit [Client Quit]
narimiran has quit [Ping timeout: 260 seconds]
narimiran has joined #racket
aorst has joined #racket
notzmv has joined #racket
orivej has quit [Ping timeout: 260 seconds]
ArneBab has joined #racket
Sgeo_ has quit [Read error: Connection reset by peer]
fiddlerwoaroof has left #racket ["Using Circe, the loveliest of all IRC clients"]
tfb has joined #racket
YuGiOhJCJ has joined #racket
orivej has joined #racket
ArneBab has quit [Remote host closed the connection]
tfb has quit []
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
orivej has quit [Ping timeout: 260 seconds]
phillbush has joined #racket
caente has joined #racket
catonano has joined #racket
tatsumaru has joined #racket
<tatsumaru> hey guys, is there any difference between typing '(pork) and (cons 'pork '()) in racket? If not why is it recommended to use cons to create lists than simply typing an '? thanks.
<bremner> not sure where it is recommended to use cons? it is different in that it evaluates its arguments, which is sometimes what you want
<bremner> cons is often used in recursive algorithms to add one element to the front of a list
<tatsumaru> bremner, the book The Little Schemer recommends to prefer cons when creating lists
<bremner> I guess it depends on context, and what your goal is.
<tatsumaru> hmm but in the book Realm of Racket, it is said that 'a chain of cons cells' and a list are exactly the same thing, so doesn't '(pork) already contain cons by that logic?
<bremner> sure.
<bremner> but it's a different syntax that _in this case_ happens to do the same thing
<bremner> in general quote and cons do different things
<bremner> there is also (list 'pork)
<bremner> there are lots of primitives that make lists in LISP-like languages. It's in the name, after all.
<tatsumaru> is (list 'pork) equal to '(pork) ?
<bremner> they evaluate to the same thing
<bremner> rudybot: eval (list 'pork 'bun)
<rudybot> bremner: your sandbox is ready
<rudybot> bremner: ; Value: '(pork bun)
<tatsumaru> I see, thank you
<bremner> rudybot: (define x 'pork)
<rudybot> bremner: Done.
<bremner> rudybot: eval (list x 'bun)
<rudybot> bremner: ; Value: '(pork bun)
<bremner> rudybot: eval '(x bun)
<rudybot> bremner: ; Value: '(x bun)
<tatsumaru> hmm curious, so ' doesn't evaluate x
<bremner> yes. that's more or list the point of quote
<bremner> more or less
nullcone has quit [Quit: Connection closed for inactivity]
Sgeo has joined #racket
gproto23 has joined #racket
Steeve has joined #racket
andreyorst_ has joined #racket
andreyorst_ is now known as andreyorst
rj_ has joined #racket
jellie has joined #racket
aeth_ has joined #racket
aeth has quit [Ping timeout: 256 seconds]
acarrico has joined #racket
aeth_ is now known as aeth
ski has quit [Ping timeout: 240 seconds]
aorst has quit [Quit: aorst]
andreyorst has quit [Ping timeout: 246 seconds]
ski has joined #racket
acarrico has quit [Quit: Leaving.]
catonano has quit [Quit: catonano]
Steeve has quit [Quit: end]
Steeve has joined #racket
andreyorst has joined #racket
jellie has quit [Read error: Connection reset by peer]
izh_ has joined #racket
jellie has joined #racket
jellie has quit [Ping timeout: 240 seconds]
jellie has joined #racket
dzoe has joined #racket
<dzoe> samth: thanks for looking at the spam queue
<samth> dzoe: i only look at it when i get a notification, which sadly isn't often enough
<dzoe> I still wonder why it got flagged though ...
<dzoe> On the other hand, for normal humans most of our emails must look like a complete gibberish :)
wreed has joined #racket
wreed has quit [Quit: Goodbye]
wreed has joined #racket
nullcone has joined #racket
izh_ has quit [Quit: Leaving]
matta has joined #racket
endformationage has joined #racket
aeth has quit [Ping timeout: 272 seconds]
phillbush has quit [Ping timeout: 240 seconds]
aeth has joined #racket
jellie has quit [Ping timeout: 272 seconds]
jellie has joined #racket
wreed has quit [Quit: Goodbye]
phillbush has joined #racket
TCZ has joined #racket
tatsumaru has left #racket [#racket]
Steeve has quit [Quit: end]
matta has quit [Ping timeout: 240 seconds]
urbanslug has joined #racket
jellie has quit [Remote host closed the connection]
narimiran has quit [Quit: leaving]
andreyorst has quit [Ping timeout: 260 seconds]
tatsumaru has joined #racket
<tatsumaru> hey, noob question - are structures in Racket similar to OOP?
<samth> tatsumaru: no, not really
urbanslug has quit [Ping timeout: 260 seconds]
matta has joined #racket
tatsumaru has left #racket [#racket]
urbanslug has joined #racket
urbanslug has quit [Ping timeout: 260 seconds]
urbanslug has joined #racket
urbanslug has quit [Ping timeout: 240 seconds]
matta has quit [Ping timeout: 265 seconds]
matta has joined #racket
gproto23 has quit [Ping timeout: 256 seconds]
aeth has quit [Ping timeout: 256 seconds]
aeth has joined #racket
TCZ has quit [Quit: Diabe? tkwi w szczegó?ach]
orivej has joined #racket
greghendershott has joined #racket
rj_ has quit [Ping timeout: 256 seconds]
rj_ has joined #racket
aeth has quit [Ping timeout: 256 seconds]
evdubs has quit [Quit: Leaving]
aeth has joined #racket
evdubs has joined #racket