jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.15.0 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
Philpax has joined #crystal-lang
broz has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 264 seconds]
ragmaanir has quit [Quit: Leaving]
broz has joined #crystal-lang
broz has quit [Ping timeout: 244 seconds]
rolha_ has joined #crystal-lang
rolha has quit [Ping timeout: 260 seconds]
iamstef_ has joined #crystal-lang
AckZ has quit [Ping timeout: 244 seconds]
iamstef has quit [Ping timeout: 244 seconds]
soveran has joined #crystal-lang
iamstef_ has quit [Ping timeout: 276 seconds]
soveran has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
AckZ has joined #crystal-lang
iamstef_ has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
broz has joined #crystal-lang
broz has quit [Ping timeout: 264 seconds]
Philpax has quit [Read error: Connection reset by peer]
Philpax has joined #crystal-lang
Philpax has quit [Read error: Connection reset by peer]
Philpax has joined #crystal-lang
Raimondi has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
broz has joined #crystal-lang
broz has quit [Ping timeout: 276 seconds]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 276 seconds]
pawnbox has joined #crystal-lang
broz has joined #crystal-lang
rolha has joined #crystal-lang
rolha_ has quit [Ping timeout: 264 seconds]
broz has quit [Read error: Connection reset by peer]
broz_ has joined #crystal-lang
broz_ has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
brunto has joined #crystal-lang
pawnbox has joined #crystal-lang
soveran has joined #crystal-lang
emancu has joined #crystal-lang
willl has quit [Quit: Connection closed for inactivity]
brunto has quit [Ping timeout: 276 seconds]
zeno_ has joined #crystal-lang
zeno_ has quit [Client Quit]
emancu_ has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
asterite_ has joined #crystal-lang
miketheman_ has joined #crystal-lang
emancu has quit [*.net *.split]
miketheman has quit [*.net *.split]
asterite has quit [*.net *.split]
ldlework has quit [*.net *.split]
pabs has quit [*.net *.split]
miketheman_ is now known as miketheman
asterite_ is now known as asterite
ldlework has joined #crystal-lang
emancu has joined #crystal-lang
salvor has joined #crystal-lang
emancu_ has quit [*.net *.split]
fmcevoy has quit [*.net *.split]
mlitwiniuk has quit [*.net *.split]
wmoxam has quit [*.net *.split]
salvor- has quit [*.net *.split]
Papierkorb has quit [*.net *.split]
pleiosaur has quit [*.net *.split]
tilpner has quit [*.net *.split]
acetoxy has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
ldlework has quit [*.net *.split]
tilpner has joined #crystal-lang
Papierkorb has joined #crystal-lang
pabs has joined #crystal-lang
yxhuvud has joined #crystal-lang
acetoxy has joined #crystal-lang
brunto has joined #crystal-lang
wmoxam has joined #crystal-lang
pleiosaur has joined #crystal-lang
rolha_ has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
rolha has quit [Ping timeout: 244 seconds]
rolha has joined #crystal-lang
rolha_ has quit [Ping timeout: 260 seconds]
trapped has joined #crystal-lang
rolha_ has joined #crystal-lang
rolha has quit [Ping timeout: 260 seconds]
pawnbox_ has joined #crystal-lang
fmcevoy has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
jeromegn has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 260 seconds]
pawnbox_ has joined #crystal-lang
jeromegn has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 264 seconds]
ldlework has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
brunto has quit [Ping timeout: 264 seconds]
pawnbox has joined #crystal-lang
mlitwiniuk has joined #crystal-lang
brunto has joined #crystal-lang
brunto has quit [Ping timeout: 268 seconds]
brunto has joined #crystal-lang
rolha_ has quit [Ping timeout: 244 seconds]
rolha has joined #crystal-lang
rvchangue has quit [Ping timeout: 260 seconds]
rvchangue has joined #crystal-lang
brunto has quit [Ping timeout: 268 seconds]
Ven has joined #crystal-lang
Ven has quit [Client Quit]
brunto has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
grindhold has quit [Ping timeout: 244 seconds]
grindhold has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
miketheman has quit [Ping timeout: 244 seconds]
bjmllr has quit [Ping timeout: 244 seconds]
miketheman has joined #crystal-lang
bjmllr has joined #crystal-lang
brunto has quit [Ping timeout: 268 seconds]
pawnbox has joined #crystal-lang
<[spoiler]> Yo. Which style is preferred in the stdlib `def abc(&block)` or no `def abc` when the method accepts a block? I feel like the former one makes it more obvious
<[spoiler]> I am seeing both :/
bebac has joined #crystal-lang
<RX14> [spoiler], they are different
brunto has joined #crystal-lang
<RX14> def abc(&proc) captures the block as a proc, in a variable which can be passed around or otherwise stored
<RX14> def abc; then using yield is a cheaper operation, but more limited
brunto has quit [Ping timeout: 250 seconds]
Raimondi has joined #crystal-lang
<[spoiler]> RX14: I understand that they're different. I was merely addressing the issue of style. I realise that &block, and just using yield won't have any effect
<RX14> the style is: use yield if you can, capture the block if you have to do fancy things
<[spoiler]> I just meant the `def` line :P
<[spoiler]> to make it obvious to whoever reads the method definition that it also accepts a block
<RX14> but you wouldn't use &block unless it's neccesary
<[spoiler]> No, of course not
<[spoiler]> If you look at the API docs, you'll notice that the method signatures there add `&block`
<[spoiler]> Even though the block isn't captured and used inside the method itself
<[spoiler]> but only yields
<RX14> huh
<RX14> i didn't realise that
<[spoiler]> I remember there being a discussion on the mailing list, or maybe in an issue regarding this, but I don't recall what the conclusion was
<[spoiler]> This is why I came here to ask
rolha_ has joined #crystal-lang
rolha has quit [Ping timeout: 268 seconds]
brunto has joined #crystal-lang
unshadow has joined #crystal-lang
matp has quit [Ping timeout: 260 seconds]
Philpax has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Raimondi has quit [Remote host closed the connection]
Raimondi has joined #crystal-lang
<crystal-gh> [crystal] omninonsense opened pull request #2469: Minor Range improvements (master...range-reverse_each) https://git.io/vwtog
<[spoiler]> How much memory is required to compile all the specs o.o It farted out at a little over 2 gb for me (out of 4 allocated in the VM)
<[spoiler]> there was a bunch of `fork: Cannot allocate memory` errors
unshadow has quit [Quit: leaving]
pawnbox has quit [Ping timeout: 246 seconds]
pawnbox has joined #crystal-lang
broz has joined #crystal-lang
rolha has joined #crystal-lang
rolha_ has quit [Ping timeout: 250 seconds]
brunto has quit [Ping timeout: 250 seconds]
broz has quit [Ping timeout: 244 seconds]
broz has joined #crystal-lang
matp has joined #crystal-lang
brunto has joined #crystal-lang
broz has quit [Remote host closed the connection]
soveran has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
rolha has quit [*.net *.split]
rvchangue has quit [*.net *.split]
rolha has joined #crystal-lang
rvchangue has joined #crystal-lang
soveran has joined #crystal-lang
pawnbox has joined #crystal-lang
brunto has quit [Ping timeout: 276 seconds]
soveran has quit [Remote host closed the connection]
x0f has quit [Ping timeout: 276 seconds]
swav has quit [Ping timeout: 276 seconds]
grindhold_ has joined #crystal-lang
swav has joined #crystal-lang
x0f has joined #crystal-lang
grindhold has quit [*.net *.split]
mlitwiniuk has quit [*.net *.split]
<jokke> any ideas how to debug this? https://p.jreinert.com/S8V/
soveran has joined #crystal-lang
<jokke> is it possible to use another linker?
rolha_ has joined #crystal-lang
<crystal-gh> [crystal] bebac opened pull request #2470: Add cache control headers to http static file handler + a few more mi… (master...static-file-handler) https://git.io/vwtSP
rolha has quit [Ping timeout: 250 seconds]
TheLemonMan has joined #crystal-lang
rolha has joined #crystal-lang
rolha_ has quit [Ping timeout: 268 seconds]
rolha has quit [Read error: Connection reset by peer]
rolha has joined #crystal-lang
sandelius has joined #crystal-lang
leafybas- has quit [Ping timeout: 260 seconds]
leafybasi has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
Ven has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 2 new commits to master: https://git.io/vwtdT
<crystal-gh> crystal/master c0de8b4 Will Leinweber: Adds BigRational...
<crystal-gh> crystal/master 49271c3 Ary Borenszweig: Merge pull request #2466 from will/big_rational...
<travis-ci> crystal-lang/crystal#49271c3 (master - Merge pull request #2466 from will/big_rational): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/123750386
willl has joined #crystal-lang
<crystal-gh> [crystal] asterite opened pull request #2473: Compiler: guess types from `obj.tap { ... }` (guess from `obj`) (master...feature/guess_tap) https://git.io/vwtdx
Ven_ has joined #crystal-lang
Ven has quit [*.net *.split]
sandelius has quit [*.net *.split]
rolha has quit [*.net *.split]
rolha has joined #crystal-lang
soveran_ has joined #crystal-lang
steenuil has joined #crystal-lang
soveran has quit [Ping timeout: 250 seconds]
bebac has quit [Quit: bebac]
rolha has quit [Ping timeout: 260 seconds]
rolha has joined #crystal-lang
rolha has quit [Read error: Connection reset by peer]
tamole has joined #crystal-lang
steenuil has quit [Ping timeout: 250 seconds]
maxpowa has quit [Ping timeout: 260 seconds]
maxpowa has joined #crystal-lang
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
soveran_ has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 276 seconds]
havenwood has joined #crystal-lang
tamole has quit [Quit: ...]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
willl_ has joined #crystal-lang
rvchangu- has joined #crystal-lang
swav_ has joined #crystal-lang
x0f_ has joined #crystal-lang
willl has quit [*.net *.split]
x0f has quit [*.net *.split]
swav has quit [*.net *.split]
rvchangue has quit [*.net *.split]
bjmllr has quit [*.net *.split]
rvchangu- is now known as rvchangue
willl_ is now known as willl
swav_ is now known as swav
bjmllr has joined #crystal-lang
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
fmcevoy has quit [Quit: Lost terminal]
trapped has quit [Read error: Connection reset by peer]
fmcevoy has joined #crystal-lang
soveran has quit [Remote host closed the connection]
Philpax has joined #crystal-lang
<wmoxam> Hi! How can I specify type for an array of classes?
Philpax has quit [Read error: Connection reset by peer]
broz has joined #crystal-lang
Philpax has joined #crystal-lang
Philpax_ has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 3 new commits to master: https://git.io/vwqUp
<crystal-gh> crystal/master c3fba74 Ary Borenszweig: Compiler: don't consider included module type guess for an explicitly declared type
<crystal-gh> crystal/master 209d3bd Ary Borenszweig: Compiler: don't complain on nilable instance var that comes from a recursive alias type
<crystal-gh> crystal/master a6b4ae0 Ary Borenszweig: Compiler: small refactor
<asterite> wmoxam: [] of Base.class
Philpax has quit [Ping timeout: 276 seconds]
<travis-ci> crystal-lang/crystal#a6b4ae0 (master - Compiler: small refactor): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/123787548
Philpax__ has joined #crystal-lang