jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.7.2 | 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
havenwood has joined #crystal-lang
bcardiff has quit [Quit: Leaving.]
bhishma has quit [Ping timeout: 265 seconds]
datanoise has joined #crystal-lang
mdz_ has joined #crystal-lang
mdz_ has quit [Ping timeout: 252 seconds]
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
bombless has joined #crystal-lang
Mercurial_ has joined #crystal-lang
<Mercurial_> hi
Mercurial_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
havenwood has joined #crystal-lang
DeBot has quit [Read error: Connection reset by peer]
wmoxam has joined #crystal-lang
kulelu88 has left #crystal-lang ["Leaving"]
havenwood has quit [Ping timeout: 246 seconds]
Mercurial_ has joined #crystal-lang
<Mercurial_> Hey
mdz_ has joined #crystal-lang
<bombless> ?
<bombless> can i cross compile it for windows?
mdz_ has quit [Ping timeout: 244 seconds]
asterite has joined #crystal-lang
<asterite> bombless: not yet, only linux and mac for now
<bombless> asterite, ok, thanks :)
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vInRV
<crystal-gh> crystal/master b87719d Ary Borenszweig: Merge pull request #736 from flaviut/improve-gitignore...
<crystal-gh> crystal/master 542ed09 Flaviu Tamas: Add /doc/ to gitignore
asterite has quit [Quit: Page closed]
<travis-ci> manastech/crystal#2420 (master - b87719d : Ary Borenszweig): The build passed.
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vIn0S
<crystal-gh> crystal/master 3cf4f0b Ary Borenszweig: Removed `Process.kill(pid, signal)` overload
<crystal-gh> crystal/master 0cd526c Ary Borenszweig: Hide Thread from docs, and leave a comment to use spawn and channels instead
vikaton has quit [Quit: Connection closed for inactivity]
<travis-ci> manastech/crystal#2421 (master - 0cd526c : Ary Borenszweig): The build passed.
Mercurial_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Mercurial_ has joined #crystal-lang
mdz_ has joined #crystal-lang
Mercurial_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
unshadow has joined #crystal-lang
bombless has quit [Ping timeout: 265 seconds]
mdz_ has quit [Remote host closed the connection]
Ven has joined #crystal-lang
strcmp1 has quit [Remote host closed the connection]
bombless has joined #crystal-lang
benhuda has joined #crystal-lang
datanoise has quit [Ping timeout: 258 seconds]
BlaXpirit has joined #crystal-lang
sandelius has joined #crystal-lang
Arrrr has joined #crystal-lang
Arrrr has left #crystal-lang ["WeeChat 1.2"]
strcmp1 has joined #crystal-lang
ponga has joined #crystal-lang
apfohl has joined #crystal-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apfohl> Hello, I've created a blank crystal project with "crystal new example". Is there any special way to compile the project with "crystal build|run" or do I have to run it on the the main file?
sandelius has joined #crystal-lang
<jhass> apfohl: just the latter
<jhass> or any file you want as entry point really
<apfohl> ok, but why is there a crystal project?
mdz_ has joined #crystal-lang
benhuda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> huh, what do you mean?
<jhass> why the compiler suggest a certain project structure?
<apfohl> yep
mdz_ has quit [Ping timeout: 258 seconds]
<apfohl> i mean it's nice to have all that stuff like .travis.yml auto generated for you, but i would assume that i can make crystal run in the project or at least crystal build and that happens
<apfohl> or should i use make for that?
<jhass> well, it's always good to have a community standard, so future tools will likely have something to build upon ;)
<jhass> crystal build/run defaulting to something like src/$(basename $(pwd)).cr wouldn't be a too bad idea actually
<apfohl> so, what is the best practice right now?
<jhass> I think it still has to develop ;)
<apfohl> ok :)
<jhass> manastech/crystal uses a Makefile but I'm personally not a too big fan of that and I don't see many projects adopting it
<jhass> maybe someone does something like rake for crystal sometime...
<strcmp1> how are you jhass, my favorite deutsch man
<apfohl> but it's actually the best method to automate it with a makefile i guess.
<jhass> strcmp1: it's a nice warm & sunny day, could be worse ;)
<strcmp1> same here 8)
<jhass> well, I have some hopes somebody gets around to do something like rake for crystal ;)
<apfohl> but thanks anyway, i'm looking forward to a nice solution :)
<apfohl> so long and have a nice day :)
<apfohl> btw. make for crystal would give a nice name -> cake
<strcmp1> jhass, https://github.com/fowlmouth/nake#readme rake for nim.
<strcmp1> maybe provide inspiration maybe not
<jhass> apfohl: yeah, we also have a nice name for rack for crystal already, can you guess it? :P
<jhass> unfortunately cake is already taken for a build by some other language, let me check
<jhass> ah, yeah, the coffescript people got it
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
datanoise has joined #crystal-lang
<BlaXpirit> crack
<BlaXpirit> i mean crake
<jhass> well, both ;D
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
bhishma has joined #crystal-lang
ponga has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 245 seconds]
sandelius has joined #crystal-lang
Ven has joined #crystal-lang
asbradbury has joined #crystal-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<unshadow> I want to add to LibCurses the usage of the getmaxyx() macro: http://pubs.opengroup.org/onlinepubs/7908799/xcurses/curses.h.html , Does doing this in crystal is the way: fun getmaxyx(stdscr*) : Int32, Int32 ?
<BlaXpirit> unshadow, can't do anything with macros
<unshadow> Oh... so it's like structs ? (as in I need to implament them in Crystal)
<BlaXpirit> no, it's not like structs o.o
<BlaXpirit> let's just say macros are not exported
<unshadow> .... I meant that it's the same as ""IN"" structs, that you cannot use a C struct from crystal, you need to redo it in Crystal, so the same goes to macros as in you need to redo them in Crystal ?
<unshadow> I didnt mean that Structs == Macros
<BlaXpirit> still not the same
<unshadow> nm... Ok
datanoise has joined #crystal-lang
jhass is now known as DeBot
DeBot is now known as jhass
DeBot has joined #crystal-lang
datanoise has quit [Ping timeout: 250 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
benhuda has joined #crystal-lang
<unshadow> >> Signal.trap(Signal::INT) do { sleep 1}; end
<DeBot> unshadow: Error in line 7: undefined method 'inspect' for Void - http://carc.in/#/r/27d
<unshadow> >> Signal.trap(Signal::INT) do ; end
<DeBot> unshadow: Error in line 7: undefined method 'inspect' for Void - http://carc.in/#/r/27e
<unshadow> was there and changes to Signal lately ?
<unshadow> in ./aeon-client.cr:14: undefined method 'trap' for Signal:Class
<unshadow> Signal.trap(Signal::INT) do
<jhass> ary made it an enum I think?
<unshadow> Oh... so now it's Signal::INT.trap
<unshadow> sure no worries
bombless has quit [Ping timeout: 246 seconds]
rpitt has joined #crystal-lang
<unshadow> I hate ncurses :(
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sandelius has joined #crystal-lang
havenwood has joined #crystal-lang
Ven has joined #crystal-lang
Ven has quit [Client Quit]
Ven has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benhuda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rpitt has quit [Ping timeout: 250 seconds]
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 244 seconds]
BlaXpirit is now known as Guest44369
BlaXpirit_ has joined #crystal-lang
Guest44369 has quit [Killed (hobana.freenode.net (Nickname regained by services))]
<unshadow> what is the why to implament socket.closed? check ?
bombless has joined #crystal-lang
rpitt has joined #crystal-lang
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
ponga has joined #crystal-lang
ponga has quit [Client Quit]
Ven has quit [Client Quit]
Ven has joined #crystal-lang
dideler has joined #crystal-lang
mdz_ has joined #crystal-lang
mdz_ has quit [Ping timeout: 264 seconds]
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vICOG
<crystal-gh> crystal/master 8b34770 Ary Borenszweig: Added CSV.each_row
<crystal-gh> crystal/master e5c93d1 Ary Borenszweig: Added CSV.each_row iterator
asterite has joined #crystal-lang
rpitt has quit [Ping timeout: 250 seconds]
<travis-ci> manastech/crystal#2422 (master - e5c93d1 : Ary Borenszweig): The build passed.
mdz_ has joined #crystal-lang
flaviu has quit [Remote host closed the connection]
flaviu has joined #crystal-lang
<crystal-gh> [crystal] wmoxam opened pull request #749: Adds modulo support to Float (master...add-float-modulo-support) http://git.io/vICWa
vikaton has joined #crystal-lang
Mercurial_ has joined #crystal-lang
wuehlmaus has joined #crystal-lang
<strcmp1> hey all, is there currently an open issue that covers the compiler building statically linked binaries? is it possible already?
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NeverDie has joined #crystal-lang
bcardiff has joined #crystal-lang
Ven has joined #crystal-lang
<unshadow> yeha.... I'm too waiting on this one
Ven has quit [Client Quit]
sandelius has joined #crystal-lang
<strcmp1> it sounds like its possible already?
<jhass> should be, if you have static versions of everything around
<strcmp1> if my program doesn't use regular expressions can i exclude libpcre?
<jhass> perhaps, I never tried
<strcmp1> likewise, if i don't use some other library, can i just exclude it?
<strcmp1> ok :)
<unshadow> I'm trying to build a client for a remote "telnet" like connection, but it seems that I get some wierd issues that the telnet client wont. The issues are text misspresentation, read errors, as in some text just never shows up etc... this is the code https://github.com/bararchy/aeon-client/blob/master/aeon-client.cr
<unshadow> you can check with the telnet using telnet alteraeon.com 3000
<unshadow> to see the difference
<asterite> There was a bug regarding non-blocking IO and read/write, can you check with the latest std?
<asterite> I'll soon make a release anyway
<strcmp1> hey asterite, if i don't use regular expressions, can i exclude it libpcre? same applies for the other dyn libs, if i dont use the feature provided, can i avoid linking them?
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vICuq
<crystal-gh> crystal/master 82a1d87 Ary Borenszweig: Hide some things from the docs
<crystal-gh> crystal/master bf72b07 Ary Borenszweig: Updated Changelog
<asterite> strcmp1: Yes, but I think Regex is used somewhere in core, because a simple puts program links it
<asterite> have to find where...
<strcmp1> how would i do that?
<asterite> Do what?
<strcmp1> avoiding linking libpcre, im fine if it just blows up - mostly curious how it is done.
flaviu has quit [Ping timeout: 276 seconds]
premysl has left #crystal-lang ["WeeChat 1.0.1"]
<asterite> If you don't use LibPCRE functions, the compiler doesn't link it
Mercurial_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<asterite> it's automatic
<strcmp1> ah nice
<strcmp1> i thought it was hardcoded, so that is cool.
bcardiff has quit [Quit: Leaving.]
<asterite> Oh, there's this line: LibPCRE.pcre_malloc = ->GC.malloc(UInt32)
<asterite> so that means it's always invoked for all programs
<asterite> but you could remove it... somehow
<jhass> lib LibFoo; macro init; ...; end; end; could be a neat idea
<jhass> added to the toplevel when any call is detected
<asterite> I like it
<vikaton> hey asterite
flaviu has joined #crystal-lang
<travis-ci> manastech/crystal#2424 (master - bf72b07 : Ary Borenszweig): The build passed.
Mercurial_ has joined #crystal-lang
<asterite> vikaton o/
ponga has joined #crystal-lang
bombless has quit [Ping timeout: 255 seconds]
<unshadow> asterite: It seems that the issue is still there even on HEAD
<vikaton> asterite: will C FFI with custom header files become a feature soon?
<BlaXpirit> vikaton, what is custom header files?
<vikaton> like importing a C function from windows.h for example
<asterite> unshadow: `connection.read_nonblock(4096)` -> don't use that
<asterite> I think we'll eventually remove that method
<asterite> use connection.read(4096)
<unshadow> is sock.read non_blocking ?
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<asterite> Yes
<asterite> IO is non-blocking by default since a couple of versions
<asterite> so that read_nonblock probably stopped making sense
<asterite> (but I'm not sure)
<unshadow> it seems it's "kinda" non blocking, using read_nonblock has a smaller timeout on the read or something ? read waits
<asterite> read_nonblock sets the LibC::O_NONBLOCK flag, but Socket sets that too by default, so it's kind of redundant
<asterite> maybe it should work anyway... mmm... does your code work with plain read?
<unshadow> Using plain read makes it terrible slower, espically when lowering the bytes to like 512, maybe its because of spawn ? the non_block runs much better, thats why I ask
<asterite> Well, read allocates a new String... maybe you can read to a static array
<asterite> But I'm not sure what your program does
<asterite> But non_block gives you incorrect results, so it doesn't matter it's faster. Maybe it's faster because it doesn't do what it's supposed to do :)
<unshadow> asterite: it buffers live data from a server in a loop and prints it while data keeps coming
<unshadow> at lest the read part
<asterite> and what's the data?
<unshadow> Strings
rpitt has joined #crystal-lang
datanoise has joined #crystal-lang
<unshadow> you can just take the autoreader method, and pass it connection = TCPSocket.new("alteraeon.com", 3000)
<unshadow> change read to read_nonblock and you would see what I'm talking about
<asterite> but you print by chunks of random lengths like 512?
<asterite> it's ascii data?
<unshadow> Yeha
<unshadow> The server sends the data parsed, so the print should just print it as is,
<asterite> I'll try your code
<unshadow> Cool
<asterite> jhass: what do you think if we change the primes sample from the homepage to use one similar to this? http://crystal-lang.org/docs/overview/http_server.html
<asterite> The primes sample is long and maybe hard to follow...
<jhass> yeah
<jhass> I'd say so far we got about 60% people who want CLI tooling, 30% that want web stuff and 10% that want GUI stuff from crystal
<jhass> roughly
<jhass> maybe 50/40
<jhass> so I agree that we should change the sample, but I'm not sure which one to pick either :/
<jhass> how many people are subscribed to the mailing list? might make a contest there or on reddit
<BlaXpirit> on reddit where
<BlaXpirit> i actually once tried to find crystal subreddit and thought it didn't exist
<BlaXpirit> maybe i didn't search well
<asterite> For now I changed it to the HTTP server... there are like 4 or 5 web frameworks projects for crystal, so people clearly want that :)
<asterite> Well, 0.7.3 is out. Hope it works in linux :-)
<jhass> 32 bit binary is pushed, building package atm ;)
<jhass> btw I support that request of shipping -fPIC compatible libraries in the official packages ;P
<asterite> I know nothing about that :(
<BlaXpirit> well, i posted a link to crsfml there. better late than never. thumbnail is ridiculous though
<asterite> unshadow: not sure how that alter aeon server is to be used, maybe you should read by lines with gets... but I'll read about it later, gotta go now
<jhass> asterite: should be a matter of adding -fPIC to your CFLAGS in the thing you use to build everything
<unshadow> asterite: You can see very easily using telnet to the same server port that those issues are not happening when using telnet
<unshadow> not sure why though
asterite has quit [Ping timeout: 246 seconds]
datanoise has quit [Ping timeout: 256 seconds]
<Mercurial_> Hi, is there a package manager for crystal yet?
Ven has joined #crystal-lang
<jhass> Mercurial_: there's something basic inbuilt, crystal deps
Ven has quit [Client Quit]
<jhass> currently it just clones git repos listed in Projectfile and symlinks local directories into the right location
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
sandelius has joined #crystal-lang
<Mercurial_> ok, thanks
<Mercurial_> Hey I'm new to Crystal and I'm still a new programmer but I would like to help with Crystal
<Mercurial_> is there any way I could?
Ven has joined #crystal-lang
<jhass> sure, it's an open source project, entirely written in itself and I'm sure you'll run into a hole in the stdlib sooner or later (more sooner at this stage :P)
<jhass> given the open class system, I tend to just monkey patch the holes in stdlib in my projects and then look at what would be good to contribute, add specs and open a pull request
Ven has quit [Read error: Connection reset by peer]
rpitt has quit [Ping timeout: 250 seconds]
<Mercurial_> I'm having a bit of trouble just making sense of the code
<Mercurial_> But I'll be sure to contribute if I find anything
<Mercurial_> what kind of projects have you been building?
<jhass> most recently I built http://carc.in ;)
<jhass> DeBot here is written in crystal
<jhass> and https://github.com/jhass/github_desktop_notifications and enough of a gobject-introspection binding to generate a libnotify binding for it
<jhass> anyway, if you need any crystal code explained anywhere, just ask ;)
<crystal-gh> [crystal] mrjbq7 opened pull request #751: adding the sieve of eratosthenes example. (master...sieve) http://git.io/vICFS
<flaviu> Mercurial_: If you're looking for an idea, implementing http://apidock.com/rails/v3.2.8/Array/in_groups would be useful :)
<jhass> bah, apidock
<jhass> still hate it
<Mercurial_> thanks guys
<asbradbury> 3 minutes for a release compiler build, 22.5seconds for a non-release. Not too bad. Does --release only differ in the LLVM passes invoked?
<flaviu> yep, it also means that the codegen isn't paralleled.
<asbradbury> ah right, as you'd expect slightly less performance out of the generated binary from parallel codegen. It would be interesting to see how big an effect it has, and whether there is a middle ground
datanoise has joined #crystal-lang
mdz_ has quit [Remote host closed the connection]
<Mercurial_> does anyone know of a text editor with Crystal syntax highlighting?
<Mercurial_> I must have missed that, thank you
datanoise has quit [Ping timeout: 265 seconds]
<BlaXpirit> Mercurial_, ruby highlighting works ok
<jeromegn> macros are weird though
<jeromegn> looks better in the crystal highlighter
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdz_ has joined #crystal-lang
mdz_ has quit [Ping timeout: 276 seconds]
bhishma has quit [Quit: ChatZilla 0.9.91.1 [Iceweasel 38.0.1/20150526223604]]
sandelius has joined #crystal-lang
datanoise has joined #crystal-lang
ponga has quit [Quit: Leaving...]
<Mercurial_> in crystal is there any way to check somethings type?
<Mercurial_> like integer or string?
mdz_ has joined #crystal-lang
<jhass> >> 1.is_a? Int
<DeBot> jhass: # => true - http://carc.in/#/r/29a
<jhass> >> 1.class
<DeBot> jhass: # => Int32 - http://carc.in/#/r/29b
<Mercurial_> thank you again jhass
<Mercurial_> sorry for being such a noob lol, but I have another question
<Mercurial_> I think I was able to implement a function correctly, but I got this error "ld: library not found for -lgmp
<Mercurial_> clang: error: linker command failed with exit code 1"
<Mercurial_> what does it mean?
Mercurial_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
bcardiff has joined #crystal-lang
Mercurial_ has joined #crystal-lang
datanoise has quit [Ping timeout: 264 seconds]
<Mercurial_> hey, could anyone help me? sorry if im being a bother
<jhass> Mercurial_: you aren't, you just need some patience on IRC ;)
<jhass> that error means you're missing libgmp
<jhass> the package is usually called libgmp-dev or gmp
<Mercurial_> where would I get it/ look for it?
<jhass> your package manager
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Mercurial_> does this mean I'm using something iny my function that crystal doesn't support
<Mercurial_> if I need another library?
<jhass> no, it just means you don't have the library that crystal needs for your code installed
<asbradbury> why is the syntax for type restriction on a instance variable ::, but just a single : for an argument? Does this resolve some ambiguity I'm not seeing?
<jhass> it's a semantic difference, :: is a declaration, : is a restriction
<jhass> >> foo :: Int32
<DeBot> jhass: # => -1078004780 - http://carc.in/#/r/29r
<jhass> see I can do it for locals too, declared it but never initialized it
<asbradbury> jhass: that makes sense, thanks. Has there been any discussion of unifying the two? Or rather is there an advantage to differentiating between the two cases
<jhass> none I'm seeing but I'd say they're really different things so having different syntax for them is actually a good thing
<Mercurial_> whats the crystal equivalent of slice (from ruby)?
<jhass> isn't slice defined on multiple core classes?
<jhass> (in ruby)
<Mercurial_> what do you mean?
<Mercurial_> oh nvm I understand
<jhass> best show a ruby snippet and ask for the equivalent ;)
<Mercurial_> well for the function I'm working on, I would need to slice an array
<jhass> slice how?
<Mercurial_> the in_groups function (http://apidock.com/rails/v3.2.8/Array/in_groups) slices an array until multiple ones
<jhass> >> [1, 2, 3, 4, 5, 6].each_slice(3).to_a
<DeBot> jhass: # => [[1, 2, 3], [4, 5, 6]] - http://carc.in/#/r/29z
<jhass> look at how that one is implemented ;)
<jhass> that said
<jhass> >> [1, 2, 3, 4, 5, 6][3, 4]
<DeBot> jhass: # => [4, 5, 6] - http://carc.in/#/r/2a3
<jhass> >> [1, 2, 3, 4, 5, 6][3..4]
<DeBot> jhass: # => [4, 5] - http://carc.in/#/r/2a4
<Mercurial_> this is how rails does it number.times do |index|
<Mercurial_> length = division + (modulo > 0 && modulo > index ? 1 : 0)
<Mercurial_> last_group = slice(start, length)
<Mercurial_> groups << last_group
<Mercurial_> last_group << fill_with if fill_with != false &&
Mercurial_ has quit [Excess Flood]
<Mercurial_> modulo > 0 && length == division
Mercurial_ has joined #crystal-lang
<Mercurial_> sorry, but I don't understand what the last two are doing
<jhass> see the topic, you got kicked due to flood
<Mercurial_> I still don't understand the last two things you did :(
<jhass> first is from index 3 take up to four elements, second is take all elements from index 3 to index 4
<jhass> same in ruby
<Mercurial_> how would this implementation work with in_group though?
<Mercurial_> considering it splits it if there are any left over?
<jhass> idk, that's for you to figure out?
<jhass> Array#slice and Array#[] are the same in Ruby iirc
<jhass> Crystal just doesn't have the alias
<Mercurial_> ok, thanks
<Mercurial_> and is self declared in crystal functions? or is something else used?
<jhass> no, the self keyword is the same as in Ruby
<Mercurial_> thank you
<Mercurial_> sorry for all these dumb questions
<jhass> no worries
<crystal-gh> [crystal] PragTob opened pull request #752: Basic documentation for crystal's spec standard library (master...spec-basic-docs) http://git.io/vIWg8
datanoise has joined #crystal-lang
<crystal-gh> [crystal] PragTob opened pull request #753: Remove superfluous spec (master...remove-superfluous-spec) http://git.io/vIWgP
BlaXpirit has quit [Quit: Quit Konversation]
<crystal-gh> [crystal] PragTob opened pull request #754: "as" isn't used for comparisons like this (master...context-spec-grammar-fix) http://git.io/vIWaG
asterite has joined #crystal-lang
<asterite> asbradbury: there's a reason why we used :: for type declaration
<asterite> it's to avoid ambiguity. You have a ? b : c
<asterite> is that "a ? (b : c) ..." or "a ? (b) : (c)"
<asterite> with :: there's no problem
NeverDie has joined #crystal-lang
bcardiff has quit [Quit: Leaving.]
asterite has quit [Quit: Page closed]