ur5us has quit [Ping timeout: 272 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 272 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 272 seconds]
f1refly has joined #crystal-lang
antoszka_ has joined #crystal-lang
hellstabber_ has joined #crystal-lang
kevinsjoberg_ has joined #crystal-lang
hellstabber has quit [*.net *.split]
DeBot has quit [*.net *.split]
kevinsjoberg has quit [*.net *.split]
antoszka has quit [*.net *.split]
hellstabber_ is now known as hellstabber
antoszka_ is now known as antoszka
kevinsjoberg_ is now known as kevinsjoberg
<
FromGitter>
<naqvis> Hi
<
frojnd>
I would like to add array of object inside {foo: arr}.to_json but I get error like unexpected tocken arr:
https://carc.in/#/r/d6jc any ideas?
<
FromGitter>
<Blacksmoke16> use `()` with `puts`
<
FromGitter>
<Blacksmoke16> `puts({foo: baz})`
<
frojnd>
@Blacksmoke16 thank you~
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #crystal-lang
<
FromGitter>
<HertzDevil> is this meant to work?
<
FromGitter>
<naqvis> shouldn't be, as iirc, Crystal doesn't do implicit conversion
<
FromGitter>
<HertzDevil> yeah i mean if that pr is meant to cover the above case
<
FromGitter>
<oprypin:matrix.org> oh ok
<
FromGitter>
<naqvis> i hope they don't. As its better to be explicit than having half apple half banana
<
FromGitter>
<oprypin:matrix.org> don't know if it's meant but looks nice to me
<
FromGitter>
<oprypin:matrix.org> ah so it
*doesn't* currently work as such. i was confused by the phrasing
Sankalp has quit [Ping timeout: 240 seconds]
Sankalp has joined #crystal-lang
jmdaemon has joined #crystal-lang
jmd_ has joined #crystal-lang
jmdaemon has quit [Ping timeout: 240 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Quit: Leaving]
ur5us has joined #crystal-lang
jmdaemon has joined #crystal-lang
hexology- has joined #crystal-lang
hexology- is now known as hexology
hexology is now known as hexology-
hexology- is now known as hexology