The Crystal programming language | http://crystal-lang.org | Fund Crystal's development: http://is.gd/X7PRtI | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/
T::U
struct Foo; end struct Foo::Bar; end module A(T) abstract def bar : T::Bar end class B include A(Foo) def bar : Foo::Bar Foo::Bar.new end end
include A(Foo::Bar)
T
Foo::Bar
include A(Foo, Foo::Bar)
http/server.cr
close
close timeout: 0
timeout: 80