crystal i, the upcoming feature that will add REPL and debugger to crystal. crystal-lang/crystal#10910
By the way, before this PR you could also use debugger and lldb or gdb would stop at that point, if compiled with -d (otherwise it seems the program just crashes, maybe we should just ignore debugger in that case: something to improve outside of this PR)
Sounds like that wont be supported for the moment
extendis mixing in instance or class methods?
Foo.new.is_a? MyModule # => true, but if you extend the module it affects the type of
Foo.classnot the actual instance type
src/myproject/, and in a
src/myproject.crI basically just do
require "./src/myproject/*. Now I would like to add a "common.cr" file with common functionality between all the structs, implementing mostly class methods, and also available to users of the library. I can't seem to figure out how to get that to work.
nearly_equal?(x, y, rel_tol, abs_tol)method I wrote yesterday. This would be used in the implementation of several of each of the structs' instance methods.
AlwaysInlineannotation was implied, or a way to opt in/out
undefined macro method 'Path#instance_vars'confused me way longer than i wanna admit... it refers to