samth changed the topic of #racket to: Racket v7.6 has been released: https://blog.racket-lang.org/2020/02/racket-v7-6.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
<jcowan> I don't know what a bunch of the prims do: what's the easiest way to find out?
<jcowan> ms is ill-documented even for a Lisp
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
vraid has quit [Ping timeout: 250 seconds]
badkins has quit [Ping timeout: 250 seconds]
<technomancy> yeah, I mean it's basically just some guy's thesis
<technomancy> https://ryansuchocki.github.io/microscheme/literature <- if you want the full juicy details =)
iyzsong has joined #racket
libertyprime has joined #racket
zenen has quit [Quit: Konversation terminated!]
FreeFull has quit []
SenasOzys has quit [Remote host closed the connection]
<aeth> there should be a gui for microscheme called ms-windows
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 264 seconds]
cpup has quit [Quit: Breaking stuff]
cpup has joined #racket
YuGiOhJCJ has joined #racket
sword865 has joined #racket
N0S4A2 has quit [Quit: WeeChat 2.6]
libertyprime has quit [Read error: Connection reset by peer]
libertyprime has joined #racket
cartwright has quit [Remote host closed the connection]
libertyprime has quit [Read error: Connection reset by peer]
cartwright has joined #racket
m1dnight has quit [Ping timeout: 240 seconds]
libertyprime has joined #racket
badkins has joined #racket
m1dnight has joined #racket
badkins has quit [Ping timeout: 250 seconds]
_whitelogger has joined #racket
KDr21 has quit [Remote host closed the connection]
KDr21 has joined #racket
orivej has quit [Ping timeout: 240 seconds]
pilne has quit [Quit: Light travels faster then sound, which is why some people appear bright, until you hear them speak]
narimiran has joined #racket
Lowl3v3l has joined #racket
rgherdt has joined #racket
KDr22 has joined #racket
KDr21 has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 240 seconds]
doyougnu has joined #racket
dddddd has quit [Remote host closed the connection]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
orivej has joined #racket
ccamel has quit [Ping timeout: 250 seconds]
camelCaser has joined #racket
orivej_ has joined #racket
orivej has quit [Ping timeout: 250 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 264 seconds]
rmnull has quit [Ping timeout: 272 seconds]
rmnull has joined #racket
libertyprime has quit [Read error: Connection reset by peer]
ayerhart has quit [Ping timeout: 240 seconds]
epony has quit [Quit: reconf]
badkins has joined #racket
rmnull1 has joined #racket
rmnull1 has quit [Client Quit]
rmnull has quit [Ping timeout: 246 seconds]
rmnull has joined #racket
badkins has quit [Ping timeout: 250 seconds]
doyougnu has quit [Ping timeout: 240 seconds]
nikoala has quit [Remote host closed the connection]
doyougnu has joined #racket
sword865 has quit [Quit: Connection closed for inactivity]
dddddd has joined #racket
iyzsong has quit [Ping timeout: 246 seconds]
tilpner_ has joined #racket
tilpner has quit [Ping timeout: 240 seconds]
tilpner_ is now known as tilpner
nikoala has joined #racket
nikoala has quit [Remote host closed the connection]
nikoala has joined #racket
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
jellie has joined #racket
efm has quit [Ping timeout: 250 seconds]
pilne has joined #racket
efm has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
<technomancy> is there a function to say whether a symbol is bound to a value in the current module without necessarily evaling it?
<samth> technomancy: no
<samth> although, what do you mean by "current module"?
badkins has quit [Ping timeout: 258 seconds]
<technomancy> samth: I've got this file I'm sharing between microscheme and racket that defines keycodes: https://git.sr.ht/~technomancy/menelaus/tree/master/keycodes.scm
<technomancy> I've brought it in with (include "keycodes.scm") and I have a symbol; I want to know if the symbol is one of the ones defined in that file
<technomancy> I guess it doesn't have to be in the current module; I could load keycodes.scm as its own module as long as I don't have to add any racket-specific forms to the file indicating to export all key-* definitions
<samth> can you do this with a macro at expansion time? that will work (see `identifier-binding`). but at runtime there's no notion of "current module"
<technomancy> no, it's based on user input
<technomancy> https://p.hagelb.org/key-lookup.html <- this is what I have now; it works OK
<technomancy> (it's based on user input but it's not an arbitrary string; just a single keycode from (send event get-key-code))
N0S4A2 has joined #racket
<technomancy> I could also open keycodes.scm and reduce over its list of forms to build up a hash-map but that's a lot more work than a 4-line function
<technomancy> anyway if anyone gives me crap about this I'll be like "I asked on IRC and they said eval was OK" thanks yall =D
dataangel has joined #racket
<dataangel> With racket can I create a custom s-exp based #lang that doesn't contain expose any of the racket primitives, but that still lets you use regular racket in the same source file for defining macros? Basically I want to have my own runtime language but want to use racket as my compile time language
badkins has joined #racket
<samth> dataangel: yes, just provide `racket` `for-syntax`
zmt00 has quit [Read error: Connection reset by peer]
zmt00 has joined #racket
tfeb has joined #racket
aeth has quit [Ping timeout: 250 seconds]
aeth has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 250 seconds]
badkins has joined #racket
elioat has joined #racket
efm has quit [Read error: Connection reset by peer]
efm has joined #racket
efm has quit [Ping timeout: 250 seconds]
efm has joined #racket
Lowl3v3l has quit [Remote host closed the connection]
Lowl3v3l has joined #racket
Codaraxis__ has joined #racket
Codaraxis has quit [Ping timeout: 264 seconds]
cartwright has quit [Ping timeout: 240 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
cartwright has joined #racket
tilpner_ has joined #racket
tilpner has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
badkins has quit [Ping timeout: 264 seconds]
rgherdt has quit [Ping timeout: 240 seconds]
badkins has joined #racket
FreeFull has joined #racket
rgherdt has joined #racket
jellie has quit [Ping timeout: 264 seconds]
efm has quit [Ping timeout: 258 seconds]
efm has joined #racket
doyougnu has quit [Ping timeout: 240 seconds]
elioat has quit [Quit: WeeChat 1.9.1]
tfeb has quit [Remote host closed the connection]
tfeb has joined #racket
tfeb has quit [Client Quit]
narimiran has quit [Ping timeout: 240 seconds]
badkins has quit [Remote host closed the connection]
rgherdt has quit [Ping timeout: 246 seconds]
evdubs has quit [Remote host closed the connection]
evdubs has joined #racket
<technomancy> anyone know why my handle-key callback on a canvas% will trigger for ctrl and shift but not super or alt?
cartwright has quit [Ping timeout: 240 seconds]
cartwright has joined #racket
libertyprime has joined #racket
badkins has joined #racket
<technomancy> I'm writing a transparent struct out to a file with `write'; when I read it back with `read' I get a vector instead of a struct; what am I doing wrong?
<technomancy> hm; I guess I can vector->list it and apply the cdr to the struct constructor function? seems like I must be misunderstanding something tho