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
aquijoule_ has joined #crystal-lang
chachasmooth has quit [Ping timeout: 276 seconds]
richbridger has quit [Ping timeout: 268 seconds]
chachasmooth has joined #crystal-lang
hendursa1 has joined #crystal-lang
hendursaga has quit [Ping timeout: 240 seconds]
hendursaga has joined #crystal-lang
hendursa1 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #crystal-lang
<FromGitter> <Groogy> @RespiteSage went to sleep, thx for trying to help. Yeah I mean the class can work through power of two later on, belive it is more optimized as well to do it that way. For now just keeping it at a factor of 10 because it's easier to see when debugging.
<FromGitter> <Groogy> Gonna try and read through your math as soon as I get coffee in me
<FromGitter> <Groogy> Oh god I haven't done that kind of math since I was in school . (Not sure what it's called in English when you break down and move around components in the equation)
<FromGitter> <Daniel-Worrall> algebra
<FromGitter> <Groogy> I'm dumb
<FromGitter> <Daniel-Worrall> Smart enough to be bilingual :)
<FromGitter> <Groogy> I'm blaming the lack of coffee in my blood flow
johnny101 has quit [Ping timeout: 260 seconds]
alexherbo25 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 245 seconds]
alexherbo25 is now known as alexherbo2
hendursaga has quit [Quit: hendursaga]
hendursaga has joined #crystal-lang
<FromGitter> <kingsleyh> hey anyone know why this is failing: abstract def map(&block : A -> B) : Functor(B) forall B (Error: can't resolve return type Functor(B))
<FromGitter> <Blacksmoke16> related to https://github.com/crystal-lang/crystal/issues/10699
<FromGitter> <Blacksmoke16> er, specifically https://github.com/crystal-lang/crystal/issues/8766
<FromGitter> <kingsleyh> ah ok that bug is pretty old - explains why it works in older versions of Crystal but not in any of the recent ones. I guess it will be a while until it's fixed so I'll take a differnt approach
<FromGitter> <Blacksmoke16> #9810
<DeBot> https://github.com/crystal-lang/crystal/pull/9810 (Make abstract def return type warning an error)
<FromGitter> <Blacksmoke16> it used to be a warning, but those were turned into errors for 1.0.0
duane has quit [Ping timeout: 252 seconds]
duane has joined #crystal-lang
alexherbo23 has joined #crystal-lang
<FromGitter> <naqvis> > hey anyone know why this is failing: abstract def map(&block : A -> B) : Functor(B) forall B (Error: can't resolve return type Functor(B)) ⏎ ⏎ @kingsleyh you can work around this either via removing the return type or just changing the return type to `abstract def map(&block : A -> B) : Functor forall B`
alexherbo2 has quit [Ping timeout: 245 seconds]
alexherbo23 is now known as alexherbo2
<FromGitter> <kingsleyh> thanks @naqvis
johnny101 has joined #crystal-lang
alexherbo24 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo24 is now known as alexherbo2
<FromGitter> <kingsleyh> what am I not undersanding about nested modules? https://play.crystal-lang.org/#/r/b56v
<FromGitter> <Blacksmoke16> `extend`
<FromGitter> <Blacksmoke16> the method is an instance method and you're trying to call it in the class context
<FromGitter> <kingsleyh> doh!
<FromGitter> <kingsleyh> thanks
alexherbo2 has quit [Ping timeout: 245 seconds]
DTZUZU has quit [Read error: Connection reset by peer]