lexi-lambda changed the topic of #racket to: Racket v7.1 has been released: http://blog.racket-lang.org/2018/10/racket-v7-1.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
quipa has quit [Read error: Connection reset by peer]
ubLIX has quit [Quit: ubLIX]
badkins has joined #racket
mizu_no_oto has joined #racket
badkins has quit [Ping timeout: 268 seconds]
mzan has left #racket [#racket]
rudybot has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 250 seconds]
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
jcowan has joined #racket
mizu_no_oto has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
pierpal has joined #racket
jao has quit [Ping timeout: 250 seconds]
badkins has quit [Remote host closed the connection]
dddddd has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 244 seconds]
keep_learning has joined #racket
FreeFull has quit [Quit: Night]
zmv is now known as notzmv
pie__ has joined #racket
pie___ has quit [Ping timeout: 268 seconds]
Arcaelyx has quit [Quit: Textual IRC Client: www.textualapp.com]
endformationage has quit [Quit: WeeChat 2.3]
orivej has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 272 seconds]
refpga has quit [Read error: Connection reset by peer]
refpga has joined #racket
notzmv has quit [Ping timeout: 245 seconds]
thallada has quit [Ping timeout: 244 seconds]
orivej has joined #racket
thallada has joined #racket
thallada has quit [Ping timeout: 245 seconds]
thallada has joined #racket
ZombieChicken has quit [Ping timeout: 256 seconds]
aidalgol has quit [Remote host closed the connection]
aidalgol has joined #racket
notzmv has joined #racket
pera has quit [Ping timeout: 244 seconds]
Fernando-Basso has joined #racket
ubLIX has joined #racket
ng0 has joined #racket
pierpal has quit [Ping timeout: 244 seconds]
tilpner has quit [Ping timeout: 250 seconds]
_whitelogger has joined #racket
<erkin> Is there a way I can assign key-event%s to commands without extending the window% and overriding on-char?
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #racket
_whitelogger has joined #racket
cpup has quit [Ping timeout: 272 seconds]
pierpal has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
rnmhdn has joined #racket
<rnmhdn> I have function f that produces a list of items
<rnmhdn> and a function g that gives either true or false for each element of that list
<rnmhdn> I wanna check if g would produce true for at least one of the outputs of f
<rnmhdn> how can I do it in racket?
<rnmhdn> I wish to have something like:
<rnmhdn> (ormap (g x) (f ...))
ubLIX has quit [Quit: ubLIX]
<rnmhdn> btw g takes two inputs one is constant x the other is from f
rnmhdn has quit [Ping timeout: 268 seconds]
<s455wang> in case he comes pack, (ormap (curry g x) (f ...)) probably
<s455wang> or equivalently (ormap (lambda (elem) (g x elem)) (f ...))
<bremner> lambda feels like the most beginner accessible answer here, but I guess it depends on what they've learned so far.
FreeFull has joined #racket
refpga has quit [Read error: Connection reset by peer]
refpga has joined #racket
refpga has quit [Ping timeout: 250 seconds]
refpga has joined #racket
endformationage has joined #racket
tilpner has joined #racket
mizu_no_oto has joined #racket
cpup has joined #racket
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
mizu_no_oto has joined #racket
dddddd has joined #racket
<nisstyre> I wouldn't introduce curried functions until someone understands lambda
acarrico has joined #racket
pierpal has quit [Quit: Poof]
pierpal has joined #racket
pierpal has quit [Client Quit]
pierpal has joined #racket
wingsorc has joined #racket
pierpal has quit [Ping timeout: 245 seconds]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
ZombieChicken has joined #racket
refpga has quit [Read error: Connection reset by peer]
refpga has joined #racket
pierpal has joined #racket
wingsorc has quit [Quit: Leaving]
acarrico has quit [Ping timeout: 240 seconds]
pierpal has quit [Ping timeout: 268 seconds]
<jcowan> nisstyre: Basically cut has the power of currying but is easier to understand.
mizu_no_oto has joined #racket
<bremner> I guess that's not core racket, but needs srfi/26
<jcowan> yes
<jcowan> I have seen code in which (cut foo bar baz) is systematically used instead of (lambda () (foo bar baz))
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
<jcowan> apparently during the SRFI 26 discussion various alternate names were discussed, including "tandoori"
mizu_no_oto has joined #racket
mizu_no_oto has quit [Client Quit]
pierpal has joined #racket
mizu_no_oto has joined #racket
acarrico has joined #racket
acarrico has quit [Client Quit]
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
mizu_no_oto has joined #racket
pierpal has quit [Read error: Connection reset by peer]
ubLIX has joined #racket
pera has joined #racket
pierpal has joined #racket
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
mizu_no_oto has joined #racket
mizu_no_oto has quit [Quit: Computer has gone to sleep.]
pierpal has quit [Ping timeout: 245 seconds]
pierpal has joined #racket
pierpal has quit [Ping timeout: 250 seconds]
pierpal has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
pierpal has quit [Ping timeout: 250 seconds]
pierpal has joined #racket
orivej has quit [Ping timeout: 240 seconds]
pierpal has quit [Read error: Connection reset by peer]
<nisstyre> jcowan: yeah you'd have to combine curry and flip (with all its variations) to do the same thing as cut
<nisstyre> actually I don't know if curry and flip can do everything cut can
pierpal has joined #racket
<jcowan> Just so. It'll be on a future R7RS-large ballot, the one dealing with syntax extensions
pierpal has quit [Ping timeout: 272 seconds]
pierpal has joined #racket
cpup has quit [Ping timeout: 250 seconds]
pierpal has quit [Ping timeout: 244 seconds]
mizu_no_oto has joined #racket
acarrico has joined #racket
notzmv has quit [Read error: Connection reset by peer]
notzmv has joined #racket
acarrico has quit [Client Quit]
pierpal has joined #racket
pierpal has quit [Ping timeout: 246 seconds]
cpup has joined #racket
ubLIX has quit [Quit: ubLIX]
cpup has quit [Ping timeout: 250 seconds]
pierpal has joined #racket
cpup has joined #racket
<friscosam> erkin: I don't think there is a baked in way, but you could make a mixin that handled the key behavior in the way that you want probably.
pierpal has quit [Ping timeout: 268 seconds]
pierpal has joined #racket
pierpal has quit [Ping timeout: 246 seconds]
pierpal has joined #racket
pierpal has quit [Client Quit]
pierpal has joined #racket
pierpal has quit [Ping timeout: 246 seconds]
orivej has joined #racket
pierpal has joined #racket
pera has quit [Ping timeout: 245 seconds]
pierpal has quit [Ping timeout: 246 seconds]
mizu_no_oto has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
badkins has joined #racket
badkins has quit [Ping timeout: 245 seconds]
hjek has joined #racket
hjek has quit [Client Quit]
badkins has joined #racket
refpga has quit [Ping timeout: 268 seconds]
refpga has joined #racket
Fernando-Basso has quit [Remote host closed the connection]
sagax has quit [Ping timeout: 246 seconds]
<cosmez> never seen cut before, https://srfi.schemers.org/srfi-26/srfi-26.html
<cosmez> i use curry a lot, but always gets lost with the position of the argument (curry curryr)
<cosmez> been able to specify a placeholder seems a very good idea, more readable.
<aidalgol> How do I strip out the <?xml...> entity when reading in XML?
<aidalgol> xml->xexpr is choking on it.
orivej has quit [Ping timeout: 272 seconds]
<aidalgol> Scratch that. EPEBKAC
<cosmez> try (permissive-xexprs #t)
Arcaelyx has joined #racket