<FromGitter>
<Qwerp-Derp> Is there an online website that visualises how a macro expands?
<FromGitter>
<Qwerp-Derp> I *might* do it if no one else has done it and if I can be bothered, how hard would it be to make?
<FromGitter>
<codenoid> good noon all
<FromGitter>
<lunarfyre7> I'm trying to install a shard from it's main repo, but no matter what I do shards gets a particular fork og the shard that's 3 years old...
<FromGitter>
<lunarfyre7> What I want `jreinert/ncurses-crystal`, what it gives me, even after manually changing the lockfile `maxpowa/ncurses-crystal`
<FromGitter>
<codenoid> what `Slice(UInt8) ->` mean
<FromGitter>
<sam0x17> a block that takes a Slice of Uint8's as an argument
<FromGitter>
<sam0x17> and returns nothing in particular
<FromGitter>
<codenoid> it's just life def `funct(arr : Array(String))` right ??
return0e has joined #crystal-lang
<FromGitter>
<sam0x17> apparently you can omit the return type of the block but you still need the `->` so it knows you are talking about the first argument and not the return type
<FromGitter>
<sam0x17> e.g. `def on_data(&block : Slice(UInt8))` won't compile
<FromGitter>
<sam0x17> but `def on_data(&block : Slice(UInt8) ->)` will as will `def on_data(&block : Slice(UInt8) -> String)` `def on_data(&block : Slice(UInt8) -> Bool)` etc
<FromGitter>
<codenoid> *like ⏎ ⏎ > it's just life def `funct(arr : Array(String))` right ?
<FromGitter>
<codenoid> okay ✨
<FromGitter>
<sam0x17> @codenoid I'm not sure
<FromGitter>
<sdogruyol> Yo
<FromGitter>
<lunarfyre7> Ah, my problem was from another shard requiring the wrong version
<FromGitter>
<Qwerp-Derp> How hard would it be to make a visual macro expander for Crystal macros?
<FromGitter>
<Qwerp-Derp> It's really useful for the fairly large macro that I'm making
<FromGitter>
<drum445> Something like that for example, you need to explicitly declare a type there before assignment
<FromGitter>
<drum445> Strange that it is only an issue for time though
<FromGitter>
<codenoid> thank you
<FromGitter>
<drum445> if you set the property for the attr, you don't need to manually define a getter - i.e. your regular method
<FromGitter>
<drum445> you can just call it using ⏎ foo.date
<FromGitter>
<vladfaust> How would you call three developer statuses regarding to job search? Like, `available`, `open` and `not available`? I'm confused with `open` term
thews has quit [Ping timeout: 245 seconds]
flaviodesousa has joined #crystal-lang
thews has joined #crystal-lang
<FromGitter>
<Schniz> @bararchy @omerxx hehe I just saw the message! 🇮🇱
thews has quit [Ping timeout: 250 seconds]
rohitpaulk has quit [Ping timeout: 245 seconds]
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
<lvmbdv>
vladfaust: actively looking, casually available, not available
notdaniel has quit [Quit: Ping timeout (120 seconds)]
<FromGitter>
<vlazar> The link I've posted above. When you buy a book you'll get access to epub/mobi/PDF version of book.
Heaven31415 has quit [Ping timeout: 245 seconds]
<FromGitter>
<fridgerator> Whoohoo! 🎉
Groogy1 has quit [Ping timeout: 272 seconds]
DTZUZU has quit [Quit: WeeChat 1.9]
DTZUZU has joined #crystal-lang
DTZUZO_ has quit [Ping timeout: 240 seconds]
<FromGitter>
<vladfaust> @LVMBDV any reference or just by experience?
<lvmbdv>
linkedin's choices are that iirc
<FromGitter>
<vladfaust> Oh nice, thank you
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 246 seconds]
ua has quit [Ping timeout: 252 seconds]
<FromGitter>
<bararchy> @vlazar nice!
druonysus has joined #crystal-lang
<FromGitter>
<bew> @vlazar awesome! I'm wondering, what'll happen after the next Crystal release? (or more precisely when a language change happen) will you update it?
ua has joined #crystal-lang
lunarkittychan has joined #crystal-lang
lunarkittychan is now known as lunarfyre7
DTZUZO_ has joined #crystal-lang
moei has joined #crystal-lang
<FromGitter>
<girng> weird question just cuz i'm bored. https://play.crystal-lang.org/#/r/51pz but which way would be the "correct" and most performant?
<FromGitter>
<girng> the each_value imo, looks the best syntactically speaking and does exactly what i want. so i'll prob use that one