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
ziyourenxiang_ has joined #racket
Lowl3v3l has quit [Remote host closed the connection]
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 246 seconds]
<erkin> __Myst__: I can think of (last (call-with-values <frob> list))
<erkin> Not the most elegant solution but it should work.
orivej has quit [Ping timeout: 245 seconds]
badkins has joined #racket
Fernando-Basso has quit [Remote host closed the connection]
vraid has quit [Quit: Leaving]
_whitelogger has joined #racket
pera has quit [Quit: leaving]
badkins has quit [Remote host closed the connection]
iyzsong has joined #racket
<greghendershott> __Myst__: You can `(define-values (status headers in) (http-sendrecv ...))`, use `in`, and simply don't use `status` or `headers`.
<greghendershott> Some people would name them `_status` and `_header`, leading underline, as a convention to mean "not really using these".
<greghendershott> In Emacs Lisp that would also silence a warning. But in Racket it is just a convention.
endobson has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
badkins has joined #racket
ZombieChicken has quit [Quit: WeeChat 2.5]
GoldRin has quit [Remote host closed the connection]
orivej has joined #racket
orivej has quit [Ping timeout: 258 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
ZombieChicken has joined #racket
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 248 seconds]
libertyprime has joined #racket
badkins has quit [Remote host closed the connection]
dddddd has quit [Remote host closed the connection]
_whitelogger has joined #racket
libertyprime has quit [Quit: leaving]
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 272 seconds]
sauvin has joined #racket
endformationage has quit [Ping timeout: 244 seconds]
zipper has joined #racket
zacts has quit [Quit: WeeChat 2.3]
libertyprime has joined #racket
ZombieChicken has quit [Ping timeout: 272 seconds]
pie_ has quit [Remote host closed the connection]
pie_ has joined #racket
pie_ has quit [Remote host closed the connection]
pie_ has joined #racket
pie_ has quit [Remote host closed the connection]
pie_ has joined #racket
lockywolf has joined #racket
pie_ has quit [Remote host closed the connection]
pie_ has joined #racket
deeglaze has quit [Ping timeout: 245 seconds]
spacedbat has quit [Ping timeout: 264 seconds]
deeglaze has joined #racket
ZombieChicken has joined #racket
zipper has quit [Quit: WeeChat 2.5]
lockywolf has quit [Remote host closed the connection]
lockywolf has joined #racket
zacts has joined #racket
ZombieChicken has quit [Ping timeout: 258 seconds]
spacedbat has joined #racket
lockywolf_ has joined #racket
lockywolf has quit [Remote host closed the connection]
lockywolf__ has joined #racket
lockywolf_ has quit [Ping timeout: 245 seconds]
ng0 has joined #racket
manualcrank has quit [Quit: WeeChat 1.9.1]
<zacts> hi #racket
<zacts> how long has Hackett been in development?
<zacts> it looks interesting to me
<m1dnight_> Been a while now. It's lexi-lambda s brain baby if im not mistaken.
jcowan has quit [Quit: Connection closed for inactivity]
Arcaelyx has quit [Ping timeout: 248 seconds]
Fernando-Basso has joined #racket
dddddd has joined #racket
afidegnum has joined #racket
<afidegnum> hello, i m trying to understand about programming programming language in racket, can anyone please explain ?
<erkin> Which part exactly?
<afidegnum> what i m trying to find out is, is racket suitable for writing a code template? i.e a la jinja or sample python snippets which can be adapted to various code constrains or anything else?
<afidegnum> i m still reading though but need some clarificaiton and enlightment :)
<erkin> You mean templating?
orivej has joined #racket
<afidegnum> yes
<erkin> If you mean writing generic subprograms with higher-order subroutines that can be modularly detached and attached elsewhere, yes, Lisp is your tool. If you mean web templating, there are text generation and HTML template libraries.
<afidegnum> can you please further explain on both cases?
<afidegnum> maybe with some little examples
<erkin> Lisps are homoiconic expression-based languages, meaning there is practically no difference between data and code, thus you can easily manipulate the code the same way you manipulate data. This allows for very powerful metaprogramming capabilities.
<erkin> Simliarly, Racket in particular lets you write HTML in the form of X-expressions (XML in S-expressions). You can manipulate it the same way you work on lists.
<erkin> Similarly*
<afidegnum> ok, some light in the tunnel :)
<erkin> :-)
<bremner> scribble is an example of a powerful templating system built in racket
<bremner> softof.
<afidegnum> just by the way, can the GUI version of racket render html page? just like a web browswer ?
<erkin> Of course, there's a library for that too.
<afidegnum> what library?
<afidegnum> ok, i m interested in something like that too :)
<afidegnum> well racket i believe is an intersting and compact langauge,
<afidegnum> i have been dabling with common lisp but libraries are outdated there
<erkin> hehe
<erkin> The guide is pretty helpful and comprehensive: https://docs.racket-lang.org/guide/index.html
<erkin> Just the first two chapters alone will give you what you need to start out.
<afidegnum> yes, i have been reading https://htdp.org/ too
<afidegnum> by the way, how long can it take for me to get my hand fluent on racket ?
<erkin> It depends on how much you read/use it, I'd say. It also helps having prior experience with Scheme and such.
<afidegnum> ok,
<bremner> if you know CL, it should be easy to pick up racket IMHO
<bremner> at least to the level of being to write useful code, maybe not all the details of macros and continuations
<erkin> I've been using Racket only since January but I feel pretty comfortable with it due to my previous experience with Scheme.
<afidegnum> can you plea post some example with [12:11] [afidegnum(+i)] [3:freenode/#racket(+cnrt)] [Act: 1]
<afidegnum> oh, no sorry
<afidegnum> browser/htmltext
<afidegnum> can you post an example with browser/htmltext i can't see to find some starting example with the docs,
<erkin> It's an extension of racket/gui, so you should look into that first for GUI programming. https://docs.racket-lang.org/gui/index.html
<afidegnum> ok
dharog has joined #racket
dustyweb has joined #racket
GoldRin has joined #racket
dustyweb has quit [Ping timeout: 248 seconds]
notzmv has quit [Ping timeout: 248 seconds]
dharog has quit [Ping timeout: 272 seconds]
libertyprime has quit [Quit: leaving]
GoldRin has quit [Remote host closed the connection]
iyzsong has quit [Remote host closed the connection]
iyzsong has joined #racket
<afidegnum> i m still readding htdp.org but does type signature of this sort have an effect like in haskell ? ; Number -> Number
<afidegnum> specially appended with comment
<afidegnum> preceded i mean
nullman has joined #racket
lockywolf_ has joined #racket
lockywolf__ has quit [Ping timeout: 245 seconds]
<afidegnum> any answer ?
andrei-n has joined #racket
Arcaelyx has joined #racket
orivej has quit [Ping timeout: 268 seconds]
iyzsong has quit [Ping timeout: 252 seconds]
<erkin> afidegnum: What do you mean?
<erkin> Racket itself is dynamically typed. There's Typed Racket, which is gradually typed. You can also use contracts to enforce types at runtime.
orivej has joined #racket
jao has joined #racket
jao is now known as Guest88851
Guest88851 is now known as jao
<efm> Aaron Turon
<afidegnum> thanks,
manualcrank has joined #racket
jao- has joined #racket
jao has quit [Disconnected by services]
jao- is now known as jao
ziyourenxiang_ has quit [Ping timeout: 248 seconds]
<efm> The skill set of a leader and the skillset of a developer are pretty different.
<erkin> afidegnum: Reading that again, if you're referring to a comment, it has no effect whatsoever other than informing the reader.
lockywolf_ has quit [Remote host closed the connection]
lockywolf_ has joined #racket
dimitarvp has joined #racket
dimitarvp has quit [Client Quit]
Arcaelyx has quit [Read error: Connection reset by peer]
<efm> Phil Hagelberg
endformationage has joined #racket
ubLIX has joined #racket
englishm has quit [Excess Flood]
englishm has joined #racket
Arcaelyx has joined #racket
hyuke has joined #racket
efm has quit [Remote host closed the connection]
efm has joined #racket
orivej has quit [Ping timeout: 268 seconds]
<afidegnum> ok
Lowl3v3l has joined #racket
jao has quit [Ping timeout: 246 seconds]
dharog has joined #racket
dharog has quit [Ping timeout: 246 seconds]
dharog has joined #racket
vraid has joined #racket
acarrico has quit [Ping timeout: 245 seconds]
Fernando-Basso has quit [Read error: Connection reset by peer]
dharog has quit [Ping timeout: 268 seconds]
efm has quit [Ping timeout: 245 seconds]
efm has joined #racket
hyuke has quit [Ping timeout: 245 seconds]
ubLX has joined #racket
ubLIX has quit [Ping timeout: 246 seconds]
soegaard has joined #racket
sagax has quit [Quit: Konversation terminated!]
sagax has joined #racket
selimcan has joined #racket
selimcan has quit [Quit: Leaving]
orivej has joined #racket
lockywolf_ has quit [Ping timeout: 248 seconds]
efm has quit [Ping timeout: 272 seconds]
andrei-n has quit [Remote host closed the connection]
efm has joined #racket
_andre has quit [Ping timeout: 272 seconds]
<efm> what is the name of that editor?
jcowan has joined #racket
ZombieChicken has joined #racket
ziyourenxiang_ has joined #racket
YuGiOhJCJ has joined #racket