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!
badkins has joined #racket
jeosol has joined #racket
monkey_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 255 seconds]
monkey_ has quit [Ping timeout: 255 seconds]
terrorjack has quit [Ping timeout: 264 seconds]
skapata has quit [Remote host closed the connection]
terrorjack has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
Origin has quit [Quit: Leaving]
ec_ has quit [Ping timeout: 255 seconds]
ec_ has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 255 seconds]
bremner has quit [Remote host closed the connection]
bremner has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
codingquark has quit [Ping timeout: 256 seconds]
codingquark has joined #racket
skapata has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 255 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 252 seconds]
badkins has joined #racket
monkey_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
monkey_ has quit [Remote host closed the connection]
runrin has quit [Ping timeout: 246 seconds]
runrin has joined #racket
monkey_ has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
jeosol has quit [Ping timeout: 260 seconds]
morte_ has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 255 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
morte_ has quit [Remote host closed the connection]
badkins has joined #racket
jeosol has joined #racket
badkins has quit [Ping timeout: 252 seconds]
terrorjack has quit [Ping timeout: 265 seconds]
terrorjack has joined #racket
badkins has joined #racket
terrorjack has quit [Ping timeout: 264 seconds]
terrorjack has joined #racket
morte_ has joined #racket
morte_ has quit [Remote host closed the connection]
monkey_ has quit [Remote host closed the connection]
msiism has joined #racket
<msiism> How would I write an empty symbol literally?
<msiism> When I run (string->symbol "") in the REPL, I get `'||`, but that doesn't seem to be it.
<bremner> uhh, something like '||
<bremner> no?
<msiism> Well, let me re-check.
<bremner> rudybot: eval '||
<rudybot> bremner: your sandbox is ready
<rudybot> bremner: ; Value: '||
<bremner> I mean, what do you mean by an empty symbol?
<bremner> rudybot: eval (string->symbol '||)
<rudybot> bremner: error: string->symbol: contract violation <NEWLINE> expected: string? <NEWLINE> given: '||
<bremner> oops
<bremner> rudybot: eval (symbol->string '||)
<rudybot> bremner: ; Value: ""
<msiism> Yeah '|| is actually it.
<msiism> I had a samll bug elsewhere in the code.
<msiism> s/samll/small/
<bremner> bugs happen
<msiism> I'm using this to make a function that filters data sets by type to also work with no type given.
<msiism> Like, if I don't specifiy a particular type, just return the data unfiltered.
<bremner> a racket convention is to use #f for "no value was given". Doesn't always work of course
<msiism> Yeah, but it's not an error.
<msiism> I'm doing thing so I can more easily "pipe" things together, without having to use `if` inbetween.
<msiism> s/thing/this/
<msiism> Like, (filter-by-date (filter-by-type type) date) or some such.
<msiism> It's a bit (or actually exactly?) like the Unix `find` command. If you don't specifiy any filter criteria, it returns all file names in a given directory.
badkins has quit [Remote host closed the connection]
badkins has joined #racket
sagax has quit [Read error: Connection reset by peer]
libertyprime has joined #racket
msiism has left #racket [Konversation vaporized.]