ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
ur5us has quit [Ping timeout: 268 seconds]
ur5us has joined #crystal-lang
jmdaemon has joined #crystal-lang
<FromGitter> <Blacksmoke16> could provide compose/helm files to make that simpler
jhass has quit [Ping timeout: 268 seconds]
jhass has joined #crystal-lang
jmdaemon has quit [Ping timeout: 264 seconds]
jmdaemon has joined #crystal-lang
jmdaemon has quit [Quit: ZNC 1.8.2 - https://znc.in]
jmdaemon has joined #crystal-lang
ur5us has quit [Ping timeout: 268 seconds]
ur5us has joined #crystal-lang
Sankalp has quit [Ping timeout: 265 seconds]
hightower2 has joined #crystal-lang
Sankalp has joined #crystal-lang
<FromGitter> <roquie> How to create an iterable class with Crystal? ⏎ ⏎ Example what I want: ⏎ ⏎ ```code paste, see link``` ... [https://gitter.im/crystal-lang/crystal?at=63218433cf6cfd27af8a1659]
<FromGitter> <oprypin:matrix.org> @roquie: you're just missing 1 small part - `three.each do`
ur5us has quit [Ping timeout: 244 seconds]
<FromGitter> <roquie> @oprypin:matrix.org Yes, I known. But it possible to use object as collection? Sample: ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=63218e19f4d7a323ded0bc9a]
<FromGitter> <roquie> Of course I can do: ⏎ ⏎ `````` [https://gitter.im/crystal-lang/crystal?at=63218e72647d633cf61d4242]
<hightower2> Are you just looking for a shorter syntax? Like: list.each( &.each { |item| p item })
<FromGitter> <roquie> heh, why not
<hightower2> oh appears to work even without ()
ur5us has joined #crystal-lang
<FromGitter> <roquie> fine
<FromGitter> <paulocoghi> Hello, Crystal community! ⏎ ⏎ I just wanted to share with you this project that caught my attention, the TileDB project.
<FromGitter> <paulocoghi> https://github.com/TileDB-Inc/TileDB
<FromGitter> <paulocoghi> It's a novel concept of universal storage engine for any type of data, based exclusively on sparse and dense arrays.
<FromGitter> <paulocoghi> It provides an embedded C/C++ library, which by consequence, can be used on Crystal as well
jmdaemon has quit [Ping timeout: 244 seconds]
ur5us has quit [Ping timeout: 244 seconds]
<FromGitter> <Blacksmoke16> @roquie If you did something like `list = [*two.to_a, *three.to_a]` ofc. but afaik there isnt a way to automatically treat an object as an iterable
<FromGitter> <Blacksmoke16> actually if you go the `Iterator` route there is the `Iterator.chain` method which would do what you want
<FromGitter> <Blacksmoke16> https://play.crystal-lang.org/#/r/drjm
_ht has joined #crystal-lang
notzmv has quit [Ping timeout: 268 seconds]
Sankalp has quit [Ping timeout: 264 seconds]
Sankalp has joined #crystal-lang
rymiel has quit [Ping timeout: 268 seconds]
rymiel has joined #crystal-lang
notzmv has joined #crystal-lang
renich has joined #crystal-lang
_ht has quit [Quit: _ht]
Starfoxxes has quit [Read error: Connection reset by peer]
Starfoxxes has joined #crystal-lang
jmdaemon has joined #crystal-lang
ur5us has joined #crystal-lang