tonyg changed the topic of #racket to: The Racket Programming Language -- https://racket-lang.org/ -- https://gather.town/app/wH1EDG3McffLjrs0/racket-users -- http://pasterack.org -- logged at https://libera.irclog.whitequark.org/racket/ -- This is the right place to ask for help with (Dr)Racket. Remember to wait around for an answer!
Origin has quit [Ping timeout: 260 seconds]
shawnw has quit [Ping timeout: 268 seconds]
notzmv has joined #racket
shawnw has joined #racket
chiselfuse has quit [Remote host closed the connection]
skapata has quit [Remote host closed the connection]
chiselfuse has joined #racket
vats has joined #racket
danse-nr3 has joined #racket
vats has quit [Ping timeout: 268 seconds]
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #racket
danse-nr3 has quit [Ping timeout: 264 seconds]
danse-nr3 has joined #racket
danse-nr3 has quit [Ping timeout: 260 seconds]
danse-nr3 has joined #racket
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #racket
ormaaj has quit [Quit: kernel += 0.0.1]
ormaaj has joined #racket
vats has joined #racket
vats has quit [Ping timeout: 268 seconds]
danse-nr3 has quit [Ping timeout: 255 seconds]
danse-nr3 has joined #racket
shawnw has quit [Ping timeout: 246 seconds]
shawnw has joined #racket
shawnw has quit [Remote host closed the connection]
danse-nr3 has quit [Read error: Connection reset by peer]
danse-nr3 has joined #racket
nm0i has quit [Remote host closed the connection]
nm0i has joined #racket
kawzeg has quit [Ping timeout: 256 seconds]
danse-nr3 has quit [Ping timeout: 255 seconds]
vats has joined #racket
vats has quit [Ping timeout: 268 seconds]
to-hu has joined #racket
danse-nr3 has joined #racket
danse-nr3 has quit [Read error: Connection reset by peer]
to-hu has quit [Remote host closed the connection]
dunj3 has joined #racket
Origin has joined #racket
danse-nr3 has joined #racket
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #racket
danse-nr3 has quit [Ping timeout: 256 seconds]
danse-nr3 has joined #racket
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #racket
skapata has joined #racket
danse-nr3 has quit [Ping timeout: 268 seconds]
danse-nr3 has joined #racket
morte has joined #racket
danse-nr3 has quit [Ping timeout: 255 seconds]
danse-nr3 has joined #racket
<Putonlalla> Is there a primitive like `syntax-e` that doesn't traverse pairs that happen to be lists?
<samth> Putonlalla: isn't `syntax-e` that? It doesn't traverse anything.
<Putonlalla> Given syntax of a pair, it gives me a pair of syntax, but given syntax of a list, it gives me a list of syntax instead.
Origin has quit [Ping timeout: 240 seconds]
Origin has joined #racket
<samth> Putonlalla: that's based on what was put into the syntax object
<samth> rudybot: (syntax-e (datum->syntax #f (list #'1 #'2)))
<rudybot> samth: your sandbox is ready
<rudybot> samth: ; Value: '(#<syntax:eval:1:36 1> #<syntax:eval:1:40 2>)
<samth> rudybot: (syntax-e (datum->syntax #f (cons #'1 #'(2))))
<rudybot> samth: ; Value: '(#<syntax:eval:1:36 1> . #<syntax:eval:1:40 (2)>)
<Putonlalla> When dealing with syntax, lists and pairs are distinct? I guess they must be.
<Putonlalla> I was expecting `(syntax-e #'(1 2 . 3))` to produce `` `(,#'1 ,#'(2 . 3))`` instead of `` `(,#'1 ,#'2 . ,#'3)``.
<samth> Putonlalla: it's not that lists and pairs are distinct. it's that a syntax object wraps an arbitrary racket value, which can be a list or anything else
<samth> there's a separate question about the behavior of `syntax` and which values it put in the syntax object.
gonzigdude has quit [Quit: artafath!]
gonzigdude has joined #racket
morte has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
morte has joined #racket
szkl has quit [Quit: Connection closed for inactivity]
danse-nr3 has quit [Ping timeout: 260 seconds]
morte has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
danse-nr3 has joined #racket
rekahsoft has joined #racket
macabro has joined #racket
fun-safe-math has quit [Ping timeout: 264 seconds]
fun-safe-math has joined #racket
danse-nr3 has quit [Ping timeout: 252 seconds]
rekahsoft has quit [Remote host closed the connection]
rekahsoft has joined #racket
macabro has quit [Ping timeout: 255 seconds]
shawnw has joined #racket
Tuplanolla has joined #racket
morte has joined #racket
morte has quit [Ping timeout: 252 seconds]
morte has joined #racket
gera has joined #racket
lagash has joined #racket
morte has quit [Ping timeout: 252 seconds]
Kratacoa has joined #racket
rekahsoft has quit [Ping timeout: 268 seconds]
sudden has quit [Ping timeout: 268 seconds]
sudden has joined #racket
Kratacoa has quit [Ping timeout: 264 seconds]
morte has joined #racket
Tuplanolla has quit [Quit: Leaving.]
morte has quit [Remote host closed the connection]