ChanServ changed the topic of #racket to: The Racket Programming Language -- https://racket-lang.org/ -- https://racket.discourse.group/ -- http://pasterack.org -- logged at https://libera.irclog.whitequark.org/racket/ -- This is the right place to ask for help with DrRacket. Remember to wait around for an answer!
Origin has joined #racket
macabro has quit [Ping timeout: 256 seconds]
lucasta has joined #racket
BrianSmall has joined #racket
Origin has quit [Ping timeout: 268 seconds]
Tuplanolla has quit [Quit: Leaving.]
<BrianSmall> \nick bsmall2b
BrianSmall is now known as bsmal2b
macabro has joined #racket
lucasta has quit [Remote host closed the connection]
macabro has quit [Ping timeout: 260 seconds]
<bsmal2b> This is my first attempt with IRC. Is this an appropriate place to ask about making a syntax-parser attempt work?
rahmanlar has quit [Server closed connection]
rahmanlar has joined #racket
<bsmal2b> I won't be asking the syntax-parse questions anytime soon. I'm just wondering if this a decent place to do it. Sometimes I try to generate pict-names from strings so I can use the named picts in slideshow animations. It feels so close after reading aoc-racket's Day 14 (and Day 7) for a few years... But it seems like each time I set out to do it
<bsmal2b> there are more, better options that I can't quite grasp before needing to move on to something else... So, I'm wondering if this is a place to show a problem or  code example and ask for advice..
<bremner> bsmal2b: sure, as long as you can wait a bit
runrin has joined #racket
mason has quit [Server closed connection]
mason has joined #racket
<bsmal2b> bremmer: No hurry, I can wait. Thanks for the nice reply. I'm trying to figure out how to reply now.
<bsmal2b> bremner: Thanks for verification!
bsmal2b has quit [Ping timeout: 250 seconds]
bsmall2 has joined #racket
bsmall2 is now known as bsmall2b
bsmall2b is now known as bsmall2
mdhughes has quit [Ping timeout: 246 seconds]
skapata has quit [Remote host closed the connection]
mdhughes has joined #racket
ak-1 has quit [Quit: ak-1]
bsmall2 has quit [Ping timeout: 250 seconds]
ak-1 has joined #racket
Tuplanolla has joined #racket
shawnw has quit [Ping timeout: 272 seconds]
dhil has joined #racket
krjst has quit [Server closed connection]
krjst has joined #racket
retropikzel has quit [Remote host closed the connection]
simendsjo has joined #racket
macabro has joined #racket
macabro has quit [Client Quit]
Origin has joined #racket
soverysour has joined #racket
soverysour has quit [Ping timeout: 268 seconds]
danse-nr3 has joined #racket
Origin has quit [Ping timeout: 268 seconds]
danse-nr3 has quit [Quit: Leaving]
soverysour has joined #racket
soverysour has quit [Ping timeout: 264 seconds]
Origin has joined #racket
soverysour has joined #racket
lucasta has joined #racket
soverysour has quit [Ping timeout: 246 seconds]
simendsjo has quit [Ping timeout: 264 seconds]
Origin has quit [Ping timeout: 240 seconds]
lucasta has quit [Remote host closed the connection]
oter has quit [Server closed connection]
oter has joined #racket
shawnw has joined #racket
retropikzel has joined #racket
skapata has joined #racket
to-hu has joined #racket
dhil has quit [Ping timeout: 240 seconds]
shawnw has quit [Ping timeout: 256 seconds]
ephemera_ has quit [Quit: No Ping reply in 180 seconds.]
to-hu has quit [Ping timeout: 260 seconds]
soverysour has joined #racket
to-hu has joined #racket
lucasta has joined #racket
lucasta has quit [Remote host closed the connection]
to-hu has quit [Ping timeout: 246 seconds]
shawnw has joined #racket
soverysour has quit [Ping timeout: 256 seconds]
ak-1 has quit [Ping timeout: 256 seconds]
Chwoka has joined #racket
<Chwoka> hiya, new thing i'm sure is pretty simple but i just don't know what to look for i came up with while doing a How To Design Programs exercise
<Chwoka> one of the exercises is "change every constant number in this sample program to a variable so that it can be quickly redefined later"
<Chwoka> i defined one of the constants as "baseline-dollar-denominator", then thought, "gosh, that's a handful, i don't want to type out "define baseline-dollar-denominator" every time"
<Chwoka> had the bright idea of leaving it as-is in the existing program for legibility's sake but having this sort of kludge: "(define (bdd x) (baseline-dollar-denominator x)". but to make that work i had to redefine baseline-dollar-denominator as a function call, meaning that to call it in a program i would have had to write "(baseline-dollar-denominator [the constant value])" anyway
<Chwoka> surely there's a way to say "make this variable equal to this amount"
<Chwoka> (BSL)
<Chwoka> ...oh, duh, would it be "(define (bdd x) (define baseline-dollar-denominator x)"?
<Chwoka> no, that just returns "define: found a definition that is not at the top level in: (define baseline-dollar-denominator x)" as an error...
<Chwoka> am i just simply not allowed to call "define" inside a "define"?