pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 250 seconds]
pawnbox 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]
BlaXpirit has joined #crystal-lang
trapped has joined #crystal-lang
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
bam has joined #crystal-lang
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
elia has joined #crystal-lang
sardaukar has joined #crystal-lang
trajing has joined #crystal-lang
bam is now known as alsm
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
CraigBuchek has joined #crystal-lang
CraigBuchek has quit [Ping timeout: 244 seconds]
<alsm>
So require, it add a file to the current scope and it's file level based? So if I write a library blah which has blah.cr but I want to break up the contents of that library into smaller parts, blah-a.cr and blah-b.cr. blah.cr would require blah-a and blah-b, and something else could just require blah and it'd all work?
leafybas_ has joined #crystal-lang
leafybas_ has quit [Remote host closed the connection]
leafybas_ has joined #crystal-lang
nakilon has joined #crystal-lang
<BlaXpirit>
alsm, it would work but not exactly how you think
<alsm>
Something else, I've defined a struct that inherits from another struct, when I build it's complaining that the inheriting struct "is not a struct, it's a generic class", is there some problem with structs inheriting?
<alsm>
name collision, doh
test has joined #crystal-lang
<test>
hi all
test is now known as Guest60223
Guest60223 has quit [Client Quit]
Seraum has joined #crystal-lang
<Seraum>
hi
<xdougx>
hi
<Seraum>
I like Crystal project, and I want to move a nodeJS/JX project to Crystal
<xdougx>
jhass: there's a way to force a type cast, im using `as` to cast my json but it keeps retuning (Nil | String | Int64 | Float64 | Bool | Hash(String, JSON::Type) | Array(JSON::Type))
<jhass>
xdougx: I have to guess without any context
<jhass>
xdougx: only local variables reduce, instance variables don't
<xdougx>
jhass: was needed to change method signature to def sheet(path) : Type to has no problemans
<alsm>
json parsing accepts extra fields than defined for a struct, is there anyway to set it to ignore missing fields rather than throwing an exception?
<alsm>
by which I mean I've defined a field, but that field may not exist in the json I'm parsing
<jhass>
alsm: foo: {type: Foo, nilable: true}
<alsm>
ahh, I misunderstood what nilable meant, thanks.
NeverDie has quit [Max SendQ exceeded]
badeball_ has joined #crystal-lang
rvchangue_ has joined #crystal-lang
NeverDie has joined #crystal-lang
Keziolio_ has joined #crystal-lang
NeverDie has quit [Max SendQ exceeded]
elia has quit [Quit: (IRC Client: textualapp.com)]
NeverDie has joined #crystal-lang
danzilio_ has joined #crystal-lang
A124 has quit [*.net *.split]
danzilio has quit [*.net *.split]
_jungh4ns has quit [*.net *.split]
Keziolio has quit [*.net *.split]
badeball has quit [*.net *.split]
rvchangue has quit [*.net *.split]
rvchangue_ is now known as rvchangue
Keziolio_ is now known as Keziolio
danzilio_ is now known as danzilio
_junghans_ has joined #crystal-lang
BlaXpirit has quit [Remote host closed the connection]
Raimondi has quit [Quit: The road to wisdom?—Well, it's plain and simple to express: Err and err and err again, but less and less and less. — Piet Hein]
Raimondi has joined #crystal-lang
irclogger_______ has quit [Ping timeout: 272 seconds]
irclogger_______ has joined #crystal-lang
Raimondi has quit [Read error: No route to host]
cyjimmy264_ has joined #crystal-lang
cyjimmy264 has quit [Ping timeout: 265 seconds]
CraigBuchek has quit [Ping timeout: 244 seconds]
cyjimmy264_ has quit [Ping timeout: 255 seconds]
fowlduck has quit [Read error: Connection reset by peer]
fowlduck has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
NeverDie has joined #crystal-lang
me has joined #crystal-lang
me is now known as Guest24560
BlaXpirit|m has joined #crystal-lang
shama has quit [Ping timeout: 240 seconds]
<crystal-gh>
[crystal] davydovanton opened pull request #1872: Fix typo in raise message in OpenSSL::create_evp_mt_ctx (master...doc-openssl-typo) http://git.io/v8kZn
shama has joined #crystal-lang
BlaXpirit|m has quit [Quit: AndChat]
<crystal-gh>
[crystal] asterite pushed 2 new commits to master: http://git.io/v8k4s