samth changed the topic of #racket to: Racket v7.3 has been released: https://blog.racket-lang.org/2019/05/racket-v7-3.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
efm has quit [Ping timeout: 245 seconds]
diip has quit [Ping timeout: 272 seconds]
lavaflow has joined #racket
efm has joined #racket
efm has quit [Ping timeout: 268 seconds]
libertyprime has joined #racket
Jeanne-Kamikaze has quit [Quit: Leaving]
orivej has joined #racket
lavaflow has quit [Ping timeout: 268 seconds]
keep_learning_M has quit [Quit: This computer has gone to sleep]
keep_learning_M has joined #racket
lispmacs has joined #racket
<lispmacs> if I create an enum type with '_enum, can I pull out the values of the symbols again (say for comparison)?
<lispmacs> like, (_enum '(OK = 0 FAIL = 1)) then (= OK (_somefunc))
ym555_ has joined #racket
ym555_ has quit [Client Quit]
ym555 has quit [Ping timeout: 245 seconds]
<greghendershott> lispmacs: I don't think so. I think it only means you could use 'OK when calling an FFI wrapper declared to take an argument of that _enum type.
<greghendershott> but I haven't worked much with FFI lately (or really that much, ever)
evdubs has quit [Ping timeout: 248 seconds]
evdubs has joined #racket
lavaflow has joined #racket
<lispmacs> greghendershott: i have a C library that has functions that returns values of an enum type, so I was just wondering how to compare. I guess I could also define similar normal symbols that match those numbers value
<lispmacs> or, maybe I could define those values anyway? despite being _enum'd, though don't seem to have a value attached to the symbols themselves
iyzsong has joined #racket
lavaflow has quit [Ping timeout: 272 seconds]
<greghendershott> That seems reasonable to just make a normal define for each.
<greghendershott> There might be more _enum examples here: https://github.com/racket/racket/tree/master/pkgs/racket-doc/ffi/examples
lavaflow has joined #racket
iyzsong has quit [Ping timeout: 258 seconds]
lavaflow has quit [Ping timeout: 248 seconds]
libertyprime has quit [Ping timeout: 245 seconds]
Jeanne-Kamikaze has joined #racket
<danderson> Thanks for helping me debug! I was about to ask in total confusion why my lexer wasn't matching my test input, and in the process of putting together the paste, figured it out.
<danderson> (turns out ' isn't an alphabetic character, who knew)
libertyprime has joined #racket
FreeFull has quit []
jao has quit [Ping timeout: 258 seconds]
Jeanne-Kamikaze has quit [Quit: Leaving]
vraid has quit [Ping timeout: 252 seconds]
endformationage has quit [Quit: WeeChat 2.4]
selimcan has joined #racket
dieggsy has quit [Quit: ZNC 1.7.3 - https://znc.in]
Arcaelyx has quit [Ping timeout: 252 seconds]
dieggsy has joined #racket
keep_learning_M has quit [Quit: This computer has gone to sleep]
moldybits has quit [Quit: WeeChat 2.4]
moldybits has joined #racket
lispmacs has quit [Remote host closed the connection]
iyzsong has joined #racket
manualcrank has quit [Quit: WeeChat 1.9.1]
manualcrank has joined #racket
YuGiOhJCJ has joined #racket
manualcrank has quit [Quit: WeeChat 1.9.1]
lockywolf has joined #racket
soegaard has joined #racket
ubLIX has joined #racket
cpach has joined #racket
mSSM has quit [Ping timeout: 244 seconds]
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
selimcan has quit [Remote host closed the connection]
dddddd has quit [Read error: Connection reset by peer]
ubLIX has quit [Quit: ubLIX]
selimcan has joined #racket
cpach has quit [Quit: Lost terminal]
lockywolf has quit [Ping timeout: 245 seconds]
<J_Arcane> Woo! Heresy now running on my PowerBook G4 in greghendershott's racket-mode
orivej has quit [Ping timeout: 272 seconds]
<soegaard> A PowerPc ?
<J_Arcane> Yep.
<soegaard> Missed the train on those.
<J_Arcane> Running 6.2.1 via Homebrew
<J_Arcane> it's ... not entirely without some ricketyness.
lockywolf has joined #racket
lockywolf_ has joined #racket
lockywolf has quit [Ping timeout: 246 seconds]
_whitelogger has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
<J_Arcane> Only the terminal version of Emacs works, and DrRacket won't work even if you install it, because missing dependencies
lockywolf_ has quit [Remote host closed the connection]
lockywolf_ has joined #racket
lockywolf_ has quit [Ping timeout: 272 seconds]
iyzsong has quit [Ping timeout: 252 seconds]
_whitelogger has joined #racket
selimcan has quit [Remote host closed the connection]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
Fernando-Basso has joined #racket
ZombieChicken has quit [Quit: Have a nice day]
lavaflow has joined #racket
dimitarvp has joined #racket
dimitarvp has quit [Quit: Bye]
lavaflow has quit [Ping timeout: 268 seconds]
<J_Arcane> the bigger problem is I don't remember how to use emacs. XD
<bremner> that's what we call a "learning opportunity" ;)
<J_Arcane> also parinfer doesn't work which makes me sad. :(
<J_Arcane> I'm curious if I'd have better luck with the MacPorts packages, but I'd have to uninstall Tigerbrew to find out because apparently they do not get along.
<soegaard> J_Arcane: It's fun to get an old system alive again. I recently bought a "revival kit" for my old Amiga 500.
<J_Arcane> soegaard: Yah. I have a MiST FPGA in the other room setup as an A1200
<soegaard> An extension has slots for two compact flash cards, and the amiga thinkgs it is a harddisj.
<soegaard> The MIST/MISTer project is really nice.
<J_Arcane> yah, CF->IDE is how I went for the PowerBook's new hard drive.
<soegaard> Ironically I never used CF cards at the time they were current.
<J_Arcane> yeah. what I found frustrating is how expensive they are still
<soegaard> Yeah - I looked around for an sd card solution - but couldn't find any.
<J_Arcane> though apparently CF->SD adapter cards can work with the IDE adapters, so next time I go this route I might try that instead to save money on storage
<soegaard> Ooh! Is that a thing.
<J_Arcane> I also tried a couple SSD->IDE adapters, one m.2, one mSATA, but neither of them have worked in any machine I've tried.
<J_Arcane> Yeah. You can even get a CF adapter with two SD slots in it, though I'm not sure how those are seen by the system. XD
<soegaard> Hmm. They are even rather cheap.
lockywolf has joined #racket
davidl has quit [Ping timeout: 246 seconds]
FreeFull has joined #racket
davidl has joined #racket
davidl has quit [Client Quit]
jao has joined #racket
rubic has joined #racket
Arcaelyx has joined #racket
jao has quit [Remote host closed the connection]
efm has joined #racket
_whitelogger has joined #racket
soegaard has quit [Quit: soegaard]
Sgeo__ has quit [Read error: Connection reset by peer]
Sgeo__ has joined #racket
jao has joined #racket
Sgeo_ has joined #racket
lockywolf_ has joined #racket
Sgeo__ has quit [Ping timeout: 258 seconds]
lockywolf has quit [Ping timeout: 248 seconds]
lockywolf_ has quit [Remote host closed the connection]
lockywolf_ has joined #racket