renicho has quit [Quit: Leaving]
jmd_ has quit [Ping timeout: 256 seconds]
renich has joined #crystal-lang
Peter0x44 has quit [Quit: WeeChat 2.3]
Peter0x44 has joined #crystal-lang
nq_ has quit [Remote host closed the connection]
notzmv has quit [Ping timeout: 240 seconds]
hightower4 has quit [Remote host closed the connection]
wolfshappen has quit [Quit: later]
wolfshappen has joined #crystal-lang
DeBot has quit [Quit: Crystal IRC]
jhass has quit [Quit: Bye]
DeBot has joined #crystal-lang
jhass has joined #crystal-lang
straight-shoota has joined #crystal-lang
jmdaemon has joined #crystal-lang
notzmv has joined #crystal-lang
nq_ has joined #crystal-lang
jmdaemon has joined #crystal-lang
<
SamantazFox_>
interesting: the `&&` version and the `return false if ...` are optimized the same!
ur5us has joined #crystal-lang
<
SamantazFox_>
uh, wait, I'm dumb...
<
SamantazFox_>
ok, so multi-line checking is less efficient by a percent or something.
ur5us has quit [Ping timeout: 240 seconds]
ur5us has joined #crystal-lang
SamantazFox_ is now known as SamantazFox
<
SamantazFox>
Mmmh... `Array(A | B | C) | Array(D)` is supposed to be the same as `Array(A | B | C | D)`, right?
<
FromGitter>
<Blacksmoke16> im thinking no
<
FromGitter>
<Blacksmoke16> the former is saying it can either take an array of a, b, or, OR an array of only d
<
FromGitter>
<Blacksmoke16> which isnt the same thing as an array that can take a, b, c, or d
<
SamantazFox>
And as an output?
ur5us has quit [Ping timeout: 240 seconds]
<
SamantazFox>
Ah, makes sense! Thanks ^^
<
SamantazFox>
(The error message I got was similar from the one in your example, but with much more class names, which was super confusing)