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.