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
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 245 seconds]
vraid has quit [Ping timeout: 258 seconds]
Fare has joined #racket
<bremner> is there some idiomatic way to filter with match? my attempt doesn't look so great: http://paste.debian.net/1085934/
<bremner> (pasterack is acting up for me)
ubLIX has quit [Quit: ubLIX]
Sgeo__ has joined #racket
pera has quit [Quit: leaving]
Sgeo_ has quit [Ping timeout: 272 seconds]
libertyprime has quit [Ping timeout: 246 seconds]
<ZombieChicken> Anyone here mess with scribble/lp2? I have a program I've written/writing in it and it's really slow to start, and I'm wanting to know if scribble/lp2 might be the cause
orivej has quit [Ping timeout: 245 seconds]
ym555 has quit [Quit: leaving...]
ym555 has joined #racket
johnjay has joined #racket
lockywolf has joined #racket
lockywolf has quit [Read error: Connection reset by peer]
lockywolf has joined #racket
FreeFull has quit []
aeth_ is now known as aeth
Sgeo__ has quit [Read error: Connection reset by peer]
Sgeo__ has joined #racket
efm has joined #racket
Fare has quit [Ping timeout: 272 seconds]
lockywolf has quit [Ping timeout: 252 seconds]
moldybits has quit [Quit: WeeChat 2.4]
lockywolf has joined #racket
Fare has joined #racket
lockywolf_ has joined #racket
moldybits has joined #racket
lockywolf has quit [Ping timeout: 252 seconds]
dustyweb has joined #racket
lockywolf_ has quit [Ping timeout: 272 seconds]
libertyprime has joined #racket
Sgeo__ has quit [Read error: Connection reset by peer]
Sgeo__ has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
<clacke_movim> bremner: that's how I've done it too. Would be nice if there were a form where the t/f would be implicit.
jao has quit [Ping timeout: 245 seconds]
dddddd has quit [Remote host closed the connection]
<libertyprime> in what situation would one prefer (cadddr '(4 3 2 1)) over (list-ref '(4 3 2 1) 3) or (fourth '(4 3 2 1))
<clacke_movim> If you semantically consider the structure a tree.
<clacke_movim> And (4 3 2 1) just accidentally also happens to be a list
<libertyprime> cool. that makes sense
orivej has joined #racket
<libertyprime> out of curiousity, is there a racket language extension for emulating python/go's slice syntax
<clacke_movim> The more common use case tho for cadddr is that old habits die hard :-)
<libertyprime> or would that be worth trying to make. something like this: '(4 3 2 1)[3]
<libertyprime> today i finally patched eww browser so that racket docs is a really nice experience in emacs
<libertyprime> can finally read the racket docs in the darkness of my room
<clacke_movim> Right, the use case might also be that you are in racket/base and don't want to require racket/list
<libertyprime> totally. if i were a language i would totally steal slice syntax. its awesome
<libertyprime> my understanding of racket syntax transformers is very limited. is it possible in racket to make language extensions which simply generate racket code, without that extension
<aeth> libertyprime: ['(4 3 2 1) 3] would be Lispier, but unfortunately Racket already uses []
<aeth> Maybe #[]?
<aeth> The problem with this is that it's generic. You'd also want it to work on vectors and maybe even hash tables.
<aeth> Besides the numerical tower, the Scheme approach to generics is generally to not do them. Scheme basically does efficient dynamic typing by making you associate the type with the procedure name, like list-ref. Something's either going to be a list or an error there.
ym555 has quit [Ping timeout: 248 seconds]
<aeth> (I mostly use Racket for portable Scheme, so I wouldn't know the Racket way.)
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
Sgeo__ has quit [Read error: Connection reset by peer]
Sgeo has joined #racket
sauvin has joined #racket
endformationage has quit [Ping timeout: 252 seconds]
<libertyprime> any way to run this search on the command line? https://docs.racket-lang.org/search/index.html?q=hash-ref
<libertyprime> ive been digging through search.js but getting nowhere. perhaps the racket docs have a precompiled index
clacke_movim has left #racket [#racket]
jcowan has quit [Quit: Connection closed for inactivity]
Fare has quit [Quit: Leaving]
clacke_movim has joined #racket
soegaard has joined #racket
lockywolf has joined #racket
libertyprime has quit [Ping timeout: 248 seconds]
soegaard has quit [Quit: soegaard]
orivej has quit [Ping timeout: 248 seconds]
ubLIX has joined #racket
ricekrispie has joined #racket
soegaard has joined #racket
ubLIX has quit [Ping timeout: 258 seconds]
ubLIX has joined #racket
lockywolf has quit [Remote host closed the connection]
manualcrank has quit [Quit: WeeChat 1.9.1]
lockywolf has joined #racket
lockywolf_ has joined #racket
<clacke_movim> libertyprime: the incremental search works even when you are accessing the documentation from file:// with no internet access, so there is definitely an index file somewhere
ZombieChicken has quit [Ping timeout: 252 seconds]
lockywolf has quit [Ping timeout: 272 seconds]
ricekrispie has quit [Read error: Connection reset by peer]
ricekrispie has joined #racket
ZombieChicken has joined #racket
ubLIX has quit [Ping timeout: 248 seconds]
cromyr has quit [Quit: leaving]
ubLIX has joined #racket
lockywolf_ has quit [Remote host closed the connection]
lockywolf_ has joined #racket
lockywolf_ has quit [Read error: Connection reset by peer]
lockywolf_ has joined #racket
ubLIX has quit [Quit: ubLIX]
lockywolf__ has joined #racket
lockywolf_ has quit [Ping timeout: 248 seconds]
spdegabrielle has joined #racket
<spdegabrielle> Repl.it is an online IDE that supports a variety of languages.
<spdegabrielle> Please upvote here: https://repl.it/language-requests/p/racket
<spdegabrielle> It would be nice if it supported Racket
soegaard has quit [Quit: soegaard]
lockywolf__ has quit [Remote host closed the connection]
lockywolf has joined #racket
lockywolf has quit [Remote host closed the connection]
orivej has joined #racket
libertyprime has joined #racket
soegaard has joined #racket
ng0 has joined #racket
dddddd has joined #racket
<bremner> clacke_movim: match-lambda helps a little: http://pasterack.org/pastes/25359
ng0 has quit [Quit: Alexa, when is the end of world?]
spdegabrielle has quit [Quit: Connection closed for inactivity]
acarrico has joined #racket
pfdietz has quit [Ping timeout: 256 seconds]
acarrico has quit [Ping timeout: 268 seconds]
ricekrispie has quit [Ping timeout: 258 seconds]
<clacke_movim> bremner: it can remove one layer of nesting if you need a function, and I like that there are different forms and shortcuts like that, but you still have the explicit t/f
<bremner> clacke_movim: ack. I noticed rackunit has check-match, which has the implicit t/f
<bremner> not directly applicable, of course
<clacke_movim> Ah, nice
<clacke_movim> Maybe check how it was implemented
<clacke_movim> If it uses match and a true and false cade, then you can stop searching for a nicer idiom :-)
<clacke_movim> case*
<bremner> it does. So I guess it's a guess of "make your own" if it repeats
<clacke_movim> I'd call it (matches)
<clacke_movim> Or perhaps (matches?)?
<bremner> yeah, matches?
Sgeo_ has joined #racket
Lowl3v3l has quit [Ping timeout: 268 seconds]
Sgeo has quit [Ping timeout: 272 seconds]
ubLIX has joined #racket
soegaard has quit [Quit: soegaard]
q9929t has joined #racket
<greghendershott> libertyprime: Did you discover $HOME/.racket/<version>/doc/search/plt-index.js which is generated by make-search.rkt ?
<greghendershott> I think that is (part of) the answer?
Lowl3v3l has joined #racket
q9929t has quit [Quit: q9929t]
soegaard has joined #racket
miskatonic has joined #racket
dimitarvp has joined #racket
<libertyprime> greghendershott: thanks! i actually hadnt seen that yet
charh has joined #racket
<libertyprime> greghendershott: its perfect. thanks. cant wait to set this up tomorrow
<libertyprime> one thing i was really hoping to make (but didnt think i could until now) was a fuzzy function search, kinda like what emacs has for its own help system
dimitarvp has quit [Quit: Bye]
notzmv has joined #racket
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 258 seconds]
ubLIX has quit [Quit: ubLIX]
efm has quit [Quit: Konversation terminated!]
lockywolf has joined #racket
pera has joined #racket
sz0 has joined #racket
miskatonic has quit [Remote host closed the connection]
lockywolf has quit [Remote host closed the connection]
endformationage has joined #racket
dustyweb has quit [Ping timeout: 268 seconds]
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
lockywolf has joined #racket
lockywolf_ has joined #racket
lockywolf has quit [Ping timeout: 248 seconds]
lockywolf__ has joined #racket
jao has joined #racket
efm has joined #racket
jao is now known as Guest16240
lockywolf_ has quit [Ping timeout: 248 seconds]
efm has quit [Ping timeout: 248 seconds]
manualcrank has joined #racket
Guest16240 is now known as jao
lockywolf_ has joined #racket
acarrico has joined #racket
lockywolf__ has quit [Ping timeout: 272 seconds]
lockywolf_ has quit [Remote host closed the connection]
acarrico has quit [Ping timeout: 272 seconds]
ym555 has joined #racket
krid has joined #racket
krid has left #racket ["ERC (IRC client for Emacs 26.2)"]
lockywolf has joined #racket
lockywolf has quit [Remote host closed the connection]
lockywolf has joined #racket
lockywolf has quit [Remote host closed the connection]
lockywolf has joined #racket
acarrico has joined #racket
q9929t has joined #racket
vraid has joined #racket
q9929t has quit [Remote host closed the connection]
q9929t has joined #racket
q9929t has quit [Read error: Connection reset by peer]
acarrico has quit [Ping timeout: 248 seconds]
sleepnap has joined #racket
lockywolf has quit [Remote host closed the connection]
q9929t has joined #racket
acarrico has joined #racket
efm has joined #racket
orivej has quit [Ping timeout: 248 seconds]
orivej has joined #racket
selimcan has joined #racket
q9929t has quit [Quit: q9929t]
orivej has quit [Ping timeout: 272 seconds]
sleepnap has quit [Ping timeout: 272 seconds]
pera has quit [Ping timeout: 245 seconds]
sauvin has quit [Ping timeout: 248 seconds]
pera has joined #racket
ym555_ has joined #racket
ym555 has quit [Ping timeout: 245 seconds]
dustyweb has joined #racket
dustyweb has quit [Ping timeout: 246 seconds]
casaca has quit [Ping timeout: 245 seconds]
casaca has joined #racket
davidl has quit [Ping timeout: 246 seconds]
dustyweb has joined #racket
vraid has quit [Ping timeout: 252 seconds]
efm has quit [Ping timeout: 272 seconds]
sleepnap has joined #racket
vraid has joined #racket
<greghendershott> libertyprime: Maybe just use the standard completing-read
casaca has quit [Ping timeout: 248 seconds]
<greghendershott> If people want fuzzy matching, they can use ido-flex
casaca has joined #racket
<greghendershott> I mean the fly-ido package that enhances ido.
<greghendershott> Or use company or helm or whatever the cool emacs kids are using lately ;)
ym555_ is now known as ym555
<greghendershott> Or add your own function to the completion-at-point-functions list.
<greghendershott> Depends what you want exactly. I guess I'm just pointing out that fuzzy completion already exists in various forms, if you want to use vs. roll your own.
acarrico has quit [Ping timeout: 246 seconds]
casaca has quit [Ping timeout: 272 seconds]
FreeFull has joined #racket
casaca has joined #racket
selimcan has quit [Remote host closed the connection]
jao has quit [Ping timeout: 258 seconds]
orivej has joined #racket
davidl has joined #racket
acarrico has joined #racket
vraid has quit [Ping timeout: 252 seconds]
jcowan has joined #racket
casaca has quit [Ping timeout: 246 seconds]
casaca has joined #racket
dustyweb has quit [Ping timeout: 268 seconds]
libertyprime has quit [Ping timeout: 268 seconds]
vraid has joined #racket
sleepnap has quit [Quit: Leaving.]
ubLIX has joined #racket
dustyweb has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
dustyweb has quit [Ping timeout: 272 seconds]
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
ym555 has quit [Ping timeout: 272 seconds]
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
sleepnap has joined #racket
soegaard has quit [Quit: soegaard]
clacke_movim has joined #racket
ym555 has joined #racket
clacke_movim has left #racket [#racket]
obfusk has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
obfusk has joined #racket
obfusk has quit [Client Quit]
orivej has quit [Ping timeout: 272 seconds]
obfusk has joined #racket
jao has joined #racket
jao is now known as Guest40416
Guest40416 is now known as Guest66643
sleepnap has quit [Ping timeout: 245 seconds]
amz3 has quit [Ping timeout: 272 seconds]
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
johnjay has quit [Read error: Connection reset by peer]
sleepnap has joined #racket
sleepnap has left #racket [#racket]
johnjay has joined #racket
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
amz3 has joined #racket
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket
clacke_movim has left #racket [#racket]
clacke_movim has joined #racket