paulcsmith_ has joined #crystal-lang
paulcsmith_ has quit [Client Quit]
Philpax has joined #crystal-lang
<
crystal-gh>
crystal/master 8a10530 Ary Borenszweig: Merge branch 'release/0.18'
willl has joined #crystal-lang
Oliphaunte has joined #crystal-lang
paulcsmith_ has joined #crystal-lang
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulcsmith_ has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
buggs1 has joined #crystal-lang
Oliphaunte has joined #crystal-lang
buggs has quit [Ping timeout: 272 seconds]
pawnbox_ has quit [Ping timeout: 272 seconds]
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Oliphaunte has quit [Remote host closed the connection]
ome has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
paulcsmith_ has joined #crystal-lang
paulcsmith_ has quit [Client Quit]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 240 seconds]
no0p has joined #crystal-lang
no0p has quit [Client Quit]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Read error: Connection reset by peer]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
mbarbar has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
willl has quit [*.net *.split]
danzilio has quit [*.net *.split]
toydestroyer has quit [*.net *.split]
iamstef_ has quit [*.net *.split]
DeBot has quit [*.net *.split]
toydestroyer has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
ponga has joined #crystal-lang
ome has quit [Quit: Connection closed for inactivity]
mbarbar has quit [Ping timeout: 276 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
snsei has quit [Ping timeout: 240 seconds]
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
mbarbar has joined #crystal-lang
pawnbox has joined #crystal-lang
ome has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 272 seconds]
trapped has joined #crystal-lang
soveran has joined #crystal-lang
ponga has joined #crystal-lang
pawnbox has joined #crystal-lang
ozra has quit [Remote host closed the connection]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
ome has quit [Quit: Connection closed for inactivity]
Raimondii is now known as Raimondi
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
<
FromGitter>
<jmoriau> aaaahhhh
<
FromGitter>
<jmoriau> Makes sense tnaks
<
FromGitter>
<jmoriau> thanks
rolha has joined #crystal-lang
DeBot has joined #crystal-lang
rolha has quit [Ping timeout: 258 seconds]
triangles has joined #crystal-lang
mbarbar has quit [Remote host closed the connection]
mbarbar has joined #crystal-lang
Philpax_ has joined #crystal-lang
Philpax has quit [Ping timeout: 240 seconds]
rolha has joined #crystal-lang
rolha has quit [Ping timeout: 240 seconds]
triangles has quit [Quit: Leaving]
rolha has joined #crystal-lang
Philpax_ has quit [Ping timeout: 252 seconds]
<
FromGitter>
<sdogruyol> isn't it better to have HTTP::Headers use a NamedTuple instead of a Hash?
<
jhass>
it's not possible
<
jhass>
the set of valid HTTP headers is indefinite
<
FromGitter>
<sdogruyol> hmm
<
FromGitter>
<sdogruyol> can you give me an explicit example where NamedTuple is insufficient with that
<
jhass>
X-Foo-Bar-Yolo is a valid header
<
FromGitter>
<sdogruyol> {"X-Foo-Bar-Yolo": "Something"} isn't this is a valid NamedTuple
<
jhass>
but how do you construct it from a HTTP response?
<
FromGitter>
<sdogruyol> i'm sorry if i am missing something but isn't it the same as Hash?
<
jhass>
>> nt = {foo: "bar"}; nt[:bar] = "baz"
<
jhass>
>> x = "foo"; {x => 1}
<
jhass>
>> x = "foo"; {x: 1}
<
FromGitter>
<sdogruyol> ahh
<
jhass>
it's a tuple
<
jhass>
the indicies just have names
<
FromGitter>
<sdogruyol> but you cant access it
<
jhass>
sure you can
<
FromGitter>
<sdogruyol> like you'd in a Hash
<
FromGitter>
<sdogruyol> *
<
jhass>
you can't modify it
<
jhass>
or construct key names unknown at compile time
<
FromGitter>
<sdogruyol> okay, now i get it that why can't we do that :)
<
FromGitter>
<sdogruyol> thank you
snsei_ has quit [Remote host closed the connection]
snsei has joined #crystal-lang
mbarbar has quit [Remote host closed the connection]
rolha has quit [Ping timeout: 264 seconds]
rolha has joined #crystal-lang
Raimondii has joined #crystal-lang
Raimondii has quit [Read error: Connection reset by peer]
trapped has quit [Read error: Connection reset by peer]
Raimondi^2 has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
Raimondi^2 is now known as Raimondi
Raimondi is now known as Raimondii
Raimondii is now known as Raimondi^1
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 240 seconds]
Raimondi^1 is now known as Raimondi
Raimondi is now known as Raimondii
Raimondii is now known as Raimondi
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
snsei has joined #crystal-lang
snsei_ has quit [Ping timeout: 258 seconds]
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
paulcsmith_ has joined #crystal-lang
pawnbox has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 276 seconds]
rolha has quit [Ping timeout: 272 seconds]
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 272 seconds]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 240 seconds]
rolha has joined #crystal-lang
soveran has quit [Remote host closed the connection]
snsei has joined #crystal-lang
snsei_ has quit [Ping timeout: 240 seconds]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 240 seconds]
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 260 seconds]
Ven has joined #crystal-lang
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei_ has quit [Ping timeout: 252 seconds]
snsei has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 246 seconds]
<
crystal-gh>
[crystal] Nephos opened pull request #2946: WIP: Add new HTTP::Headers constructors (master...http-headers-new-with-params)
https://git.io/vKvhU
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 244 seconds]
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 252 seconds]
rolha has quit [Ping timeout: 258 seconds]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Ping timeout: 240 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang