jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.7.4 | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/manastech/crystal - Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
wanderer_ has quit [Quit: Page closed]
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
nahtnam has quit [Quit: Connection closed for inactivity]
havenwood has joined #crystal-lang
lokulin has quit [Ping timeout: 265 seconds]
lokulin has joined #crystal-lang
havenwood has quit [Ping timeout: 240 seconds]
havenwood has joined #crystal-lang
ponga has joined #crystal-lang
strcmp1 has quit [Ping timeout: 264 seconds]
eam has quit [Ping timeout: 246 seconds]
eam has joined #crystal-lang
willl has quit [Quit: Connection closed for inactivity]
sailorswift has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BlaXpirit has joined #crystal-lang
blassin has joined #crystal-lang
<blassin> hey
<blassin> (Julien's answer)
<blassin> what does helper_method need to look like?
<jhass> blassin: that'd be whatever you want to do as workload
<blassin> and it doesn't work
<blassin> (error)
<jhass> (the error is above that ;) )
<blassin> oops, sorry
<jhass> mmh, but yeah, here too
<blassin> so what am I doing wrong?
<jhass> nothing
<jhass> let me see
<blassin> oh, phew :D
<blassin> I realize channels are pretty much in flux
<blassin> maybe the api got updated?
<jhass> maybe
<jhass> yeah, so https://github.com/manastech/crystal/blob/master/src/concurrent/channel.cr#L42 needs the channels as individual arguments, but you can't splat an array in crystal :/
<jhass> blassin: http://paste.mrzyx.de/pfukzkpzq if you add that to the top it should work until stdlib supports that
<blassin> you can't splat an array? I thought I was doing that on my helper_method
<jhass> no, it's a Tuple then
<blassin> oh, ok
<blassin> jhass: thanks for the help!
<jhass> yw
blassin has quit [Quit: Page closed]
<crystal-gh> [crystal] jhass opened pull request #999: Channel.select accepts an array of channels too (master...channel_select) http://git.io/vmXXZ
wanderer_ has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vm1KC
<crystal-gh> crystal/master 13a661b Ary Borenszweig: Fixed #1000: incorrect Call#to_s with implicit block arg and regular arg
<travis-ci> manastech/crystal#13a661b (master - Fixed #1000: incorrect Call#to_s with implicit block arg and regular arg): The build passed. https://travis-ci.org/manastech/crystal/builds/71551181
zipR4ND has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vm1MQ
<crystal-gh> crystal/master a7d31c6 Ary Borenszweig: Fixed #986: compiler crash when overloading splat against method with many args
wanderer_ has quit [Ping timeout: 246 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vm1Qu
<crystal-gh> crystal/master 64a79d9 Ary Borenszweig: Fixed #996: disallow casting generic type using a base type for the type var
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vm1dX
<crystal-gh> crystal/master c188461 Ary Borenszweig: Fixed #1001: Invoking `super` should automatically add splat arguments
lokulin has quit [Ping timeout: 256 seconds]
<travis-ci> manastech/crystal#c188461 (master - Fixed #1001: Invoking `super` should automatically add splat arguments): The build has errored. https://travis-ci.org/manastech/crystal/builds/71555735
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vm1Nb
<crystal-gh> crystal/master 98ba387 Ary Borenszweig: Fixed #946: better error message when doing `a = 1 if a` (using a variable before it's declared in a suffix if)
lokulin has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vm1jy
<crystal-gh> crystal/master c37849a Ary Borenszweig: Fixed #991: give error when trying to use instance variable inside enum type
<crystal-gh> crystal/master 9061f84 Ary Borenszweig: Added spec for when trying to use instance variable inside primitive type
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vmMeX
<crystal-gh> crystal/master 21ce1f1 Ary Borenszweig: Fixed #870: correct Return#to_s when exp is an Expressions
<travis-ci> manastech/crystal#9061f84 (master - Added spec for when trying to use instance variable inside primitive type): The build has errored. https://travis-ci.org/manastech/crystal/builds/71558720
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vmMf6
<crystal-gh> crystal/master 61d488b Anton Davydov: Add documentation for UDPSocket class [skip ci]
<crystal-gh> crystal/master f55eefe Ary Borenszweig: Merge pull request #995 from davydovanton/doc-udp-socket...
<travis-ci> manastech/crystal#a7d31c6 (master - Fixed #986: compiler crash when overloading splat against method with many args): The build has errored. https://travis-ci.org/manastech/crystal/builds/71552692
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vmMJU
<crystal-gh> crystal/master b9c0acc Anton Davydov: Add documentation for URI class [skip ci]
<crystal-gh> crystal/master 520a762 Ary Borenszweig: Merge pull request #997 from davydovanton/doc-uri...
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vmMkL
<crystal-gh> crystal/master 529cc7b Ary Borenszweig: Some fixes to URI docs
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
blue_deref has joined #crystal-lang
luislavena has joined #crystal-lang
sailorswift has joined #crystal-lang
sailorswift has quit [Read error: Connection reset by peer]
sailorsw_ has joined #crystal-lang
zipR4ND has quit [Ping timeout: 246 seconds]
<travis-ci> manastech/crystal#21ce1f1 (master - Fixed #870: correct Return#to_s when exp is an Expressions): The build has errored. https://travis-ci.org/manastech/crystal/builds/71559191
sailorsw_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sailorswift has joined #crystal-lang
<travis-ci> manastech/crystal#520a762 (master - Merge pull request #997 from davydovanton/doc-uri): The build passed. https://travis-ci.org/manastech/crystal/builds/71560238
ponga has quit [Quit: Connection closed for inactivity]
willl has joined #crystal-lang
luislavena has quit [Remote host closed the connection]
sailorswift has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
havenwood has quit [Ping timeout: 264 seconds]
luislavena has joined #crystal-lang
luislavena has quit [Ping timeout: 256 seconds]
havenwood has joined #crystal-lang
luislavena has joined #crystal-lang
luislavena has quit [Remote host closed the connection]
sailorswift has joined #crystal-lang
<crystal-gh> [crystal] davydovanton opened pull request #1002: Update documentation for Symbol struct (master...doc-symbol) http://git.io/vmMpM
havenwood has quit [Ping timeout: 240 seconds]
flaviu has quit [Read error: Connection reset by peer]
flaviu has joined #crystal-lang
NeverDie has joined #crystal-lang
havenwood has joined #crystal-lang
blue_deref has quit [Quit: bbn]
mrx1 has joined #crystal-lang
sailorswift has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
luislavena has joined #crystal-lang
luislavena has quit [Ping timeout: 260 seconds]
<crystal-gh> [crystal] bjmllr opened pull request #1003: if doesn't change the types of methods (gh-pages...if-met) http://git.io/vmDgq
<vifino> If I have function x expecting a block, in which I want to pass the block x expects to function y, how would I do that?
BlaXpirit has quit [Quit: Konversation]
<jhass> vifino: def x(&block); y(&block); end; if the signature matches (you need to specify it in the method definition too, &block : Foo -> Bar), else just def x; y { yield } end
<vifino> Alright, thanks jhass!
<vifino> Damn. Rebuilding crystal always fails now.
<vifino> 1) Code gen: C ABI x86_64 passes struct less than 64 bits as { i64 } in varargs
mrx1 has left #crystal-lang ["Leaving"]
luislavena has joined #crystal-lang
<crystal-gh> [crystal] will opened pull request #1004: Uri fixes (master...uri-fixes) http://git.io/vmDMU
luislavena has quit [Remote host closed the connection]
<jhass> vifino: mmh, you're on 32bit?
<vifino> Nope.
<vifino> 64 bit.
<jhass> weird
havenwood has quit [Ping timeout: 240 seconds]
luislavena has joined #crystal-lang
sailorswift has joined #crystal-lang