<FromGitter>
<Blacksmoke16> is still a WIP, but basically this allows you to change the arguments of a controller via event listeners before it gets executed
<FromGitter>
<Blacksmoke16> as you can do like `action.set_params ["foo", 19, false]` and still gives compile time safety if you try to pass the wrong types
<FromGitter>
<Blacksmoke16> which brings me to a question, can you not use splat generics in a `Proc` type declaration?
<dom96>
Would be nice to see some language diversity in the FOSDEM devroom for Emerging Languages, if anyone here is interested in doing a talk on Crystal that would be awesome, it's your last chance to submit a talk: https://forum.nim-lang.org/t/5577 :)
<FromGitter>
<tenebrousedge> what sort of a talk on Crystal?
<FromGitter>
<didactic-drunk> Is there a way to do a `responds_to` check inside a class definition?
<FromGitter>
<tenebrousedge> with a macro you can use `TypeNode#has_method?`
<FromGitter>
<didactic-drunk> What is `TypeNode` for the current class inside `class Foo`?
<FromGitter>
<cserb> Can someone tell me what I'm missing? I have a crystal lib which by now has multiple versions. One version is `0.1.0-alpha` in shard.yml and the git tag is `v0.1.0-alpha`. But requesting it as a dependency with `~> 0.1.0-alpha` is not working. Any idea why?
<FromGitter>
<Blacksmoke16> it would be `{{@type}}`
<FromGitter>
<Blacksmoke16> does it work i you remove the `~>`?
<FromGitter>
<Blacksmoke16> i had this issue the other day
<FromGitter>
<Blacksmoke16> try like `rm -rf ~/.cache/crystal ~/.cache/shards`
<FromGitter>
<Blacksmoke16> i also blew away .lock and the lib folder and that seemed to do it :shrug:
<hightower4>
interesting
<FromGitter>
<cserb> not really working for me. Maybe I'm doing something wrong in terms of versioning? The string in shard.yml doesn't have the `v` prefix...
<FromGitter>
<Blacksmoke16> Should be fine
<FromGitter>
<Blacksmoke16> What’s your shards version ?
<tleydxdy>
I used --link-flags "-lxml2 -lz -llzma"
<FromGitter>
<straight-shoota> oops
<FromGitter>
<straight-shoota> Seems you broke the compiler
<FromGitter>
<straight-shoota> Just a wild guess, but try removing `-Dmusl`. Passing that flag manually might have unexpected results. It shouldn't break the compiler though, so not sure what's going on
<FromGitter>
<straight-shoota> Can you share the dockerfile?
<tleydxdy>
upon running build again, it finished!
<tleydxdy>
lemme try again
<tleydxdy>
ye, building again also worked
<tleydxdy>
perhaps it's just a fluke, will report back if it happens again
<FromGitter>
<lbarasti> @straight-shoota, thanks for the review. We've now got two approval, green CI and no conflict: https://github.com/crystal-lang/crystal/pull/8356, are you OK with merging when you have a sec?
<hightower4>
Is there a cmdline tool for installation of shards/programs? Like if I wanted to install program 'icr' or 'cry' to the system, is there some install-like command I can run and that's it?
<FromGitter>
<Blacksmoke16> not built in
<hightower4>
yes, yes, 3rd party is fine
<FromGitter>
<Daniel-Worrall> hmm, can I use shards in crystal play?
<FromGitter>
<Blacksmoke16> i doubt it
<FromGitter>
<tenebrousedge> you can do `crystal play [file]`